Skip to main content

tdd

Test-driven development: the agent writes the failing test, then the code, one behavior at a time. Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green, or test-first.

소스 정보

저장소
MasihMoafi/skills
최근 소스 활동
2026년 11월 3일 08:37
감지된 SKILL.md 언어
영어
스타
8
포크
0

tdd: red-green one slice at a time

Makes the agent write one failing test for the next behavior, then the smallest code that passes, repeating slice by slice.

Uses

Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green or test-first.

How to use

Name the behavior and pick the public seam → run the repo test command once for baseline → Red: one failing test for the missing behavior → Green: smallest code that passes → next slice; refactor only after the behavior is green.

Limitations

A test that passes immediately is a characterization test—pick a truly missing behavior. Code written before its test is deleted and rewritten test-first.

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
nametdd
descriptionTest-driven development: the agent writes the failing test, then the code, one behavior at a time. Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green, or test-first.