write-tests
Installation
SKILL.md
Test Coverage
Write valuable tests that improve confidence and coverage. Prefer behavior that is likely to regress, not low-signal assertions written only to inflate percentages.
Quick Start
- Explore the repository structure and identify source, test, and coverage config files.
- Run
scripts/repo_test_probe.pyfrom the skill directory against the target repo to infer the stack, test tooling, and coverage artifacts. - If coverage reports already exist, use them to find cold spots. Otherwise infer gaps from changed code, complex logic, public APIs, and error-handling branches.
- Write tests in the project's existing style and framework.
- Run the narrowest relevant test command first, then broader coverage runs if needed.
- Iterate until the new tests are stable, meaningful, and improve practical coverage.