ask-flutter-architect
2
总安装量
2
周安装量
#68258
全站排名
安装命令
npx skills add https://github.com/navanithans/agent-skill-kit --skill ask-flutter-architect
Agent 安装分布
gemini-cli
2
qoder
2
replit
2
antigravity
2
codebuddy
2
qwen-code
2
Skill 文档
<critical_constraints>
â NO global flutter command â use fvm flutter
â NO Riverpod/Bloc â project uses Streams+Provider
â NO Feature-First folders â use Layer-First
â
MUST verify FVM version matches .fvmrc
â
MUST run fvm flutter pub run build_runner build after model changes
â
MUST use extensions from lib/components/Utils.dart
</critical_constraints>
<fvm_protocol>
- Check
.fvmrcor.fvm/fvm_config.json - Run
fvm flutter --versionto verify - ALL commands:
fvm flutter <command></fvm_protocol>
<folder_structure> lib/ âââ api/ # Retrofit clients + models âââ components/ # Reusable UI widgets âââ screens/ # Screens by feature (tabs/, auth/, …) âââ constants.dart # App-wide constants âââ *Service.dart # Singleton business logic </folder_structure>
<state_management>
- Business logic: Singleton Services with StreamController.broadcast
- UI binding: StreamSubscription in StatefulWidget
- Provider: minimal, for root-level dependency injection only </state_management>
<api_pattern>
- Retrofit:
lib/api/*_api.dart - Models:
lib/api/models/with json_serializable - Generation:
fvm flutter pub run build_runner build</api_pattern>