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

tdd

星标3
分支0
更新时间2026年7月1日 08:25

Test-driven development as a vertical-slice red-green loop; one test drives one piece of implementation, then the next test responds to what that cycle taught. Tests verify behavior through public interfaces, never implementation details, so they survive refactors. Use when building a feature or fixing a bug test-first, when the user says "red-green-refactor", "write the test first", "TDD this", "tracer bullet", or "integration test", and as the default discipline for any new logic-bearing code. Auto-trigger when implementation of non-trivial logic is about to begin and no failing test exists yet, or when the user asks to add behavior to code that has a test surface.

安装

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

SKILL.md
readonly