plan-add-test-coverage
Installation
SKILL.md
Increase Test Coverage
Target threshold: $ARGUMENTS%
If no argument provided, prompt the user for a target.
Step 1: Gather Requirements
- Find coverage config (jest.config.js, vitest.config.ts, .nycrc, etc.)
- Run coverage report to get current state:
bun run test:cov 2>&1 | head -100 - Identify the 20 files with lowest coverage, noting:
- File path
- Current coverage % (lines, branches, functions)
- Which lines/branches are uncovered