test-driven-development
Write failing test first, then minimal code to pass (RED-GREEN-REFACTOR cycle). WHEN: MUST use when implementing new features, fixing bugs, refactoring. Invoke with "/test-driven-development" or "use TDD". Always write test BEFORE implementation code. WHEN NOT: Throwaway prototypes, generated code, configuration files, debugging root cause (use systematic-debugging first).
Installation and usage
Write failing test first, then minimal code to pass (RED-GREEN-REFACTOR cycle). WHEN: MUST use when implementing new features, fixing bugs, refactoring. Invoke with "/test-driven-development" or "use TDD". Always write test BEFORE implementation code. WHEN NOT: Throwaway prototypes, generated code, configuration files, debugging root cause (use systematic-debugging first).
安装后,您可以通过在终端运行以下命令来使用此技能:
skills use test-driven-development