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

test-driven-development

星标5
分支0
更新时间2026年5月12日 06:39

Use when implementing ANY feature, bugfix, refactor, or behavior change BEFORE writing implementation code. Forces RED-GREEN-REFACTOR - write the failing test first, run it to confirm it fails for the right reason, write minimal code to make it pass, commit, then refactor. If you didn't watch the test fail, you don't know if it tests the right thing. TRIGGER when starting any code change with testable behavior. Cross-refs systematic-debugging (Phase 3 writes the regression test), writing-skills (TDD on documentation), feature-build/bug-hunt chains.

安装

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

SKILL.md
readonly