SKILL.md
<skilloverview> High coverage is not the goal. Tests must catch real failures and justify their maintenance cost. </skilloverview>
<rigiditylevel> MEDIUM FREEDOM - Follow the audit flow strictly, but adapt the exact categories and examples to the codebase. </rigiditylevel>
<quick_reference>
- Inventory the tests
- Classify them as strong, weak, or misleading
- Identify missing edge cases
- Create or update a task directory for test-quality improvements
</quick_reference>
<whentouse>
- Coverage looks good but bugs still escape
- A test suite feels noisy or low-signal
- You want a quality-improvement backlog for tests
</whentouse>
<the_process>
1. Audit the suite
Look for:
- tautological tests
- mock-heavy tests that prove little
- weak assertions
- missing edge cases
2. Explain each finding
For every weak area, say what real bug it would or would not catch.
3. Turn findings into tracked work
Create or update a task directory that captures:
- which tests to remove
- which tests to strengthen
- which missing scenarios to add
4. Refine before execution
Use sre-task-refinement to harden the improvement plan before implementation. </the_process>