원클릭으로
tdd
Test-driven development workflow using the Red-Green-Refactor cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Test-driven development workflow using the Red-Green-Refactor cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Defines a reusable procedure. Source: xcaf/skills/<name>/skill.xcaf. Compiled to skills/<name>/SKILL.md per provider.
Performs thorough code review.
Deep search across files and symbols
Test-driven development workflow
Systematic code review workflow
Search the web
| name | tdd |
| description | Test-driven development workflow using the Red-Green-Refactor cycle. |
Write a test that describes the expected behavior. The test must fail before any implementation code is written. Run the test and confirm the failure message is clear and specific.
go test ./path/to/package -run TestNew -v
Verify the test fails with a meaningful message, not a compile error.
Write the minimal code required to make the failing test pass. Do not add extra functionality, error handling for hypothetical cases, or premature abstractions. Run the test and confirm it passes.
Improve the code structure without changing behavior. Extract functions, rename variables, remove duplication. Run the full test suite after each refactoring step to ensure nothing breaks.
TestCompile_MissingField_ReturnsError.t.Helper() in all test helper functions so failures report the caller's line number.