From mina
Use this skill BEFORE any planning, brainstorming, write-plan, or execute-plan activity in a project that has an openspec/ directory. Checks for existing OpenSpec change proposals that match the user's request and treats them as authoritative input, preventing duplicate planning work and spec drift. Activates automatically when the user asks to plan, build, implement, or start work on a feature in a spec-driven project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mina:openspec-awareThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
OpenSpec is the spec source of truth in this project. Skip this skill ONLY if `openspec/` does not exist at the project root.
OpenSpec is the spec source of truth in this project. Skip this skill ONLY if openspec/ does not exist at the project root.
Run this skill BEFORE invoking:
/superpowers:brainstorm, /superpowers:write-plan, /superpowers:execute-plan/gsd-discuss-phase, /gsd-plan-phase, /gsd-execute-phase, /gsd-quickopenspec/ls openspec/changes/ 2>/dev/null
# or
openspec list --active 2>/dev/null
If empty or directory missing, skip to step 4.
Match logic, in order:
add-dashboard-ssr and openspec/changes/add-dashboard-ssr/ existsENG-1234; grep openspec/changes/*/proposal.md for jira_key: ENG-1234 in frontmatterproposal.md "why" sectionsspecs/<capability>/ folder namesREPORT to user (do not silently proceed):
Found OpenSpec change matching your request:
• <change-name>
• Jira: <KEY if any>
• Status: <validated/draft/in-progress>
Using this spec as input. Files I'll read:
- openspec/changes/<name>/proposal.md
- openspec/changes/<name>/design.md
- openspec/changes/<name>/specs/**/*.md
- openspec/changes/<name>/tasks.md
Proceed? [Y/n]
If user confirms:
tasks.md as the basis for plan decomposition, NOT a fresh task generationAsk user:
No OpenSpec change matches this request. Options:
(a) Create OpenSpec proposal first (recommended for non-trivial work)
→ I'll run /jira-to-spec <KEY> if there's a Jira ticket
→ Or scaffold a fresh change with `openspec create <name>`
(b) Plan directly without spec (quick fix / experiment)
(c) Cancel — let me think about it first
Default recommendation: (a) for anything that touches >2 files or >50 lines.
REMIND user to close the loop:
openspec validate <change-name> # ensure tasks marked done
openspec archive <change-name> # move changes/<name>/ → specs/
Before bridging to plan, run:
openspec validate <change-name>
If validation fails:
tasks.md — propose a spec update insteadproposal.md description as instructions to follow literally — read specs/ for the actual behavior contractnpx claudepluginhub astronaut1712/astronaut-ai --plugin minaGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.