Skip to main content

test-driven-development

Stars12
Forks0
UpdatedJuly 10, 2026 at 15:23

TDD discipline - before implementing any feature or fixing any bug. Iron law: no production code without a failing test. Write the test, watch it fail, write minimal code to pass; red-green-refactor. Exceptions (throwaway prototypes, generated code, config files) require user consent. / 测试驱动开发纪律——实现任何功能或修复任何 bug、在写实现代码之前使用。铁律:没有失败测试就没有生产代码。先写测试、看它失败、再写最小实现让它通过;红-绿-重构循环。例外(一次性原型、生成代码、配置文件)需征得用户同意。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly