# mytddskill — TDD Development Team Agent Skill Package

This skill package defines the TDD (Test-Driven Development) R&D team agent architecture. It works in conjunction with `myprdskill-en` to form a complete product design → development delivery pipeline.

---

## Architecture Overview

```
product_designer  ──→  dev_leader  ──→  frontend_dev  ──→  code_reviewer
                                   └──→  backend_dev   ──→  code_reviewer
                                                             └──→  dev_leader (report)
```

| Agent | Role | Upstream | Downstream |
|-------|------|----------|------------|
| `dev_leader` | R&D manager, TDD practitioner | product_designer / user | frontend_dev, backend_dev |
| `frontend_dev` | Senior frontend engineer | dev_leader | code_reviewer |
| `backend_dev` | Senior backend engineer | dev_leader | code_reviewer |
| `code_reviewer` | Code quality reviewer | frontend_dev, backend_dev | dev_leader |

---

## Directory Structure

```
mytddskill/
├── README.MD                          # This file
├── agents/                            # Agent definition archives (install to .cursor/agents/)
│   ├── dev_leader.md
│   ├── frontend_dev.md
│   ├── backend_dev.md
│   └── code_reviewer.md
└── skills/                            # Work standard documents (referenced by agents)
    ├── new-product-dev-guide/
    │   └── SKILL.md                   # TDD work standard for new product development
    └── iterative-dev-guide/
        └── SKILL.md                   # TDD work standard for iterative development
```

---

## Installation

Copy the agent files to your project's `.cursor/agents/` directory:

```
.cursor/agents/dev_leader.md
.cursor/agents/frontend_dev.md
.cursor/agents/backend_dev.md
.cursor/agents/code_reviewer.md
```

The skill files are referenced in-place from `mytddskill/skills/` — no additional installation needed as long as this folder is in the project root.

---

## Usage

1. After `@product_designer` completes PRD documents under `PRD/`, invoke `@dev_leader` with your development request.
2. `@dev_leader` reads the PRD, classifies the requirement (new product or iteration), and follows the corresponding work standard.
3. The team works through the TDD cycle autonomously, pausing at each phase for user confirmation.
