What problem does it solve?
This skill identifies code modifications, determines appropriate test scopes, and augments or creates unit, integration, or regression tests following the project's .trellis/spec/unit-test conventions, ensuring comprehensive coverage without manual effort.
Core Features & Use Cases
- Change Detection: Automatically gathers changed files via
git diff.
- Scope Determination: Uses project‑specific unit‑test specs to decide whether tests should be unit, integration, or regression.
- Test Generation: Adds or updates tests adhering to existing patterns and mock strategies.
- Validation: Runs lint, typecheck, and test suites, summarizing results and remaining gaps.
Use Cases: After implementing a new feature, fixing a bug, or when test gaps are identified, invoke this skill to automatically improve test coverage.
Quick Start
Ask the assistant to improve unit tests for the recent changes.