definition-of-done
Installation
SKILL.md
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. - Changelog: Ensure
CHANGELOG.mdis updated if the task includes user-facing features, bug fixes, or behavioral changes. - Temporal Words: Ensure that code and code comments contain no relative temporal terms (e.g., 'now', 'currently', 'new', 'old', 'existing behavior').