원클릭으로
close-phase
Close the current sprint phase — verify all tasks done, run/write integration tests, advance to next phase.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Close the current sprint phase — verify all tasks done, run/write integration tests, advance to next phase.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Scan codebase for dead code, code smells, security issues, contract violations, missing DTOs, and architectural deviations. Creates/updates docs/audit.md and adds actionable items to backlog. Use when user says "audit", "scan", "check code quality", or wants to find hardcoded strings, bypassed abstractions, missing schemas, untyped API boundaries, or drift from shared contracts.
Structured thinking session on a topic. Creates docs/brainstorms/<topic>.md with Status tracking and Action Items. User routes results manually (new sprint, backlog, VISION update, hotfix).
Close the current sprint — final gate after endgame. Push all commits, update STATUS.md history, update CHANGELOG.
Sprint dispatcher — reads STATUS.md and invokes the right skill based on current sprint state. Use when user says "go", "next", "continue", or wants to proceed with sprint work.
Implement the current sprint task using TDD. Reads task from sprint directory, creates git branch, updates task status on completion. Main development skill.
Create a new sprint — checks tech sprint cadence, proposes scope from VISION/ROADMAP/backlog, creates sprint directory and files.
| name | close-phase |
| description | Close the current sprint phase — verify all tasks done, run/write integration tests, advance to next phase. |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob, Agent |
| argument-hint |
Gate between phases. Verifies all tasks are done, runs and updates integration tests, then advances the sprint to the next phase.
Read docs/STATUS.md — get sprint slug, current phase number.
Read task files for current phase:
SPRINT_DIR="docs/sprints/<sprint-slug>"
PHASE_NUM=<current phase number>
ls "$SPRINT_DIR/tasks/phase${PHASE_NUM}-"*.md
Check each task file's ## Status: field. All must be done.
If any task is not done — STOP: "Phase has incomplete tasks: . Run /go to continue."
make test-integration 2>&1 | tail -50
If tests fail — analyze the failure:
pending, STOP: "Integration test failure. Fix task created: . Run /go."Review the code changes made in this phase:
# Get all commits on current branch since phase started
git log --oneline --name-only HEAD~<commits-in-phase>..HEAD
For each changed code path, check:
If gaps found:
docs/TESTING.mdIf a new integration test fails — it found a bug:
pending/go."Check if any existing tests became stale due to this phase's changes:
Fix any stale tests, run the full suite, commit.
Determine the next phase from sprint.md:
Update docs/STATUS.md:
COMPLETECurrentgit add docs/STATUS.md "$SPRINT_DIR/" tests/
git commit -m "close-phase: phase $PHASE_NUM — <name> COMPLETE"
Do NOT push — doc-only commit (unless test files were added).
STOP. Complete skill feedback before reporting.
9a. Skill Feedback — if you hit issues, append to docs/skill-feedback.md:
## [close-phase] — <today's date>
- **Type**: bug | missing-info | optimization
- **Quote**: "<exact line or section>"
- **Problem**: <what went wrong>
- **Suggested fix**: <concrete change>
If nothing went wrong: "Skill feedback: none."
9b. Print summary:
## Phase N — <Name> COMPLETE
- Tasks completed: M/M
- Integration tests: X existing passed, Y new written
- Stale tests fixed: Z
- Next phase: Phase N+1 — <Name> | Endgame (audit + e2e)
- Run `/go` to continue