tree-test-123/.claude/commands/verify.md
jordan 3908d39395
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Initialize project from skeleton template
2026-02-02 21:12:29 +00:00

75 lines
1.5 KiB
Markdown

---
description: Verify completed work meets acceptance criteria and quality standards
argument-hint: <feature or task description to verify>
allowed-tools: Task, Read, Write, Edit, Glob, Grep, Bash
---
Verify this work: $ARGUMENTS
## Instructions
### 1. Understand What Was Done
Read recent commits and changed files:
```bash
git log --oneline -5
git diff HEAD~1 --stat
```
### 2. Check Acceptance Criteria
For each requirement:
- [ ] Implemented correctly?
- [ ] Tests pass?
- [ ] Edge cases handled?
- [ ] Error handling appropriate?
### 3. Run Quality Checks
```bash
go vet ./...
go test ./...
golangci-lint run ./... 2>/dev/null || true
```
### 4. Functional Verification
- Read the code path for the feature
- Verify inputs are validated
- Verify errors propagate correctly
- Check that the happy path works logically
### 5. Integration Check
- Does it work with existing code?
- Are there breaking changes?
- Are dependencies updated?
### 6. Report
```markdown
## Verification Report: [Feature]
### Criteria
| Requirement | Status | Evidence |
|-------------|--------|----------|
| [requirement] | PASS/FAIL | [file:line or test name] |
### Quality
- Tests: PASS/FAIL (N tests)
- Lint: PASS/FAIL
- Vet: PASS/FAIL
### Issues Found
[Any problems discovered]
### Verdict: VERIFIED / NEEDS_WORK
```
## Rules
- VERIFY with evidence, not assumptions
- RUN tests, don't just read them
- CHECK edge cases explicitly
- REPORT honestly - don't pass work that isn't ready