Ask Flutter Architect
Flutter scaffolding with FVM, Layer-First architecture, Streams+Provider state.
Ask Flutter Architect by NavanithanS · 6ee872f
npx skillmds@latest add navanithans/ask-flutter-architect File contents
---name: ask-flutter-architectdescription: Flutter scaffolding with FVM, Layer-First architecture, Streams+Provider state.---<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>1. Check `.fvmrc` or `.fvm/fvm_config.json`2. Run `fvm flutter --version` to verify3. 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><navigation>- Navigator 1.0 with onGenerateRoute in main.dart- Tabs via BottomTabNavigation wrapper- Context-free: use `navKey.currentState?.pushNamed(...)`</navigation><extensions>price.currency → "RM 100.00"date.shortDate, date.longDate, date.timeagostr.capitalize</extensions>
NavanithanS/Agent-Skill-Kit/tree/main/skills/coding/ask-flutter-architect commit 6ee872f1d7
Frequently asked questions
Run npx skillmds@latest add navanithans/ask-flutter-architect in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Flutter scaffolding with FVM, Layer-First architecture, Streams+Provider state. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
NavanithanS (@navanithans) published this skill. Their other Agent Skills are listed on their SkillMD profile.