Agent skill
definition-of-done
Verify all Definition of Done criteria before marking a feature complete
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/definition-of-done
SKILL.md
Definition of Done Verification
Verify completion criteria for: $ARGUMENTS
Checklist
A feature is ONLY complete when ALL of the following pass:
1. Backend Compilation
./mvnw compile
- Compiles without errors
2. Frontend Compilation
cd /home/reuben/Documents/workspace/past-care-spring-frontend && ng build --configuration=production
- Builds without errors
3. Backend Tests
./mvnw test
- All tests pass
4. Frontend Unit Tests
cd /home/reuben/Documents/workspace/past-care-spring-frontend && ng test --watch=false --browsers=ChromeHeadless
- All tests pass
5. E2E Tests
cd /home/reuben/Documents/workspace/past-care-spring-frontend && npx playwright test
- All tests pass
6. Documentation Updated
- README.md updated (if new feature)
- USER_GUIDE.md updated (if user-facing)
- API endpoints documented (if applicable)
- Last Updated date changed
Documentation Files
| File | Location |
|---|---|
| Backend README | /home/reuben/Documents/workspace/pastcare-spring/README.md |
| Frontend README | /home/reuben/Documents/workspace/past-care-spring-frontend/README.md |
| Backend User Guide | /home/reuben/Documents/workspace/pastcare-spring/USER_GUIDE.md |
| Frontend User Guide | /home/reuben/Documents/workspace/past-care-spring-frontend/USER_GUIDE.md |
Additional Checks
Security
- Tenant isolation verified (if service methods added)
- @Transactional on all tenant-scoped queries
- Custom @Query includes church filter
- No hardcoded secrets
Code Quality
- No TODO comments left unresolved
- Error handling implemented
- Percentage calculations capped at 100%
Permissions (if applicable)
- Permission added to
Permission.java - Permission added to
Role.java - Permission added to frontend
permission.enum.ts - Controller annotated with
@RequirePermission
Port Cleanup (if server was started)
lsof -ti:8080 | xargs kill -9 2>/dev/null || true
Only run if you started the backend server during this task.
Result
DO NOT mark task complete until ALL checks pass.
Report any failures with specific error messages.
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?