Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Test-driven development workflow with test generation, coverage analysis, and multi-framework support
.claude/skills/minicoohei-tdd-guide/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -53% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -29% | 0% |
Test-driven development skill for generating tests, analyzing coverage, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, and Vitest.
| Capability | Description | |------------|-------------| | Test Generation | Convert requirements or code into test cases with proper structure | | Coverage Analysis | Parse LCOV/JSON/XML reports, identify gaps, prioritize fixes | | TDD Workflow | Guide red-green-refactor cycles with validation | | Framework Adapters | Generate tests for Jest, Pytest, JUnit, Vitest, Mocha | | Quality Scoring | Assess test isolation, assertions, naming, detect test smells | | Fixture Generation | Create realistic test data, mocks, and factories |
test_generator.py with requirementsnpm test -- --coverage)coverage_analyzer.py on LCOV/JSON/XML reporttdd_workflow.py --phase red to validatetdd_workflow.py --phase green to validate| Tool | Purpose | Usage | |------|---------|-------| | test_generator.py | Generate test cases from code/requirements | python scripts/test_generator.py --input source.py --framework pytest | | coverage_analyzer.py | Parse and analyze coverage reports | python scripts/coverage_analyzer.py --report lcov.info --threshold 80 | | tdd_workflow.py | Guide red-green-refactor cycles | python scripts/tdd_workflow.py --phase red --test test_auth.py | | framework_adapter.py | Convert tests between frameworks | python scripts/framework_adapter.py --from jest --to pytest | | fixture_generator.py | Generate test data and mocks | python scripts/fixture_generator.py --entity User --count 5 | | metrics_calculator.py | Calculate test quality metrics | python scripts/metrics_calculator.py --tests tests/ | | format_detector.py | Detect language and framework | python scripts/format_detector.py --file source.ts | | output_formatter.py | Format output for CLI/desktop/CI | python scripts/output_formatter.py --format markdown |
For Test Generation:
For Coverage Analysis:
For TDD Workflow:
| Scope | Details | |-------|---------| | Unit test focus | Integration and E2E tests require different patterns | | Static analysis | Cannot execute tests or measure runtime behavior | | Language support | Best for TypeScript, JavaScript, Python, Java | | Report formats | LCOV, JSON, XML only; other formats need conversion | | Generated tests | Provide scaffolding; require human review for complex logic |
When to use other tools:
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 17,257 | 12,584 | -27% | 1 | 1 | 0% | 3,871 | 3,530 | -9% | 0 | 0 | — |
case-02 | fail→fail | 7,672 | 7,616 | -1% | 1 | 1 | 0% | 1,206 | 2,211 | +83% | 0 | 0 | — |
case-03 | fail→pass | 15,084 | 5,414 | -64% | 1 | 1 | 0% | 3,174 | 1,943 | -39% | 0 | 0 | — |
case-04 | fail→pass | 11,366 | 2,727 | -76% | 1 | 1 | 0% | 1,823 | 1,411 | -23% | 0 | 0 | — |
case-05 | fail→pass | 15,694 | 2,308 | -85% | 1 | 1 | 0% | 2,830 | 1,344 | -53% | 0 | 0 | — |
case-06 | fail→pass | 11,387 | 3,679 | -68% | 1 | 1 | 0% | 2,009 | 1,731 | -14% | 0 | 0 | — |
case-07 | fail→pass | 19,642 | 7,789 | -60% | 1 | 1 | 0% | 3,593 | 2,549 | -29% | 0 | 0 | — |
case-08 | fail→pass | 11,702 | 4,903 | -58% | 1 | 1 | 0% | 1,969 | 2,055 | +4% | 0 | 0 | — |
case-09 | fail→pass | 22,362 | 3,199 | -86% | 1 | 1 | 0% | 4,742 | 1,469 | -69% | 0 | 0 | — |
case-10 | fail→pass | 6,415 | 3,285 | -49% | 1 | 1 | 0% | 1,036 | 1,551 | +50% | 0 | 0 | — |
case-11 | pass→pass | 15,407 | 15,707 | +2% | 1 | 1 | 0% | 2,456 | 3,399 | +38% | 0 | 0 | — |
case-12 | pass→pass | 10,157 | 2,786 | -73% | 1 | 1 | 0% | 1,542 | 1,377 | -11% | 0 | 0 | — |
case-13 | pass→pass | 11,967 | 9,226 | -23% | 1 | 1 | 0% | 2,173 | 2,554 | +18% | 0 | 0 | — |
case-14 | fail→pass | 7,996 | 2,980 | -63% | 1 | 1 | 0% | 1,262 | 1,538 | +22% | 0 | 0 | — |
case-15 | pass→pass | 13,619 | 7,247 | -47% | 1 | 1 | 0% | 2,290 | 2,103 | -8% | 0 | 0 | — |
case-16 | pass→pass | 12,405 | 2,120 | -83% | 1 | 1 | 0% | 2,010 | 1,369 | -32% | 0 | 0 | — |
case-17 | fail→fail | 10,167 | 7,944 | -22% | 1 | 1 | 0% | 2,004 | 2,522 | +26% | 0 | 0 | — |
case-18 | fail→pass | 14,764 | 10,527 | -29% | 1 | 1 | 0% | 2,971 | 2,964 | -0% | 0 | 0 | — |
case-19 | fail→pass | 18,076 | 13,597 | -25% | 1 | 1 | 0% | 2,893 | 3,435 | +19% | 0 | 0 | — |
case-20 | fail→pass | 11,006 | 5,796 | -47% | 1 | 1 | 0% | 2,067 | 1,905 | -8% | 0 | 0 | — |
case-21 | pass→pass | 13,958 | 3,843 | -72% | 1 | 1 | 0% | 2,376 | 1,633 | -31% | 0 | 0 | — |
case-22 | pass→pass | 3,372 | 4,283 | +27% | 1 | 1 | 0% | 484 | 1,631 | +237% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +55 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.