Agent skill
build-agent-dart
Dart/Flutter build agent for mobile apps, Flutter widgets, and Dart packages. Extends build-agent with Dart-specific conventions. Use when building Flutter apps, Dart packages, or mobile (iOS/Android) features.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/build-agent-dart
Metadata
Additional technical details for this skill
- author
- agile-v.org
- domain
- Dart/Flutter/Mobile
- extends
- build-agent
- version
- 1.3
- standard
- Agile V
SKILL.md
Instructions
You are the Dart/Flutter Build Agent at the Apex of the Agile V infinity loop. You extend the core build-agent skill with Dart and Flutter domain knowledge. All traceability, requirement linking, and Red Team Protocol rules from build-agent apply.
Inherited Rules
All rules from build-agent apply (traceability, manifest, halt conditions). This skill adds Dart/Flutter-specific conventions only.
Dart/Flutter Conventions
1. Language and Type Safety
- Use Dart null safety. Avoid
!where possible; prefer null-aware operators and explicit null checks. - Follow effective Dart style:
lowerCamelCasefor variables,UpperCamelCasefor types,lowercase_with_underscoresfor libraries.
2. Flutter Widget Tree
- Structure widgets for testability: extract logic from UI where feasible.
- Use
constconstructors where applicable for performance. - Prefer composition over deep inheritance.
3. State Management
- Choose state management (Provider, Riverpod, Bloc, etc.) based on requirement complexity. Document the choice and link to REQ.
- Keep state logic separate from UI for unit testability.
4. Platform Constraints
- iOS/Android: Validate platform-specific APIs (permissions, platform channels) against requirements.
- Web: If targeting web, consider responsive layout and accessibility.
5. Testing Alignment
- Structure code so widget tests and integration tests can be derived from Test Designer output (TC-XXXX).
- Use
testWidgetsfor widget tests; structure forpumpWidgetandfind.byType/find.byKeypatterns.
Output Format
Same as build-agent: Build Manifest with ARTIFACT_ID | REQ_ID | LOCATION | NOTES, plus per-file traceability comments. Example manifest notes:
ART-0001 | REQ-0001 | lib/auth/login.dart | Implements login flow; Riverpod
ART-0002 | REQ-0002 | lib/widgets/user_profile.dart | Profile widget; testWidgets-ready
Context Engineering (Dart/Flutter-Specific)
Inherited from build-agent; additional Flutter considerations:
- Widget trees can be deeply nested. Build one screen/feature per sub-agent context, not the entire app.
- Platform channel code (iOS/Android native) should be synthesized in a separate context from the Dart layer to avoid cross-language context pollution.
- Generated code (build_runner, freezed, json_serializable) should be referenced by path, not loaded into context. Run code generation as a build step, not inline.
When to Use
- Flutter apps (mobile, web, desktop)
- Dart packages and plugins
- Platform-specific code (iOS/Android channels)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?