definition-of-done
Definition of Done
Use this skill to ensure that all work meets the repository standards before declaring a task complete or requesting review.
📋 Mandatory Verification Steps
Before stating that a task is complete, you MUST execute and pass the following checks:
- Formatting: Run
dart format .to format files, ordart format --output=none --set-exit-if-changed .to check without modifying. Ensure all files are formatted correctly. - Analysis: Run
dart analyze --fatal-infosand ensure there are zero issues (including info-level issues). - Metrics/Linter: Run
dart run dart_code_linter:metrics analyze liband ensure there are zero issues. This checks for cyclomatic complexity and custom rules like file naming and redundant async. - Tests: Run
dart testand ensure all tests pass successfully. - Skill Validation: If any skill files were modified, run
dart run dart_skills_lint -d .agents/skillsto ensure they are valid. - Temporal Words: Ensure that code and code comments contain no relative temporal terms (e.g., 'now', 'currently', 'new', 'old', 'existing behavior').
🚦 Completion Checklist
- Code is formatted (
dart format .or checked with--output=none --set-exit-if-changed .). - Analysis is clean (
dart analyze --fatal-infos).
More from flutter/skills
flutter-building-layouts
Builds Flutter layouts using the constraint system and layout widgets. Use when creating or refining the UI structure of a Flutter application.
10.6Kflutter-architecting-apps
Architects a Flutter application using the recommended layered approach (UI, Logic, Data). Use when structuring a new project or refactoring for scalability.
10.4Kflutter-animating-apps
Implements animated effects, transitions, and motion in a Flutter app. Use when adding visual feedback, shared element transitions, or physics-based animations.
9.6Kflutter-managing-state
Manages application and ephemeral state in a Flutter app. Use when sharing data between widgets or handling complex UI state transitions.
9.6Kflutter-theming-apps
Customizes the visual appearance of a Flutter app using the theming system. Use when defining global styles, colors, or typography for an application.
9.5Kflutter-implementing-navigation-and-routing
Handles routing, navigation, and deep linking in a Flutter application. Use when moving between screens or setting up URL-based navigation.
9.3K