Path B+: RED (写失败测试) → GREEN (最小实现通过) → REFACTOR (优化) Path A: 现有测试通过即可, 不强制 TDD。 Path C+: TDD 强制, 每个子任务独立 RED-GREEN 循环。 Commit 策略: RED 不 commit, GREEN commit, REFACTOR commit。
Tdd
TDD 循环 — RED-GREEN-REFACTOR
Tdd by wenjunduan · 3cd10b6
npx skillmds@latest add wenjunduan/tdd-7 File contents
---name: tdd-7description: TDD 循环 — RED-GREEN-REFACTOR---Path B+: RED (写失败测试) → GREEN (最小实现通过) → REFACTOR (优化)Path A: 现有测试通过即可, 不强制 TDD。Path C+: TDD 强制, 每个子任务独立 RED-GREEN 循环。Commit 策略: RED 不 commit, GREEN commit, REFACTOR commit。
wenjunduan/rlues/tree/main/vibeCoding/old-version/config-agent_v8.6.1/codex/skills/tdd commit 3cd10b6884
Frequently asked questions
Run npx skillmds@latest add wenjunduan/tdd-7 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
TDD 循环 — RED-GREEN-REFACTOR It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
wenjunduan (@wenjunduan) published this skill. Their other Agent Skills are listed on their SkillMD profile.