3.1k wesammustafa

tdd Skill

TODO

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Build this test-first, one behavior at a time: $ARGUMENTS

  1. Red: write one failing test for the next behavior. Run the tests and confirm that it fails, and fails for the reason you expect. Don't change code outside the tests in this step.
  2. Green: TODO
  3. Refactor: TODO

Repeat until the feature is done, then run the whole test suite and commit the tests and the code together.