Files
claude-skills-reference/docs/commands/tdd.md
Reza Rezvani 979a1cefc7 docs: add 14 agent pages, 12 command pages, update getting-started and index
- Extended generate-docs.py to auto-generate agent and command documentation pages
- Added extract_subtitle() for meaningful command descriptions in index
- Added Agents nav section (14 entries) and Commands nav section (12 entries) to mkdocs.yml
- Updated docs/index.md: 170 skills, 237 tools, 14 agents, 12 commands, Gemini CLI
- Updated docs/getting-started.md: Gemini CLI tab, 237 tools, fixed brand_voice path, new FAQs
- Regenerated all 203 docs pages (177 skills + 14 agents + 12 commands)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:54:53 +01:00

1.4 KiB

title, description
title description
/tdd /tdd — Claude Code slash command.

/tdd

Type: Slash Command | Source: commands/tdd.md


/tdd

Generate tests, analyze coverage, and validate test quality using the TDD Guide skill.

Usage

/tdd generate <file-or-dir>     Generate tests for source files
/tdd coverage <test-dir>        Analyze test coverage and gaps
/tdd validate <test-file>       Validate test quality (assertions, edge cases)

Examples

/tdd generate src/auth/login.ts
/tdd coverage tests/ --threshold 80
/tdd validate tests/auth.test.ts

Scripts

  • engineering-team/tdd-guide/scripts/test_generator.py — Test case generation (library module)
  • engineering-team/tdd-guide/scripts/coverage_analyzer.py — Coverage analysis (library module)
  • engineering-team/tdd-guide/scripts/tdd_workflow.py — TDD workflow orchestration (library module)
  • engineering-team/tdd-guide/scripts/fixture_generator.py — Test fixture generation (library module)
  • engineering-team/tdd-guide/scripts/metrics_calculator.py — TDD metrics calculation (library module)

Note: These scripts are library modules without CLI entry points. Import them in Python or use via the SKILL.md workflow guidance.

Skill Reference

engineering-team/tdd-guide/SKILL.md