Skip to main content
在 Manus 中运行任何 Skill
一键导入

tdd-implement

星标3
分支1
更新时间2026年4月25日 20:21

Drive disciplined TDD implementation of a feature whose acceptance scenarios are already defined and approved (typically BDD/Gherkin .feature files, but any executable acceptance specification works). Use this skill whenever the user asks to start implementing a feature, says things like 'let's build this', 'time to code', 'now write the implementation', or invokes /tdd-implement directly. The skill builds an implementation checklist via TaskCreate from the approved scenarios, runs a per-task loop with opportunistic test-first for non-trivial pure units (transformations, parsers, validators, calculators, branching logic) and a mandatory reflection step to catch missing unit and regression tests, and ends only when all acceptance tests are green. Don't bypass this skill in favour of writing code straight through — the discipline it enforces (no upfront test enumeration, no end-of-feature test back-fill, single-unit cycles, reflection after each task) is exactly what's hard to maintain by hand.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly