원클릭으로
test-driven-development
测试驱动开发。遵循 RED-GREEN-REFACTOR 循环:先写失败的测试,再写最少的代码让测试通过,最后重构。用于编写新功能或修复 bug 时。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
测试驱动开发。遵循 RED-GREEN-REFACTOR 循环:先写失败的测试,再写最少的代码让测试通过,最后重构。用于编写新功能或修复 bug 时。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Brainstorm before writing code. Refine rough ideas through questions, explore alternatives, present design in sections for validation. Use when starting a new feature or project.
Code review skill. Check code for correctness, edge cases, code style, and performance issues. Use when reviewing PRs or checking code quality.
Systematic debugging. Use a 4-phase root cause analysis process - collect evidence, form hypotheses, verify hypotheses, fix and verify. Use when troubleshooting bugs or abnormal behavior.
Test-driven development. Follow the RED-GREEN-REFACTOR cycle - write failing tests first, then write minimal code to pass, then refactor. Use when writing new features or fixing bugs.
Introduction to the Superpowers skills system. Learn how to use this set of development workflow skills. Use when first encountering superpowers or needing to understand the overall process.
Verification before completion. Ensure the problem is truly fixed, not just superficially passing. Use before declaring a task complete.
SOC 직업 분류 기준
| name | test-driven-development |
| description | 测试驱动开发。遵循 RED-GREEN-REFACTOR 循环:先写失败的测试,再写最少的代码让测试通过,最后重构。用于编写新功能或修复 bug 时。 |
严格遵循 TDD 的 RED-GREEN-REFACTOR 循环。
避免以下行为:
test_[被测功能]_[场景]_[期望结果]
示例:
test_login_with_valid_credentials_returns_tokentest_login_with_invalid_password_returns_401