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

test-driven-development

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

Use BEFORE writing implementation code for any feature, bugfix, or behavior change in a codebase that HAS a test runner (bun test, vitest, pytest, cargo test...). Write the test first, watch it FAIL for the right reason, then write the minimal code to pass. Catches "it looks right" bugs the model would otherwise ship unverified, and turns a vague ask into an executable spec. Skip for throwaway one-offs, pure config, or a repo with no test setup. ("viet test truoc, do-den-refactor, TDD").

安装

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

SKILL.md
readonly