output: scope: N files tier: 1|2|3 prior_work: contracts, research found
- input_validation: Zod schema? Parameterized queries?
- edge_cases: null, empty, unicode, timeout?
- error_handling: no empty catch? Logged with context?
- duplication: same logic repeated?
- complexity: functions < 30 lines?
Use quick_checks from quality skill for detection.
critical:
- No hardcoded secrets
- Auth tokens in httpOnly cookies
- Rate limiting
- HTTPS enforced
injection:
- SQL: parameterized only
- XSS: DOMPurify
- CSRF: tokens on state changes
verify:
- Tests exist BEFORE implementation?
- Edge cases covered?
- Assertions specific (not toBeTruthy)?
- Mocks at boundaries only?
red_flags:
- "Will add tests later"
- 100% coverage, weak assertions
- No error path testing
verify:
- Follows existing patterns?
- Interface stability?
- Modular boundaries?
- Dependency direction correct?
# Tear Down: {feature}
reviewed: {timestamp}
tier: {1|2|3}
scope: {N files}
## Big 5
input_validation: pass|fail
edge_cases: pass|fail
error_handling: pass|fail
duplication: pass|fail
complexity: pass|fail
## Verdict: PROCEED | REVISE | RETHINK
{reasoning}
## Action Items
1. {fix with file:line}