用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill flutter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | flutter |
| description | Use when the project uses Flutter/Dart for cross-platform mobile, web, or desktop applications |
| metadata | {"author":"calcosmic"} |
const constructors wherever possible -- enables compile-time optimizations and faster rebuildsStatefulWidget when the widget manages mutable stateWidget composition pattern: container widgets handle state, leaf widgets are purely presentationalwidgets/ or components/ directoryProvider for dependencies, Notifier for stateref.watch in widgets and ref.read in callbacksAsyncValue for loading/error/data state handling: when(loading:, error:, data:)BlocBuilder, BlocListener, BlocConsumer in UIMethodChannel for calling platform-specific APIs from Dart to native (Kotlin/Swift)EventChannel for streaming platform events to Dart: sensor data, connectivity changesMainActivity (Android) and AppDelegate (iOS) with matching channel namesPigeon for type-safe platform channel code generation instead of manual serializationMediaQuery for screen-size-dependent layouts; LayoutBuilder for parent-constrained layoutsFlexible and Expanded within Row/Column for proportional sizingSingleChildScrollView with ConstrainedBox for scrollable forms; avoid unbounded heightsDevicePreview package across screen sizes before physical device testingtestWidgets: pump the widget, find elements, verify behaviormockito or mocktail for mocking dependencies in unit testsmatchesGoldenFile('goldens/widget.png')flutter test --coverage in CI; enforce minimum coverage thresholds for core logicintegration_test/ use IntegrationTestWidgetsFlutterBinding for device testingSource: calcosmic/Aether — distributed by TomeVault.