Loading...
Loading...
ping-pong TDD 세션의 마지막 단계입니다. .tdd-sessions/에서 활성 세션 파일을 읽어 완료된 태스크를 요약하고, Conventional Commits 메시지를 제안하며, 커밋을 실행하고 세션 파일을 정리합니다. 모든 /tdd-task 호출이 완료된 후 실행합니다.
npx skill4agent add junhyunny/skills tdd-commit/tdd-commit [story-id].tdd-sessions/.tdd-sessions/{story-id}.md.tdd-sessions/"No active TDD session found. Run /tdd-plan to start a new session.""Multiple sessions found. Which story are you committing?
[1] 12345678.md — User Profile Update
[2] payment-intent-2026-03-31.md — (no ID)
Type the number or story ID."## Changes Summary
**Story:** [ID]: [title]
**Stack:** [stack]
### Completed Tasks
- ✅ Task 1: [title] — [type]
- ✅ Task 2: [title] — [type]
- ⏳ Task 3: [title] — [type] ← skipped / not started
### Pending Tasks (not committed)
- [list any ⏳ pending tasks, or "none — all tasks complete"]feat(<scope>): <short description under 72 chars>
Implements [STORY-ID]: [story title]
Tasks completed:
- [task 1 title]: [one-line description of what was implemented]
- [task 2 title]: [one-line description]
- [task N title]: [one-line description]
TDD: ping-pong pair programming session| 컨텍스트 | 스코프 예시 |
|---|---|
| TypeScript React | |
| Kotlin/Java Spring | |
| Python FastAPI | |
| 상황 | 타입 |
|---|---|
| 새 기능 (가장 일반적) | |
| 버그 수정 | |
| 리팩토링만, 새로운 동작 없음 | |
## Commit Preview
**Message:**
**Files to stage:**
[list source + test files created or modified during the session]
(Build artifacts, .env files, and IDE folders will NOT be staged)
Ready to commit?
→ Type **"commit"** or **"ship it"** to execute
→ Type your preferred message to override it
→ Type **"cancel"** to exit without committing.env.env.*target/build/dist/__pycache__/.gradle/git add [files]git commit -m "[message]"✅ Committed: abc1234 feat(payment): add payment intent creation endpointDelete `.tdd-sessions/[filename]`? (yes / no)
→ "yes" — delete the file
→ "no" — keep it (useful if the story spans multiple sessions).tdd-sessions/| 파일 | 읽는 시점 |
|---|---|
| 전체 커밋 형식 규칙 및 멀티 세션 전략 |