一键导入
close-sprint
Close the current sprint — final gate after endgame. Push all commits, update STATUS.md history, update CHANGELOG.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Close the current sprint — final gate after endgame. Push all commits, update STATUS.md history, update CHANGELOG.
用 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 phase — verify all tasks done, run/write integration tests, advance to next phase.
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-sprint |
| description | Close the current sprint — final gate after endgame. Push all commits, update STATUS.md history, update CHANGELOG. |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob |
| argument-hint |
Final sprint gate. Called after all endgame steps (audit, e2e, fix phase, docs update) are complete.
Read docs/sprints/<sprint>/sprint.md endgame section. All must be done:
If any is not done — STOP: "Endgame not complete: . Run /go to continue."
git status --short
If uncommitted changes exist — commit them first.
Add a ## Results section to sprint.md:
## Results
- **Completed**: <today's date>
- **Phases**: N completed
- **Tasks**: M total
- **Key changes**: <2-3 bullet points summarizing what was built/fixed>
- **Audit findings**: X fixed in sprint, Y deferred to backlog
- **Decisions made**: <reference Decisions section above>
Read git log since sprint start date (from sprint.md):
git log --oneline --since="<sprint start date>"
Add a section to docs/CHANGELOG.md under today's date:
Add completed sprint to Sprint History:
| NNN | <Goal> | <type> | <start> — <today> | <phase count> |
Reset current sprint section:
## Current Sprint
No active sprint. Run `/new-sprint` to begin.
## Phase Progress
_No sprint active._
For each task completed in this sprint:
[x] if presentRead ## Deferred section from sprint.md. For each item:
docs/backlog.md under ## Queue with appropriate prioritygit add docs/STATUS.md docs/CHANGELOG.md docs/ROADMAP.md docs/backlog.md "docs/sprints/<sprint>/"
git commit -m "sprint: close <NNN>-<slug>"
git push
This is the ONE push point per sprint. All doc-only commits from the sprint get pushed together.
STOP. Complete skill feedback before reporting.
8a. Skill Feedback — if you hit issues, append to docs/skill-feedback.md:
## [close-sprint] — <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."
8b. Print summary:
## Sprint NNN — <Goal> COMPLETE
- Type: feature | tech
- Duration: <start> — <today>
- Phases completed: N
- Tasks completed: M
- CHANGELOG updated: Y entries
- ROADMAP items marked done: Z
- Deferred to backlog: K items
- Next: run `/go` to start next sprint