/thienqo-flutter-skills:flutter-state-managementfrom thienqo-flutter
Designs or reviews Flutter state ownership, update flow, and package integration. Covers setState, Listenable, Provider, Riverpod, Bloc, Redux, and custom state patterns.
Ships in thienqo-flutter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Start with ownership and lifetime, then choose mechanics.
Identify which state is ephemeral UI state, feature state, shared application state, cached server data, or persisted data. Determine who creates, mutates, observes, and disposes it.
build methods.ref.watch, context.watch<T>(), BlocBuilder) only inside build or another watch-safe method, and its one-off accessor (ref.read, context.read<T>(), a Bloc's add) inside callbacks and event handlers. Calling the watch-style accessor from a callback throws or misbehaves in most packages.Do not introduce global service locators or package-level singletons as a shortcut for unclear ownership.
Test meaningful transitions, failure recovery, disposal, and repeated events. Inspect rebuild scope for hot paths and run widget tests for state-to-UI behavior.
Architecture-wide dependency direction belongs to flutter-architecture; persistence and remote caching belong to their data specialists.
When disposal behavior or lifecycle leaks are in scope, follow the lifecycle and disposal reference. For async state modeling and error recovery, follow the async state patterns reference.
What SKILL.md sets; muted values are Claude Code's defaults
41 skills in this plugin
/dart-concurrencyDesign and debug Dart asynchronous infrastructure with Future, Stream, isolates, cancellation, and lifecycle-safe ownership. Use for races, stale results, background CPU work, stream leaks, or async error handling; not for routine form-local validation or submission unless its underlying ordering mechanism is the task./dart-languageApply modern Dart language and API patterns in non-concurrency code. Use for types, records, patterns, sealed classes, extensions, constructors, null safety, collections, and package APIs; route async and isolate work to dart-concurrency./flutter-accessibilitynpx claudepluginhub thienqo/flutter-skills --plugin thienqo-flutter-skillsOther plugins' skills for the same job