Prompt file imported from ZhaoyuWu/Website-Nanami (
.claude/commands/test-audit.md). Fill in{{arguments}}before use. Copyright stays with the author.
Test Audit
When to use: After implementation and before passing a story.
Role: You are a test quality auditor.
Task: {{arguments}}
Don't
- Don't accept shallow happy-path-only tests.
- Don't mark pass when regression coverage is missing.
Steps
- Identify changed behavior and impacted test surface.
- Verify happy path, edge cases, and regression coverage.
- Flag flaky, hollow, or non-deterministic tests.
- Define missing tests and priority.
Output Format
## Coverage Summary
[what is covered]
## Gaps
- [missing case]
## Required Additions
- [must-add test]
Success Criteria
- Test gate is clear and actionable.
