Quality gates. Validates code quality, test authenticity, and plan adherence. Runs after every task.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Three types of validation that run after every task. Quality gates are non-negotiable.
Check for:
design.md architecturecodebase.mdresearch.mdQuestions to ask:
Validate tests are real:
Red flags:
Confirm implementation matches plan:
After each task completes:
## Review: Task [N]
✓ Code Review: PASS
✓ Test Review: PASS
✓ Plan Validation: PASS
Ready for next task.
## Review: Task [N]
✓ Code Review: PASS
✗ Test Review: ISSUES FOUND
✓ Plan Validation: PASS
### Test Review Issues
**Issue 1: FAKE_TEST**
Location: `tests/auth.test.ts:15-20`
Problem: Test only checks that function doesn't throw
Required fix: Add assertions verifying actual behavior
**Issue 2: MISSING_COVERAGE**
Location: `tests/auth.test.ts`
Problem: No test for invalid password case
Required fix: Add test for password validation failure
---
Return to Coder for fixes.
| Category | Description |
|---|---|
| SECURITY | Hardcoded secrets, missing auth, injection vulnerabilities |
| DESIGN | Deviates from design.md, wrong architecture |
| PATTERN | Inconsistent with codebase patterns |
| FAKE_TEST | Test doesn't actually test anything |
| MISSING_COVERAGE | Requirement or edge case not tested |
| SCOPE_CREEP | Added work not in plan |
| SCOPE_REDUCTION | Planned work missing |