What problem does it solve?
Repeatedly finding and filling gaps in a codebase's test coverage is time-consuming and error-prone, and many projects lack focused tests for edge cases, serialization, and public APIs. This Skill automates discovery of coverage gaps and produces tests that follow the project's existing conventions so changes are reliable and maintainable.
Core Features & Use Cases
- Project stack detection: Reads build and manifest files to identify language, test framework, and directory layout.
- Coverage gap discovery: Scans source and test files to find public methods, edge cases, and serialization paths without tests.
- Conservative test generation: Writes tests alongside existing tests, matches test style and helpers, runs the project's test command, and reports all added tests grouped by file.
- Use cases: Increase unit test coverage before a release, add regression tests for bug fixes, and create serialization round-trip tests for DTOs.
Quick Start
Run the add-tests skill to analyze the repository, identify uncovered public functions and edge cases, generate tests that match project conventions, execute the test suite to verify passing builds, and produce a file-by-file report of tests added.