# Tdd

> TDD — E阶段每个Task

- Skill: `wenjunduan/tdd-11` (Agent Skill)
- Install (CLI): `npx skillmds@latest add wenjunduan/tdd-11`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wenjunduan/tdd-11/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: wenjunduan (https://skillmd.com/u/wenjunduan)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/wenjunduan/tdd-11

---

## RED→GREEN→REFACTOR
1. 写失败测试 → 运行确认失败
2. 最小实现 → 运行确认通过
3. 清理 → 确认仍通过

测试命令: package.json→Cargo.toml→go.mod→pytest | 找不到→问用户
规则: 1:1对应, 每Task commit, 不测框架本身

