一键导入
plan-phase
Generate task files for the current sprint phase. Reads sprint.md, creates 2-4 task files with descriptions, tests, and acceptance criteria.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate task files for the current sprint phase. Reads sprint.md, creates 2-4 task files with descriptions, tests, and acceptance criteria.
用 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 | plan-phase |
| description | Generate task files for the current sprint phase. Reads sprint.md, creates 2-4 task files with descriptions, tests, and acceptance criteria. |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob |
| argument-hint |
Generate task files for the current phase of the active sprint.
Read docs/STATUS.md to get:
Read docs/sprints/<sprint>/sprint.md to get:
If no sprint active — STOP: "No active sprint. Run /new-sprint first."
SPRINT_DIR="docs/sprints/<sprint-slug>"
PHASE_NUM=<current phase number>
ls "$SPRINT_DIR/tasks/phase${PHASE_NUM}-"*.md 2>/dev/null
If task files already exist — STOP: "Phase already has task files. Run /go to continue."
Read the code areas relevant to this phase:
Understand dependencies between planned changes.
Architectural gate: While reading the code, check for problems that would make the phase work unreliable:
If the foundation is bad — STOP and report: "Phase N blocked by architectural issues: . Recommend adding a refactor task as Task 0 in this phase, or creating a separate refactor phase before this one."
Do NOT silently plan tasks on top of bad code. Stopping with a clear report is better than introducing debt.
Break the phase into 2-4 concrete tasks. Each task should:
Guidelines:
shared/contracts/ or DB schema — mark it ⚠️ needs-approvalFor each task, create $SPRINT_DIR/tasks/phase${PHASE_NUM}-task${M}-${slug}.md:
# Phase N Task M: <Title>
## Description
<what needs to change and why — be specific about files and functions>
## Tests First
- <test 1 — what to assert, which test file>
- <test 2>
## Acceptance Criteria
- [ ] <criterion — observable, verifiable>
- [ ] <criterion>
## Status: pending
## Developer Notes
_To be filled during implementation._
Update the current phase section in sprint.md to reference the created task files:
## Phase N: <Name>
- Task 1: <title> → `tasks/phaseN-task1-slug.md`
- Task 2: <title> → `tasks/phaseN-task2-slug.md`
git add "$SPRINT_DIR/"
git commit -m "plan: phase $PHASE_NUM — <phase name> ($TASK_COUNT tasks)"
Do NOT push — doc-only commit.
STOP. Complete skill feedback before reporting.
8a. Skill Feedback — if you hit issues, append to docs/skill-feedback.md:
## [plan-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."
8b. Print summary:
/go to start implementing