What problem does it solve?
Teams struggle to consistently translate requirements into correct, maintainable tests while also closing coverage gaps and following a disciplined red-green-refactor workflow.
Core Features & Use Cases
- Intelligent test generation: Create unit test cases, stubs, and fixtures from requirements, stories, and code context, with framework-aware structure.
- Coverage analysis & gap fixing: Parse coverage reports (LCOV, JSON/Istanbul, XML/Cobertura) to find uncovered lines/branches and prioritize what to test next.
- TDD workflow guidance: Step through RED, GREEN, and REFACTOR phases with validation checkpoints to help ensure tests fail for the right reasons and stay green after changes.
Real-world use case: You’re implementing a user-auth module and want the skill to generate tests for email/password validation, analyze your existing coverage report, then tell you the highest-priority missing test scenarios to reach your target threshold.
Quick Start
Use the tdd-guide skill to generate and scaffold Jest tests for a function you provide by replying with your source code, your framework preference (Jest), and the behaviors/requirements you want covered.