一键导入
create-phase-files
Create a phase directory with all required files in one call. Use instead of separate mkdir + Write calls when creating a new phase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a phase directory with all required files in one call. Use instead of separate mkdir + Write calls when creating a new phase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap phase context for Builder. Provides current phase, next step, and full phase file contents.
Bootstrap phase context for Overseer. Provides phase under review with full file contents and card metadata.
Approve a phase — sets status to complete, marks all steps reviewed, updates linked card. Use when declaring a phase green.
Kick a phase back to building — sets status and adds new step entries to progress.yaml. Use when requesting fixes from Builder.
Mark a step as implemented in progress.yaml with notes and touched files. Use after completing each step instead of manual Edit calls.
Set the status field in a phase's progress.yaml. Use instead of manual Edit calls when transitioning phase status.
| name | create-phase-files |
| description | Create a phase directory with all required files in one call. Use instead of separate mkdir + Write calls when creating a new phase. |
| user-invocable | false |
Creates the phase directory and writes all phase files (phase.md, steps.md, progress.yaml, review.md) from a single stdin input with section delimiters.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/create-phase-files/create-phase-files.py <phase-dir> <<'PHASE_CONTENT'
===PHASE===
<phase.md content>
===STEPS===
<steps.md content>
===PROGRESS===
<progress.yaml content>
===REVIEW===
<review.md scaffold>
PHASE_CONTENT
phase-dir: Path for the new phase directory (e.g., .ushabti/phases/0005-my-phase)===PHASE===, ===STEPS===, ===PROGRESS===, ===REVIEW=== delimiters===PHASE=== -> phase.md===STEPS=== -> steps.md===PROGRESS=== -> progress.yaml===REVIEW=== -> review.md (scaffold for Overseer)python3 ${CLAUDE_PLUGIN_ROOT}/skills/create-phase-files/create-phase-files.py .ushabti/phases/0010-add-auth <<'PHASE_CONTENT'
===PHASE===
# Phase 0010: Add Auth
card: add-auth
## Intent
Add authentication to the API.
## Scope
**In scope**: JWT token validation, middleware
**Out of scope**: OAuth providers
## Constraints
- L09: Sandi Metz principles
## Acceptance criteria
- All protected endpoints require valid JWT
- Invalid tokens return 401
## Risks / notes
None identified.
===STEPS===
# Steps
## S001: Create auth middleware
**Intent:** Validate JWT tokens on protected routes.
**Work:**
- Create middleware function
- Verify token signature and expiry
- Attach user context to request
**Done when:** Middleware rejects invalid tokens with 401.
===PROGRESS===
phase:
id: 0010
slug: add-auth
title: Add Auth
status: planned
steps:
- id: S001
title: Create auth middleware
implemented: false
reviewed: false
notes: ""
touched: []
===REVIEW===
# Review: Phase 0010 — Add Auth
*Awaiting review.*
PHASE_CONTENT
This replaces mkdir + 3-4 separate Write calls with a single Bash invocation.