Agent skill
definition-of-done
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/definition-of-done
SKILL.md
Definition of Done
Description: Validate completed work against issue requirements and acceptance criteria. Use when finishing work on an issue to ensure all requirements are met.
When to Use This Skill
- After implementing a feature or fix
- Before creating a pull request
- When validating work against issue acceptance criteria
- To ensure nothing was missed from the original requirements
Quick Reference
Validation Checklist
- All issue requirements implemented
- Acceptance criteria met
- Tests cover new functionality (≥90% coverage)
- Linting passes with zero errors
- Documentation updated if needed
- CHANGELOG.md updated
- No hardcoded values or credentials
Resource Guides
📖 Issue Validation Guide
Comprehensive guide for validating work against issue requirements and acceptance criteria.
Use when: Checking if all issue requirements have been met.
📖 Common Gaps
Common things developers forget when completing issues.
Use when: Performing final validation before marking work complete.
Key Principles
- Requirement Traceability: Every requirement in the issue should be addressed
- Acceptance Criteria: All acceptance criteria must be met
- Test Coverage: New code must be tested (≥90% coverage)
- Quality Gates: All automated checks must pass
- Documentation: User-facing changes documented appropriately
Validation Process
- Fetch Issue Details: Get full issue description and requirements
- Map Requirements: Identify each requirement and acceptance criterion
- Verify Implementation: Check that each requirement has been implemented
- Check Test Coverage: Ensure tests exist for new functionality
- Validate Quality: Confirm linting and tests pass
- Review Documentation: Ensure docs/CHANGELOG updated if needed
- Report Status: Provide clear summary of what's complete and any gaps
Output Format
Provide validation results in this format:
## Definition of Done Validation
### Issue: #{number} - {title}
#### Requirements Status
- ✅ Requirement 1: Description
- ✅ Requirement 2: Description
- ❌ Requirement 3: Description (Not implemented)
#### Acceptance Criteria
- ✅ Criterion 1
- ✅ Criterion 2
#### Quality Gates
- ✅ Tests pass (90%+ coverage)
- ✅ Linting passes
- ✅ CHANGELOG.md updated
- ⚠️ Documentation needs update
#### Summary
{brief summary of validation results}
#### Action Items (if any)
- Item 1
- Item 2
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?