What problem does it solve?
This Skill streamlines the process of validating code changes by analyzing the most recent commit (HEAD), identifying modified files, and planning test coverage to ensure changes are properly exercised.
Core Features & Use Cases
- Change analysis: Detects diffs, classifies altered files by layer (Backend Go, Frontend JS/TS, APIs, Config/Infra, Tests) and notes the intended test scope.
- Test plan generation: Produces a concrete testing plan for unit, integration, and end-to-end tests based on the changes, including suggested fixtures and mocks.
- Test scaffolding: Generates or updates test stubs and guidance to implement coverage quickly for the HEAD changes.
Quick Start
Run the add-test-coverage workflow to produce a test plan and scaffolding for the latest HEAD commit. The workflow will analyze the diff, categorize changes, and output executable test templates and guidance to implement coverage.