一键导入
spec-extend
Spec lifecycle management skill. Handles spec creation, revision, and deprecation. Tracks version, linked PRs/commits, and status transitions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Spec lifecycle management skill. Handles spec creation, revision, and deprecation. Tracks version, linked PRs/commits, and status transitions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Agent Communication Protocol — fan-out dispatch reference for Claude plugin orchestration
Disciplined 6-phase bug diagnosis loop. Build feedback loop, reproduce, hypothesise, instrument, fix with regression test, cleanup with post-mortem. Use for all bugs — bypasses PRD entirely. Ends with advisor-gate completion gate.
Interview-based planning skill. Ask one question at a time with recommended answers, cross-reference codebase, detect and defer to project-level planning conventions, and synthesize a concise plan that feeds vertical-slice. Use for features, small changes, and bug scoping.
Run the groundwork acceptance test harness. Documents how to test the plugin locally.
MANDATORY user acceptance testing before advisor-gate. Enforces real end-user testing — TUI via tmux/expect, API via real HTTP calls in docker-compose, web apps via Playwright browser. Unit/integration tests are INSUFFICIENT unless they exercise the system exactly as end-users experience it. No exceptions.
Engage maximum parallel fan-out mode. Use when you want to work 10x faster by dispatching all independent work simultaneously to specialist agents. Triggers on "ultrawork", "ulw", "fan out hard", "go parallel".
| name | spec-extend |
| description | Spec lifecycle management skill. Handles spec creation, revision, and deprecation. Tracks version, linked PRs/commits, and status transitions. |
Invoke when ANY of these are true:
This skill manages the entire spec lifecycle:
When: Starting a new feature without going through full PRD process.
Process:
.pi/specs/template.md to .pi/specs/<feature>.mdversion: 1.0.0, status: draftWhen: Requirements change, PRD updated, or implementation discovery requires adjustment.
Process:
.pi/specs/<feature>.mdupdated date in frontmatterWhen: Feature is retired or replaced by new spec.
Process:
status: deprecated.pi/specs/archive/<feature>-deprecated.md| State | Description | Allowed Transitions |
|---|---|---|
draft | Spec is being written, not yet approved | → approved |
approved | Spec is approved, ready for implementation | → in-progress |
in-progress | Implementation has started | → implemented, → approved (iteration) |
implemented | Feature is complete, spec reflects shipped state | → deprecated |
deprecated | Feature is retired, spec is archived | (terminal state) |
Each spec tracks in frontmatter:
version: 1.0.0 # Semantic version
status: draft # Current lifecycle state
created: 2026-06-01 # Date spec was first created
updated: 2026-06-01 # Date of last revision
linked_prd: ... # Reference to source PRD (optional)
linked_prs: [] # Pull requests implementing this spec
linked_commits: [] # Key commits for traceability
After implementation tasks complete:
linked_prs arraylinked_commits arrayFor Creation:
draftFor Revision:
updated dateFor Deprecation:
status: deprecatedlinked_prslinked_commitsWhen creating or revising specs, ensure these sections are present:
When a feature is being planned (via interview, deferring to the project's planning convention):
.groundwork/plans/<feature>.md).pi/specs/<feature>.mdlinked_plan: .groundwork/plans/<feature>.mdWhen spec revision reveals the plan needs updating:
vertical-slice if the change affects scope or slice boundariesAfter spec operations complete:
docs/learnings.mddocs/decisions.md| File | Purpose |
|---|---|
.pi/specs/README.md | Spec system documentation |
.pi/specs/template.md | Spec template |
.pi/specs/CONSTITUTION.md | Governance principles |
.pi/specs/<feature>.md | Feature specs |
.pi/specs/archive/ | Deprecated specs |
.pi/docs/learnings.md | Auto-captured learnings |
.pi/docs/decisions.md | Auto-captured decisions |
updated date when modifying a specAfter spec operation completes, use question tool to present result:
question: "Spec operation completed."
details:
- Operation: [created/revised/deprecated]
- Spec: .pi/specs/<feature>.md
- Version: [new version]
- Status: [new status]
- Next step: [review / implement / archive]
options:
- "Review the spec"
- "Proceed to implementation"
- "Make changes"
cp .pi/specs/template.md .pi/specs/<feature>.md
# Then fill in content
# Read current spec
cat .pi/specs/<feature>.md
# Edit sections
# Bump version in frontmatter
# Update Revision History
# Update frontmatter: status: deprecated
# Move to archive
mv .pi/specs/<feature>.md .pi/specs/archive/<feature>-deprecated.md
# In spec frontmatter
linked_prs:
- "#123"
- "#124"
# In spec frontmatter
linked_commits:
- "abc123d"
- "def456e"