OpenSpec Spec-Driven Superpowers — Prompts
Excerpt 1: review artifact instruction (gate + optional modes)
From schemas/spec-driven-superpowers/schema.yaml:
- id: review
generates: review.md
description: Pre-implementation readiness gate and validation focus
instruction: >
Create the readiness gate for implementation.
Use the template as the section structure. This artifact records current
readiness state, not free-form notes.
Always make these sections explicit:
- `Readiness Decision`
- `Blocked By`
- `Validation Focus`
- `Key Risks`
Use mode sections only when justified by the change:
- `Execution Mode`
- `Verification Mode`
- `Debug Mode`
- `Review Request` / `Review Scope` / `Review Focus` / `Review Status`
- `Delegation Mode`
- `Parallelization Mode`
- `Worktree Mode`
- `Branch Finish Mode`
If review findings exist, `Findings Summary` must include disposition for
each meaningful finding. If a blocker or validation concern is important
here, later tasks and plans must account for it.
When superpowers is available, prefer `pre-implementation review` and
write the current judgment back into this file. Otherwise write the same
structure directly here.
Technique: Structured gate with optional mode selection. The instruction distinguishes always-required sections from mode-gated sections, avoiding bloat on simple changes.
Excerpt 2: plan artifact instruction (execution driver)
- id: plan
generates: plan.md
description: Apply-time execution plan with sequenced tasks and completion criteria
instruction: >
Create the apply-time execution plan from tasks.md.
`plan.md` is the execution driver. It may refine task boundaries, split
tasks, add implementation detail, or reorder work based on readiness
findings recorded in review.md.
When superpowers is available, prefer invoking `writing-plans` to produce
this artifact. If unavailable, write the plan directly here.
If review.md records a Delegation Mode or Parallelization Mode decision,
structure plan.md to reflect that.
Ensure plan.md and tasks.md stay consistent: if plan changes task
boundaries, update tasks.md to reflect those changes.
Technique: Dual-document consistency contract — tasks.md is source of truth, plan.md is the execution refinement. If they diverge, tasks.md must be updated.
Excerpt 3: proposal instruction (brainstorm integration)
- id: proposal
instruction: >
Create the proposal document that explains why the change exists, what
success means, and which capabilities are affected.
...
If exploratory work is needed before scope is clear, prefer invoking
superpowers `brainstorming` and retain any output at
`openspec/changes/<change>/brainstorm.md`. If that capability is
unavailable, write the same companion note manually to the same path.
Technique: Conditional skill invocation with file-based fallback. Superpowers is preferred but never required.