/thienqo-flutter-skills:flutter-persistencefrom thienqo-flutter
Designs or reviews Flutter on-device persistence including preferences, files, databases, caching, schema migrations, and offline synchronization. Guides storage selection and ownership modeling.
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.
Choose storage from data shape, query needs, durability, sensitivity, synchronization, and migration requirements.
Before choosing APIs, inspect pubspec.yaml, SDK constraints, the resolved persistence package and version, generated-schema policy, existing storage owners, supported platforms, and tests. Preserve the established package unless a demonstrated requirement exceeds its supported contract.
Define the source of truth, cache freshness, write ordering, conflict behavior, offline mutations, deletion semantics, and recovery from corrupt or incompatible data. Keep storage models behind repositories so schema details do not leak into widgets.
Route HTTP validators and transport caching to flutter-networking, and image, widget, scroll, or memory-cache performance to flutter-performance.
Classify stored state as durable user data, a durable operation, a disposable cache, or reproducible derived data before defining migration and recovery behavior. Version schemas and test every supported upgrade path from real prior-version artifacts. Never destroy durable user data as an automatic response to migration failure; rebuilding a disposable cache is valid only when its ownership and rebuild source are explicit. Avoid storing access tokens, passwords, or sensitive personal data in logs or plain preferences.
Test first run, reopen, upgrade, failed write, concurrent access, corrupted data, deletion, and offline/online transitions relevant to the feature. Use temporary databases or directories for deterministic tests.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
flutter-storage, local-database, caching, offline-sync, schema-migration
npx claudepluginhub thienqo/flutter-skills --plugin thienqo-flutter-skills41 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-accessibilityOther plugins' skills for the same job