스킬 개발

테스트 먼저 쓰기

먼저 실패하고, 통과한 다음, 정리

Test-Driven Development

빨강-초록-리팩터를 따라, 실패하는 테스트를 먼저 쓰고 겨우 통과하는 최소 코드를 그다음에 써요.

ClaudeCursorCodexGrok TDDtestsred-green-refactor

무엇인가

Test-Driven Development from Superpowers makes the agent write the test before the implementation. It keeps scope small, prefers one failing assertion at a time, and refuses large untested dumps of code.

예시 프롬프트

테스트 먼저 쓰기

TDD로 속도 제한을 더해요. 실패하는 테스트를 먼저 보여 주고, 그다음에 구현을 써요.

출처: Superpowers

설치 가이드 읽기

비슷한 스킬