一键导入
new-sprint
Create a new sprint — checks tech sprint cadence, proposes scope from VISION/ROADMAP/backlog, creates sprint directory and files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new sprint — checks tech sprint cadence, proposes scope from VISION/ROADMAP/backlog, creates sprint directory and files.
用 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.
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.
| name | new-sprint |
| description | Create a new sprint — checks tech sprint cadence, proposes scope from VISION/ROADMAP/backlog, creates sprint directory and files. |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob |
| argument-hint | [feature|tech] [goal description] |
Create a new sprint with phases and goal. Checks whether a tech sprint is due.
feature <goal> — create a feature sprint with given goaltech — force a tech sprint from backlogRead docs/STATUS.md. If a sprint is active and not COMPLETE — STOP: "Current sprint is not finished. Run /close-sprint first or /go to continue."
If explicit arg — use it.
If auto-decide:
docs/STATUS.mdtech sprintdocs/backlog.md — if >30 items in Queue → recommend tech sprint regardless# Get next sprint number from Sprint History
LAST_NUM=$(grep -oP '^\| \K\d+' docs/STATUS.md | sort -n | tail -1)
NEXT_NUM=$((LAST_NUM + 1))
# If no history yet, start with 001
Slug: kebab-case from goal (e.g., 001-tech-backlog-cleanup).
Read docs/backlog.md. Group tasks by priority and category:
Select 5-10 tasks that form a coherent theme. If tasks are diverse, pick a unifying angle (e.g., "code quality cleanup", "security hardening").
Read docs/VISION.md first. The product direction section tells you where the product is heading — what the user wants to build. Use this to:
Then read docs/ROADMAP.md — find the next incomplete story that aligns with VISION.
Each sprint has 2-4 feature/tech phases. The endgame phases (audit, e2e, fix, docs) are NOT listed as sprint phases — they are implicit in the sprint lifecycle.
Phase design guidelines:
SPRINT_DIR="docs/sprints/${NEXT_NUM}-${SLUG}"
mkdir -p "$SPRINT_DIR/tasks"
Write $SPRINT_DIR/sprint.md:
# Sprint NNN: <Title>
> **Goal**: <one sentence>
> **Type**: feature | tech
> **Started**: <today's date>
## Phase 0: <Name>
- <task description — files created by /plan-phase>
## Phase 1: <Name>
- <task description — files created by /plan-phase>
## Decisions
_None yet._
## Deferred
_None yet._
## Endgame
- Audit: pending
- E2E: pending
- Fix phase: pending
- Docs: pending
## Current Sprint
- **Sprint**: NNN-<slug>
- **Goal**: <goal>
- **Type**: feature | tech
- **Started**: <today's date>
- **Current Phase**: Phase 0 — <name>
## Phase Progress
| Phase | Name | Status |
|-------|------|--------|
| 0 | <name> | Current |
| 1 | <name> | Pending |
Keep the Sprint History table intact — it gets updated by /close-sprint.
git add docs/STATUS.md "$SPRINT_DIR/sprint.md"
git commit -m "sprint: start $NEXT_NUM-$SLUG"
Do NOT push — doc-only commit.
## New Sprint Created
- **Sprint**: NNN-<slug>
- **Type**: feature | tech
- **Goal**: <goal>
- **Phases**: N phases planned
- **Next**: run `/go` to start Phase 0 (will invoke /plan-phase)
If you encountered issues during this skill, append to docs/skill-feedback.md:
## [new-sprint] — <today's date>
- **Type**: bug | missing-info | optimization
- **Quote**: "<exact line or section from this skill>"
- **Problem**: <what went wrong or was missing>
- **Suggested fix**: <concrete change to the skill text>