andrewr303/ultimate-sdd
Local-first spec-driven development: PRDs, EPICs, REQs, verifiable TASKs, CHANGE deltas, and delivery pipelines.
Main entry point for the Ultimate SDD plugin. Routes any planning request to the right sub-skill across the Context, PRD, Plan, Change, and Pipeline layers, then executes it in this conversation. Use when the user selects the orchestrator, runs /ultimate-sdd:go, or asks for planning work without naming a specific stage — "create EPICs and REQs for X", "plan this", "write a PRD", "propose a change", "what's next", "run the pipeline".
Orchestrate the full planning loop — Frame, Spec, Scope, Load, Verify — turning raw ideas or existing PRDs into EPICs, REQs, and AI-ready tasks using platform context. Use when the user wants to plan a feature, create a project plan, turn an idea into requirements and epics, run /ultimate-sdd:plan or /plan, or says "plan this", "babysitting plan", or "make this agent-ready".
Implement an active CHANGE by loading and building its ready TASKs. Use when the user says apply the change, implement the change, opsx apply, or runs /ultimate-sdd:apply.
Merge a CHANGE's delta specs into docs/plan/truth/ and move the folder to changes/archive/. Use when the user says archive, sync specs, merge deltas, opsx archive, or runs /ultimate-sdd:archive or /ultimate-sdd:sync.
Autopilot LEAD: classify a task into a pipeline and walk propose → apply → review → retain → archive, pausing at gates. Use when the user says auto, autopilot, rasen-auto, run the pipeline, or /ultimate-sdd:auto.
Show the Plan / Build / Published board and the SPEC tree — readiness label, effort, blockers, selected acceptance criteria, ready-count. Use when the user asks for status, the board, the spec tree, what's next, or runs /ultimate-sdd:board.
Append a machine-readable checkpoint for an existing qualified TASK, optionally recording an explicit commit association. Use when saving task recovery state, checkpointing progress, or running /ultimate-sdd:checkpoint; use plan-handoff for authored session notes.
Build the context catalog: scan the repo into platform.md, or ingest a company/project/plan source (repo, PDF, paste, website, transcript, MCP). Use when starting a plan, adding context, attaching a brand guide or call notes, before specifying, or when the user runs /ultimate-sdd:context.
Split a CHANGE that is too large into child changes with a conservative serial/parallel policy. Use when the user says decompose, split this change, auto-decompose, or /ultimate-sdd:decompose.
Resolve architecture decisions for an existing REQ or CHANGE without implementing it. Use when the user asks for technical design, design a requirement or change, compare architecture options, or runs /ultimate-sdd:design REQ-n or /ultimate-sdd:design CHANGE-n.
Frame a messy idea into a product brief and senior-engineer clarifying questions, using company/project/plan context. Use when the user describes a feature like they would tell a colleague, wants a brief, says "frame this", "describe with context", or runs /ultimate-sdd:frame.
Goal-driven iteration: define a measurable/evaluable/research gate, then modify → judge until it passes or the round cap hits. Use when the user says goal loop, drive this metric, rasen-goal, or /ultimate-sdd:goal.
Preserve and update the authored session distillate so the next turn or post-compact session can resume from disk. Use when the user says handoff, session notes, rasen-handoff, or /ultimate-sdd:handoff. Use plan-checkpoint for machine-readable task snapshots.
Create a project plan of EPICs and sequenced REQs (also shown as a SPEC tree with Rough/Shaping/Ready and Low/Med/High effort) from an aligned brief or PRD. Use when the user says create project plan, shape this into specs, explode a spec, or runs /ultimate-sdd:project.
Propose a brownfield change: one-intent folder with proposal, ADDED/ MODIFIED/REMOVED delta specs, and optional design. Use when the user says propose, new change, delta spec, opsx propose, or runs /ultimate-sdd:propose.
Push ready REQs to Linear as a parent issue (EPIC) plus child issues (REQs) with blockers and acceptance criteria. Use when the user says push to Linear, export issues, or runs /ultimate-sdd:push.
Recover current planning state read-only from the live graph, completion gates, checkpoints, and authored handoff. Use after an interruption or compact, when continuing a session, or when running /ultimate-sdd:resume.
After a shipped CHANGE, evaluate durable lessons. Zero lessons is success. Use when the user says retain, learned skill, rasen-retain, or /ultimate-sdd:retain.
Preview a conservative rollback plan from explicit, proven task-to-commit associations without executing it. Use when asked to undo a TASK, REQ, or CHANGE, inspect rollback safety, or run /ultimate-sdd:revert.
Review-cycle: review the implemented diff against the REQ/CHANGE, triage findings, fix, and re-review with current evidence. Use when the user says review cycle, re-review, rasen-review, or /ultimate-sdd:review-cycle.
Set up or resume missing Ultimate SDD project scaffolding without replacing existing work. Use when onboarding a greenfield or brownfield repo, repairing missing setup artifacts, inspecting project policy, or running /ultimate-sdd:setup.
Implement one TASK with evidence-backed red, green, and refactor cycles. Use before changing behavior during apply or load-and-build, for a TDD request, or when an implementer needs tests for written AC. Also use for /ultimate-sdd:tdd. Records explicit applicability exceptions for docs, configuration, and projects without a test harness.
Enter PRD discovery mode - a thinking partner for exploring product ideas, sharpening problem statements, and stress-testing scope before writing a PRD. Use when the user wants to think through a product idea, isn't ready to write yet, or is stuck on scope or strategy.
Reverse-engineer an in-depth PRD from an existing codebase or feature - documenting actual behavior, inferring intent, and flagging gaps. Use when the user wants a PRD, spec, or requirements doc for something already built, or needs documentation for legacy/inherited code.
Improve an existing PRD - deepen thin sections, fix ambiguities, add missing scenarios and metrics, restructure to a rigorous format. Use when the user has a PRD, spec, or requirements doc that needs to be strengthened or updated.
Create an extremely in-depth PRD from scratch through structured discovery. Use when the user wants to write a new PRD, product spec, or requirements document for a feature or product idea.
Review and score a PRD against a 10-dimension rubric with CRITICAL/WARNING/SUGGESTION findings and concrete fixes. Use when the user wants a PRD critiqued, reviewed, scored, or checked for readiness before engineering handoff.
Decompose a ready REQ into atomic, sequenced, AI-ready TASKs with explicit dependencies and owned acceptance criteria. Use when the user says scope, break down the requirement, create tasks, see the build as steps, or runs /ultimate-sdd:scope.
Specify or refine a REQ into an implementation-ready spec with clarifying questions, exact values, Given/When/Then acceptance criteria, and a 1–5 readiness score. Use when the user says specify REQ, refine a requirement, click Specify, start the Specify→Refine→Build pipeline, or runs /ultimate-sdd:specify or /ultimate-sdd:refine.
Load the next unblocked TASK as a complete agent brief — context, implementation steps, and acceptance criteria. Use when the user says load the task, next task, start building, hand this to the agent, or runs /ultimate-sdd:load or /ultimate-sdd:next.
Verify implementation against the written acceptance criteria, attach proof, and send failures back with context already attached. Use when the user says verify, check the work against the spec, pass or send back, or runs /ultimate-sdd:verify.