Check acceptance criteria completion before commit/PR
Verifies all acceptance criteria are addressed before committing or creating PRs.
/plugin marketplace add flexion/claude-domestique/plugin install onus@claude-domestiqueissue number or session file pathCheck whether all acceptance criteria from the issue have been addressed before creating a commit or PR.
IMPORTANT: This skill implements the ACCEPTANCE CRITERIA rule from work-items.md
Before committing or creating a PR, verify that all acceptance criteria have been met.
Locate Criteria Find acceptance criteria from one of these sources (in priority order):
.claude/sessions/<branch>.md/onus:fetch if neededgh issue view <number>Review Each Criterion For each acceptance criterion:
Report Status Present findings with clear status for each criterion
## Acceptance Criteria Validation
**Issue**: #[number] - [title]
**Branch**: [current branch]
### Criteria Status
| Status | Criterion | Evidence |
|--------|-----------|----------|
| ✅ | [criterion text] | [file:line or description] |
| ⚠️ | [criterion text] | [partial implementation note] |
| ❌ | [criterion text] | [not found or missing] |
### Summary
- Completed: X of Y
- [proceed/address issues before commit]
### Next Steps
[what needs to be done for incomplete items]
User: /onus:validate-criteria
Claude: ## Acceptance Criteria Validation
**Issue**: #42 - Add user authentication
**Branch**: issue/feature-42/auth
### Criteria Status
| Status | Criterion | Evidence |
|--------|-----------|----------|
| ✅ | Login form with email/password | src/components/LoginForm.tsx:15-80 |
| ✅ | JWT token handling | src/lib/auth.ts:20-45 |
| ✅ | Error messages for invalid credentials | src/components/LoginForm.tsx:35-50 |
| ⚠️ | Remember me checkbox | Implemented but not tested |
| ❌ | Password reset flow | Not started |
### Summary
- Completed: 3 of 5 (1 partial, 1 missing)
- Address issues before commit
### Next Steps
1. Add tests for "Remember me" functionality
2. Implement password reset flow or remove from scope
3. Update issue if scope changed
Invoke this skill:
/onus:commit/onus:pr