一键导入
sync-official-flutter-ai-rules
Synchronize official Flutter AI rules profiles and set the active profile used by this pack.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Synchronize official Flutter AI rules profiles and set the active profile used by this pack.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build and refactor Flutter features with layered architecture, robust state management, Dart analysis tooling, and optional Figma-driven UI implementation.
Systematically diagnose Flutter failures from logs to root cause across Dart, package graph, Android, and iOS.
Prepare Flutter applications for Android and iOS production publication using official Flutter, Android, and Apple release guidance.
Prepare a deterministic Flutter development environment with SDK/tooling verification and baseline validation commands.
Safely upgrade Flutter SDK, Dart/Flutter packages, and Apple-platform native dependencies with deterministic checks and rollback options.
Write and extend Dart/Flutter unit (bloc/cubit), widget, integration, and E2E tests using the repository's existing test stack and project templates. Use when asked to write, add, update, fix, or refactor Flutter tests or test setup.
| name | sync-official-flutter-ai-rules |
| description | Synchronize official Flutter AI rules profiles and set the active profile used by this pack. |
Use this workflow to keep repository guidance aligned with upstream Flutter AI rules.
10k: full guidance, best for larger context windows.4k: balanced default profile.1k: minimal profile for constrained contexts.../../scripts/sync_official_flutter_ai_rules.sh <10k|4k|1k>../../rules/official/flutter-ai-rules-10k.mdc../../rules/official/flutter-ai-rules-4k.mdc../../rules/official/flutter-ai-rules-1k.mdc../../rules/flutter-official-ai-rules.mdc (active profile copy)../../rules/flutter-policy-priority.mdc.rules/official/.../../rules/flutter-official-ai-rules.mdc aligned with chosen profile.../../rules/flutter-policy-priority.mdc for higher-priority policy and conflict resolution.4k unless there is a clear reason to switch to 10k or 1k.PENDING and include not executed note.https://raw.githubusercontent.com/flutter/flutter/main/docs/rules/rules_10k.mdhttps://raw.githubusercontent.com/flutter/flutter/main/docs/rules/rules_4k.mdhttps://raw.githubusercontent.com/flutter/flutter/main/docs/rules/rules_1k.md