# Tdd Full Cycle

> Group skill: Test-Driven Development full cycle — plan, RED phase, GREEN phase, REFACTOR phase, E2E tests, coverage, and review.

- Skill: `may215/tdd-full-cycle` (Agent Skill)
- Install (CLI): `npx skillmds@latest add may215/tdd-full-cycle`
- Raw SKILL.md: https://api.skillmd.com/api/skills/may215/tdd-full-cycle/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: may215 (https://skillmd.com/u/may215)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/may215/tdd-full-cycle

---


# 🧪 Test-Driven Development (Full Cycle)

> **Group Skill** — Orchestrates sub-skills for writing code with TDD from start to finish.
> Activate by saying: "Use TDD workflow" or "test-driven development"

## When to Use

- Writing code with TDD methodology
- Need to ensure high test coverage
- Building reliable, well-tested features

## Step-by-Step Workflow

### Phase 1: Plan
**Skill**: `writing-plans`
- Break feature into testable units
- Define acceptance criteria
- Identify edge cases

### Phase 2: RED
**Skill**: `tdd-workflows-tdd-red`
- Write failing tests first
- Define expected behavior
- Test edge cases early

### Phase 3: GREEN
**Skill**: `tdd-workflows-tdd-green`
- Write minimal code to pass tests
- Focus on correctness first
- Avoid premature optimization

### Phase 4: REFACTOR
**Skill**: `tdd-workflows-tdd-refactor`
- Clean up code while tests stay green
- Improve design and readability
- Remove duplication

### Phase 5: E2E
**Skill**: `e2e-testing-patterns`
- Write integration tests
- Test user flows end-to-end
- Verify system interactions

### Phase 6: Coverage
**Skill**: `test-automator`
- Ensure coverage meets goals
- Identify untested paths
- Generate coverage reports

### Phase 7: Review
**Skill**: `code-reviewer`
- Quality gate review
- Check test quality
- Verify edge cases covered

## Completion

Feature is fully tested with RED-GREEN-REFACTOR cycle. 🧪

## Sub-Skills Referenced

1. `writing-plans`
2. `tdd-workflows-tdd-red`
3. `tdd-workflows-tdd-green`
4. `tdd-workflows-tdd-refactor`
5. `e2e-testing-patterns`
6. `test-automator`
7. `code-reviewer`

