What problem does it solve?
This Skill automates the process of ensuring local code changes are covered by tests, reducing the manual effort of identifying missing coverage and writing or orchestrating tests for unstaged changes or the latest commit.
Core Features & Use Cases
- Analyze local changes: Detect changed and untracked files from git, filter to code, and summarize modified logic and complexity.
- Run and verify tests: Discover how to run the project's test commands, execute full and single-test runs, and generate coverage baselines.
- Agent-driven test creation: For complex or multi-file changes, launch coverage-reviewer and developer agents to propose and implement test cases while preserving existing tests.
- Use case: After a feature or refactor, run the Skill to produce prioritized test cases and either automatically create tests for simple single-file changes or coordinate agents to add tests for larger changes.
Quick Start
Run the tdd:write-tests skill to analyze the current git diff and generate or orchestrate tests covering critical business logic.