{ "listing": { "skills": [ { "path": "skills/dart-async/SKILL.md", "name": "dart-async", "description": "Asynchronous Dart with async/await only (never Future.then, catchError, whenComplete, onError) — Future, the event loop and microtasks, Future.wait and record .wait, timeouts, cancellation patterns, Stream (single-subscription vs broadcast), StreamController, async*/yield, StreamSubscription lifecycle, debounce, Completer, and isolates (Isolate.run, compute, long-lived isolates) for CPU-heavy work. Use when writing or reviewing async code, fixing unawaited futures, leaking subscriptions, 'setState() called after dispose()', or UI freezes from heavy computation.", "files": { "skills/dart-async/SKILL.md": "9d7071fdf399725185c0f360231a10ea25feca57e4a5ad2a3b6e71257eee19c0" } }, { "path": "skills/dart-code-style/SKILL.md", "name": "dart-code-style", "description": "Dart code style and naming conventions from Effective Dart — dart format (tall style), lowerCamelCase/UpperCamelCase/snake_case rules, file and library naming, imports ordering, simplicity (no top-level helper functions, no extensions on own types, no speculative abstraction — helpers are private methods on the owning class), double-quoted strings only, dot shorthands for enums and static members (.center, .all(8), .fromSeed), no var (final, const, or an explicit type for mutable variables), type annotations, doc comments (///), private members, getters, cascades, collection literals, and control flow with switch expressions, if-case, and guard clauses instead of if/else chains. Use when writing or reviewing Dart/Flutter code, naming things, or settling style questions. Analyzer configuration lives in dart-lint.", "files": { "skills/dart-code-style/SKILL.md": "13937b7fd1612f95c6ba3acf70a36e1af776e77b12b915c302ed8e671beca134" } }, { "path": "skills/dart-dependency-management/SKILL.md", "name": "dart-dependency-management", "description": "Dart and Flutter package management with pub — pubspec.yaml dependencies vs dev_dependencies, caret version constraints, pubspec.lock (commit for apps, not for packages), dart pub add/get/upgrade/outdated/deps, --major-versions upgrades, resolving version solving failures, dependency_overrides (and why to avoid them), git and path dependencies, pub workspaces, evaluating packages on pub.dev (likes, pub points, verified publisher, maintenance), SDK constraints, and Dependabot/Renovate for pub. Use when adding, upgrading, or removing packages, fixing 'version solving failed', or choosing a package.", "files": { "skills/dart-dependency-management/SKILL.md": "45681aa157384f6a7ebbf80f0a6041f1d7105152b68e6c8569e30cb830b159f5" } }, { "path": "skills/dart-error-handling/SKILL.md", "name": "dart-error-handling", "description": "Result-based error handling for Dart and Flutter — a sealed Result (Ok / Err) with Result.guard(future) that never throws, a sealed AppFailure hierarchy mapped from DioException, TimeoutException, FormatException, PlatformException, and unknown errors, pattern matching on results with switch, freezed Ok/Err and failure classes, repositories returning Future> (multi-step work in one guarded private method), providers unwrapping with switch and throwing the failure for AsyncError, a shared ErrorView, no try/catch outside Result.guard, user-facing messages via an exhaustive userMessage getter on AppFailure, global handlers (FlutterError.onError, PlatformDispatcher.instance.onError) for genuine bugs, and crash reporting. Use when designing failure handling, writing repositories, handling API or platform errors, or reviewing try/catch and throw usage.", "files": { "skills/dart-error-handling/SKILL.md": "c5714b5c41b60de77ef5a8043f2e224e90766946670eaa8e0a4f919f18ec6023" } }, { "path": "skills/dart-json-serialization/SKILL.md", "name": "dart-json-serialization", "description": "JSON models and data classes in Dart 3.13+ with primary constructors — API models with a default on every field, API enums with @JsonValue and an unknown fallback, record typedefs for UI shapes, freezed 4 + json_serializable models declared as `class const Name({required final T field}) with _$Name`, concise `factory fromJson` and explicit toJson, @JsonSerializable/@JsonKey on header parameters, Dart default values instead of @Default, IList/ISet/IMap from fast_immutable_collections for immutable collections, sealed unions as a sealed base with primary-constructor subclasses and a switch-based fromJson discriminator, freezed state classes without JSON, enums with unknown fallbacks, build_runner, one model per entity (no DTO/domain split by default), dates, numbers, null vs missing, and parsing large payloads in isolates. Use when writing or reviewing models, DTOs, freezed classes, or serialization code.", "files": { "skills/dart-json-serialization/SKILL.md": "5b74f6bee2d65020762aa2f01426f72af2e1e8894d1bda5dffd3d29313c24acd" } }, { "path": "skills/dart-lint/SKILL.md", "name": "dart-lint", "description": "Dart analyzer and linting — analysis_options.yaml structure, choosing a rule set (package:lints core/recommended, flutter_lints, very_good_analysis), enabling extra rules, strict-casts/strict-inference/strict-raw-types, treating warnings as errors in CI, excluding generated code, ignore comments (// ignore:, // ignore_for_file:) and when they're acceptable, dart fix, custom lint plugins (riverpod_lint, analyzer plugins), and formatter page width. Use when configuring analysis_options.yaml, interpreting analyzer output, deciding which lints to enable, or suppressing a warning.", "files": { "skills/dart-lint/SKILL.md": "f28b8224914ac18ffada511f8b63e229aa0b3edd6acf4b98ccbe28a9dfd5d9e7" } }, { "path": "skills/dart-modernize/SKILL.md", "name": "dart-modernize", "description": "Modern Dart 3.x features and upgrading legacy code — records, destructuring, pattern matching, switch expressions, if-case, sealed classes with exhaustive switches, class modifiers (final, base, interface, sealed, mixin class), extension types, wildcard variables (_), null-aware elements, dot shorthands, digit separators, the tall formatter, and Flutter API migrations (withValues, WidgetStateProperty, PopScope, dart fix). Use when writing new Dart, reviewing old-style code, raising the SDK constraint, or fixing deprecation warnings.", "files": { "skills/dart-modernize/SKILL.md": "65da4f4c18f64b54f45e9b034541237a9e5ce3cdf46ffd5338af69383b0894b2" } }, { "path": "skills/dart-networking/SKILL.md", "name": "dart-networking", "description": "HTTP networking in Dart and Flutter — dio with Retrofit-generated API clients (@RestApi, @GET/@POST, @Path/@Query/@Body, retrofit_generator) in each feature's api/ folder, token-based authentication through a Dio QueuedInterceptor (attach, single-flight refresh on 401 via a separate plain Dio, public endpoints via @Extra, secure token storage, session expiry), a single configured Dio, base URLs and timeouts, interceptors for auth tokens, refresh-token flows with request queuing, retries with backoff, cancellation (CancelToken), repositories returning Result via Result.guard, mapping DioException/HTTP status codes to AppFailure, pagination, file upload/download with progress, WebSockets, caching, offline handling, TLS and certificate pinning, and mocking HTTP in tests. Use when building an API client, adding auth headers, handling network errors, or reviewing data-layer code.", "files": { "skills/dart-networking/SKILL.md": "1c7e99b943e6d26b6538acdab27b7e16c6f1ae490bfd1e24a10daab449e14d37" } }, { "path": "skills/dart-null-safety/SKILL.md", "name": "dart-null-safety", "description": "Sound null safety in Dart — nullable vs non-nullable types, flow analysis and type promotion, why fields don't promote (and the private-final exception), the ! operator, late and late final, ??, ??=, ?., ?.., null-aware elements (?item in collections), required named parameters, and fixing 'Null check operator used on a null value' or 'can't be promoted' errors. Use when designing nullable APIs, reviewing ! or late usage, or fixing null-related analyzer or runtime errors.", "files": { "skills/dart-null-safety/SKILL.md": "ea57de14a5f24a95ebd21775a37e1d94c9b3013ec316766b4487a4c93d5095e8" } }, { "path": "skills/flutter-accessibility/SKILL.md", "name": "flutter-accessibility", "description": "Flutter accessibility (a11y) — Semantics widget and properties (label, button, header, liveRegion, excludeSemantics, MergeSemantics), labels for icons and images, TalkBack/VoiceOver testing, focus order and keyboard navigation (FocusTraversalGroup, Shortcuts/Actions), minimum tap targets (48x48), color contrast (WCAG 4.5:1), text scaling with TextScaler, reduced motion, and automated checks with meetsGuideline in widget tests. Use when building or reviewing UI for accessibility, fixing screen-reader issues, or adding a11y tests.", "files": { "skills/flutter-accessibility/SKILL.md": "8857a642d0b465a29eec28ab2bc0f52bbaaeb33190e850e134ea81e1eb2cb22d" } }, { "path": "skills/flutter-bloc/SKILL.md", "name": "flutter-bloc", "description": "Bloc and Cubit state management with flutter_bloc — Cubit vs Bloc, events and states as sealed classes, emit and on handlers, event transformers (droppable, restartable, sequential, debounce via bloc_concurrency), BlocProvider/MultiBlocProvider, RepositoryProvider, BlocBuilder with buildWhen, BlocSelector, BlocListener and BlocConsumer for side effects, context.read/watch/select, BlocObserver, hydrated_bloc, and testing with bloc_test (blocTest, MockBloc). Use when the project imports bloc or flutter_bloc, or when writing, reviewing, or testing Blocs/Cubits.", "files": { "skills/flutter-bloc/SKILL.md": "c1f52f5224bef1e50295b14b1f9e212a874d0d5e43c47a6e601b1aec31e48970" } }, { "path": "skills/flutter-ci/SKILL.md", "name": "flutter-ci", "description": "CI/CD for Flutter and Dart — GitHub Actions workflows with subosito/flutter-action (pinned Flutter version, caching), quality gates (format, analyze, test, coverage), build_runner in CI, building Android APK/AAB and iOS IPA, code signing (Android keystore via secrets, iOS certificates/profiles with fastlane match), flavors and --dart-define-from-file, --obfuscate/--split-debug-info, versioning (build-name/build-number), store delivery via fastlane or Codemagic, Firebase App Distribution, web deploys, and Shorebird code push. Use when setting up or fixing a Flutter pipeline, automating releases, or adding quality gates.", "files": { "skills/flutter-ci/SKILL.md": "45ef48c3cf705baa3eecee15c1e3f0e85d34112c31658f372ef9169670f64ea5" } }, { "path": "skills/flutter-how-to/SKILL.md", "name": "flutter-how-to", "description": "Flutter and Dart skills orchestrator — active on any Flutter or Dart coding, review, debug, or setup task (pubspec.yaml, .dart files, lib/, test/). Reads the task and loads the most relevant cc-skills-flutter skills together: building a screen loads flutter-widgets + flutter-layout + flutter-state-management; fixing jank loads flutter-performance + flutter-troubleshooting; adding an API client loads dart-networking + dart-json-serialization + dart-error-handling. Also resolves overlaps between skills and can add a 'Required Flutter skills' block to a project's CLAUDE.md (/flutter-how-to configure).", "files": { "skills/flutter-how-to/SKILL.md": "0d0b92b3db9c0290ab7ee0fb7ed15b2446c841aa7b3e2d761d7929e50b14f3c8" } }, { "path": "skills/flutter-layout/SKILL.md", "name": "flutter-layout", "description": "Flutter layout and responsive design — the constraints model (constraints go down, sizes go up, parent sets position), Row/Column/Flex with Expanded and Flexible, Stack/Positioned, fixing RenderFlex overflow and 'unbounded height' / 'Vertical viewport was given unbounded height' errors, ListView.builder vs Column in SingleChildScrollView, slivers and CustomScrollView, LayoutBuilder and MediaQuery.sizeOf breakpoints, SafeArea, keyboard insets, adaptive layouts for phone/tablet/desktop/web. Use when building layouts, fixing overflow or sizing errors, or making UI responsive.", "files": { "skills/flutter-layout/SKILL.md": "6ab4310fda15ebeb0892777686503c4e03d98c0d78978c34099e6e6fece8caba" } }, { "path": "skills/flutter-local-storage/SKILL.md", "name": "flutter-local-storage", "description": "Local persistence in Flutter — choosing between shared_preferences (SharedPreferencesAsync / SharedPreferencesWithCache), flutter_secure_storage for secrets and tokens, SQLite via drift or sqflite, NoSQL options (Hive CE, ObjectBox, Isar), files with path_provider, schema migrations, reactive queries with streams, offline-first caching with repositories, encryption, and testing with in-memory databases. Use when saving settings, caching API data, storing auth tokens, adding a local database, or writing migrations.", "files": { "skills/flutter-local-storage/SKILL.md": "f4a9874bbf4476c8e95ff9a00675bd214da5dbd7be3a7903575c9ae79164da6d" } }, { "path": "skills/flutter-navigation/SKILL.md", "name": "flutter-navigation", "description": "Flutter navigation and routing — Navigator 1.0 (push/pop, returning results) vs Router API, go_router setup (GoRoute, path and query parameters, nested routes, ShellRoute and StatefulShellRoute for bottom navigation with preserved stacks), redirects for authentication with refreshListenable, typed routes, deep links and app links (Android intent filters, iOS associated domains), web URL strategy, PopScope for back handling, dialogs and bottom sheets. Use when adding screens, wiring deep links, building tab navigation, or guarding routes behind login.", "files": { "skills/flutter-navigation/SKILL.md": "23887d28fda142f1ef23aa19f36d82ae7a664c51bc76a89d958906c7e94b3dc9" } }, { "path": "skills/flutter-performance/SKILL.md", "name": "flutter-performance", "description": "Flutter performance optimization — measuring in profile mode with DevTools (Performance, CPU profiler, Memory, rebuild counts), frame budget (16ms/8ms), reducing rebuilds (const, narrow selectors, splitting widgets, ValueListenableBuilder), lazy lists, RepaintBoundary, avoiding saveLayer (Opacity, ClipRRect, ShaderMask), image decoding (cacheWidth, precacheImage), shader jank and Impeller, moving work off the UI isolate, startup time, app size (--analyze-size, deferred imports), and memory leaks. Use when the app janks, scrolls poorly, starts slowly, uses too much memory, or when reviewing code for performance.", "files": { "skills/flutter-performance/SKILL.md": "da657d4fe1844c4ddf85ea55bcfe7144871294b6f24c2a1742417ab36968d5db" } }, { "path": "skills/flutter-platform-channels/SKILL.md", "name": "flutter-platform-channels", "description": "Calling native platform code from Flutter — MethodChannel, EventChannel, and BasicMessageChannel, type-safe codegen with Pigeon (HostApi, FlutterApi, async methods), Kotlin and Swift implementations, threading rules (platform main thread, background task queues), PlatformException handling, writing federated plugins (app-facing, platform interface, per-platform implementations), dart:ffi and package:ffigen/jnigen for direct C/Objective-C/Java interop, platform views (AndroidView, UiKitView), and testing with TestDefaultBinaryMessengerBinding mocks. Use when integrating a native SDK, writing a plugin, or debugging MissingPluginException or channel errors.", "files": { "skills/flutter-platform-channels/SKILL.md": "65d054a85cd4a0497cafb4390f2fbcac8251fce69b096d16b59b8c34d8c17277" } }, { "path": "skills/flutter-project-layout/SKILL.md", "name": "flutter-project-layout", "description": "Feature-based Flutter app layout — lib/main.dart, lib/src/app.dart, lib/src/core/ for shared infrastructure (Dio, Result, router + AppShell, theme, env, storage, shared components, formatting), and one folder per feature under lib/src// with api (Retrofit), models, repositories (repository + its provider file), providers, screens, and components; a barrel per feature and for core that exports every file and is the only import path; one central go_router in core; Env with --dart-define-from-file=.env; main.dart with async-created values and the retry policy; test/ mirroring lib/src. Use when starting a Flutter project, adding a feature, deciding where a file belongs, or reviewing imports.", "files": { "skills/flutter-project-layout/SKILL.md": "2363a07f8fa63ef73bd69553d09c88d4f12d19ed05aab344b2cc79d6ea7a5084" } }, { "path": "skills/flutter-riverpod/SKILL.md", "name": "flutter-riverpod", "description": "Riverpod 3 with code generation — provider files per feature (providers/_provider.dart, repositories/_repository_provider.dart), functional Future providers that unwrap repository Results with switch and throw the failure, keepAlive caching, derived providers awaiting other.future, family parameters, parallel fetches with record .wait, live refresh with a Timer and invalidateSelf, selection Notifiers, async-created values injected with overrideWithValue, the retry policy on ProviderScope, AsyncValue consumed with error-first switch patterns (never .when/.maybeWhen/.whenData/.map), refresh indicators with isLoading/hasValue, ref.watch vs read vs listen, and testing with ProviderContainer.test and noRetry. Use when the project imports flutter_riverpod or riverpod, or when writing, reviewing, or testing providers.", "files": { "skills/flutter-riverpod/SKILL.md": "ae9c63c87ee858270e28b62422244f8772c87d7b494fb3a1427d46768dc401c7" } }, { "path": "skills/flutter-state-management/SKILL.md", "name": "flutter-state-management", "description": "State management in Flutter with strict immutability and lifted state — lifting every meaningful value (selection, filters, form drafts, expanded flags, pagination) out of widgets into an owning notifier/bloc/view model scoped to app, feature, or route; deeply immutable state (freezed primary-constructor classes, IList/ISet/IMap from fast_immutable_collections, @immutable); pure state transitions; value equality; sealed loading/data/error states; self-connected components vs rows/sections that take values; narrow subscriptions to avoid rebuild storms; choosing Riverpod, Bloc, or ValueNotifier MVVM. Use when designing state, choosing a library, reviewing state shape, or refactoring setState-heavy screens. For library APIs, load flutter-riverpod or flutter-bloc.", "files": { "skills/flutter-state-management/SKILL.md": "83206468bf3f1d7027f7ec02a77bcecf3c623bde0e8e379d21b9618843b3b2cb" } }, { "path": "skills/flutter-testing/SKILL.md", "name": "flutter-testing", "description": "Testing Flutter apps built on repositories, Result, and Riverpod — hand-written fakes in test/helpers/fakes.dart (FakeXRepository implementing the concrete repository, with Result fields and call counters, plus noRetry), real API responses as JSON fixtures with a fixture() helper and one payload test per endpoint (field spot checks, unknown enum fallbacks, missing-field defaults), repository tests with a recording fake Retrofit API, provider tests with ProviderContainer.test, listen + read(.future), and fake_async for timed refresh, pure model and formatter tests, and a short section on widget, golden, and integration tests. No mocktail. Use when writing or reviewing tests, adding fixtures, or debugging flaky tests.", "files": { "skills/flutter-testing/SKILL.md": "74544a9eaac61d6f7e40f6b3d36dc853591c254276841ef6e9884802a5c6194a" } }, { "path": "skills/flutter-theming/SKILL.md", "name": "flutter-theming", "description": "Project theming with light and dark mode, without reading Material's theme in widgets — lib/src/core/theme/ with AppColors (raw palette named by color), AppColorPairs (one ({Color light, Color dark}) record per role), the AppColorsRef extension on WidgetRef (ref.surface, ref.textSecondary that follow the dark-mode setting), global spacing constants (spaceSM…spaceXXXL), AppTextStyles (title1-3, paragraph1-3, Bold variants, no color), AppTheme.light/dark ThemeData built from the same pairs for Flutter's built-in widgets, and a persisted DarkTheme notifier. Use when setting up a theme, adding colors, text styles, or spacings, adding dark mode, or reviewing widgets for hard-coded styles or Theme.of lookups.", "files": { "skills/flutter-theming/SKILL.md": "c2d1adb7b88d911f13edb1df64a6d8e23c91800ddcf2a22e269fa1244b7f4f23" } }, { "path": "skills/flutter-troubleshooting/SKILL.md", "name": "flutter-troubleshooting", "description": "Systematic debugging for Flutter and Dart — reading error messages and stack traces, flutter doctor, flutter clean, common runtime errors (RenderFlex overflow, setState after dispose, null check operator, unbounded constraints, 'Looking up a deactivated widget's ancestor', 'No Material widget found', Navigator/Scaffold context errors), Gradle/AGP/Kotlin/JDK build failures, CocoaPods and Xcode build failures, hot reload limits, platform-specific bugs, DevTools (Inspector, debugger, logging, network), and release-only crashes (obfuscation, ProGuard/R8, missing permissions). Use when something is broken, crashes, won't build, or behaves differently between debug and release.", "files": { "skills/flutter-troubleshooting/SKILL.md": "180c68ffd4d6f454ca2be0f09cf722219b4889b40d71e7e8412aaf2ca6cef638" } }, { "path": "skills/flutter-widgets/SKILL.md", "name": "flutter-widgets", "description": "Flutter widget design with strict immutability and deterministic builds — screens as Scaffold layout shells, self-connected components that watch one provider, rows and sections that take values and callbacks (ConsumerWidget only for themed colors), state lifted out of widgets, controlled components, pure build methods (no DateTime.now, Random, globals, or I/O), StatefulWidget only for framework-owned objects (TextEditingController, AnimationController, FocusNode, ScrollController) synced from lifted state, extracting widgets instead of helper methods, const constructors, keys, BuildContext rules, state-driven forms and validation, declarative animations. Use when building, splitting, or reviewing widgets, or when removing setState and widget-owned state.", "files": { "skills/flutter-widgets/SKILL.md": "ce75ef6e8383996dbd5244a2f4a93f7cd6a07269be4ccd999659dcb6d69b52a5" } } ], "hooks": [], "executions": [] } }