| name | guide-tdd |
| description | Triggered when user asks to follow TDD, enforce TDD practices, or guide TDD workflow. Automatically delegates to the tdd-guide agent. |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash |
| context | fork |
| agent | tdd-guide |
Guide TDD Skill
Trigger Phrases
This skill is automatically triggered when the user:
- Asks to "use TDD" or "follow TDD"
- Requests TDD workflow or guidance
- Wants to "write tests first" or "TDD approach"
- Mentions "test-driven development" or "red-green-refactor"
- Asks about TDD methodology
Delegation Instructions
When this skill is triggered:
- Delegate immediately to the
tdd-guide agent
- Specify feature or code to implement with TDD
- Include TDD requirements or constraints
- Provide current code state
- Include test coverage goals
Context to Pass
- Feature: What to implement with TDD
- Requirements: Feature requirements
- Current State: Existing code or tests
- Coverage Goal: Target test coverage
- TDD Focus: Specific TDD aspects to emphasize
- Constraints: Any constraints or preferences
Agent Responsibilities
The tdd-guide agent will:
- Guide through Red-Green-Refactor cycle
- Ensure tests are written first
- Enforce TDD discipline
- Maintain high test coverage (80%+)
- Review test quality
- Ensure minimal implementation