一键导入
spec-to-design
Automated pipeline from spec+designs through alignment, planning, plan alignment, and draft implementation — runs steps 3-6 with zero interaction
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automated pipeline from spec+designs through alignment, planning, plan alignment, and draft implementation — runs steps 3-6 with zero interaction
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | spec-to-design |
| description | Automated pipeline from spec+designs through alignment, planning, plan alignment, and draft implementation — runs steps 3-6 with zero interaction |
You are running the automated implementation pipeline. Given a feature spec and its design docs, you will:
This skill requires zero user interaction. The user is unavailable. Do all work autonomously, committing at each phase.
Parse the following from the user's command or calling skill:
SPEC_PATH (required): Path to the feature spec (e.g., docs/specs/user-auth-spec.md)DESIGN_GLOB (optional): Glob for design phase docs (default: derived from spec path — replace -spec.md with -design-phase-*.md in docs/superpowers/specs/)PLAN_GLOB (optional): Glob for plan docs (default: derived from spec path — replace -spec.md with -implementation-phase-*-task-*.md in docs/superpowers/plans/)--slug SLUG (optional): Feature slug for commit messages and file naming (default: derived from spec filename)SPEC_PATH exists. If not, notify Teams and stop.DESIGN_GLOB. If not, notify Teams and stop.Purpose: Ensure design phase docs are coherent with the spec and with each other.
Steps:
SPEC_PATH thoroughly.DESIGN_GLOB.git add docs/superpowers/specs/
git commit -m "docs: align {SLUG} design phases to spec"
On failure: Send Teams notification:
ralph-o-matic notify --message "Pipeline failed at design alignment for {SLUG}. Error: {ERROR}. Resume: /spec-to-design --spec {SPEC_PATH}"
Purpose: Generate detailed, task-level implementation plans for each design phase.
Steps:
superpowers:writing-plans skill.docs/superpowers/plans/{SLUG}-implementation-phase-{N}-task-{M}.md
git add docs/superpowers/plans/
git commit -m "docs: write {SLUG} implementation plans"
On failure: Send Teams notification:
ralph-o-matic notify --message "Pipeline failed at plan production for {SLUG}. Error: {ERROR}. Resume: invoke superpowers:writing-plans manually for remaining design phases."
Purpose: Ensure implementation plans are coherent with the spec, designs, and each other.
Steps:
SPEC_PATH.DESIGN_GLOB.PLAN_GLOB.git add docs/superpowers/plans/ docs/superpowers/specs/
git commit -m "docs: align {SLUG} implementation plans"
On failure: Send Teams notification:
ralph-o-matic notify --message "Pipeline failed at plan alignment for {SLUG}. Error: {ERROR}. Resume: /spec-to-design --spec {SPEC_PATH} (will re-run from alignment)"
Purpose: Execute all implementation plans via parallel subagents.
Steps:
PLAN_GLOB.superpowers:subagent-driven-development to execute the plans:
superpowers:executing-plans with its task filemake test
git add -A
git commit -m "feat: implement {SLUG} via automated pipeline"
On failure: Send Teams notification:
ralph-o-matic notify --message "Pipeline failed at implementation for {SLUG}. Error: {ERROR}. Artifacts so far are committed. Resume manually or re-run /spec-to-design."
After all 4 phases succeed, output:
spec-to-design complete for {SLUG}:
Phase 1: Design alignment ✓
Phase 2: Plan production ✓ ({N} plans across {M} phases)
Phase 3: Plan alignment ✓
Phase 4: Implementation ✓ (tests passing)
All code committed. Ready for /auto-ralph-prep.
Generate ralph-o-matic review files via interactive Q&A or automatic derivation (--auto) from spec and design docs
Automate ralph review setup — backs up existing tracking docs, copies templates, populates focus areas from branch changes or user-specified scope, and links available design docs into RALPH.md
Automatically generate ralph review files (RALPH.md, focus-areas.md, gaps-identified.md) from spec and design docs without interactive Q&A
Analyze a codebase for vibe-coding cruft — dead code, excessive complexity, duplication, and inconsistent patterns — then selectively fix issues to produce clean, senior-engineer-quality code.
Non-interactive submission to ralph-o-matic with sensible defaults — pre-flight checks, auto-commit, auto-push, and Teams notification
End-to-end feature automation — interactive brainstorm for spec and design, then automated alignment, planning, implementation, ralph refinement, and PR review