rcom/.agents/skills/openspec/SKILL.md
2026-12-05 23:30:06 +03:00

3.5 KiB

name description allowed-tools license compatibility metadata
openspec The starting point for anything OpenSpec. Use when the user asks for OpenSpec work without naming a skill, is unsure how to do something in OpenSpec, asks where a change stands or what to do next, or asks for several OpenSpec steps at once. Also use when the user says "openspec" and no more specific OpenSpec skill fits. Bash(openspec:*) MIT Requires openspec CLI.
author version references
openspec 1.0 eac6a9f83d3b

OpenSpec helps people and coding agents agree on what software should do, and keeps that agreement true as the code changes. Each change is planned as an update to the specs, reviewed before code is written, and merged into them once it is built.

You are the starting point for anything OpenSpec in this project. Work out what the user needs, then do one of three things: answer their question, hand the request to the skill that does it, or run several skills in order.

How OpenSpec fits together

  • openspec/specs/ says how the system behaves today.
  • openspec/changes/<name>/ holds one planned change: its proposal, spec updates, design and tasks.
  • A change usually goes: explore (optional), propose, apply, verify (optional), archive. Archiving updates the specs and moves the change to openspec/changes/archive/.

When the user is unsure

If they ask where things stand or what to do next, read references/where-things-stand.md and follow it.

If they ask how OpenSpec works or how to set something up, read references/answers.md and answer from it.

Pick the skill

When the user asks for work, find the row that matches, then use that skill and follow its steps.

The user wants to Use
think an idea or problem through before deciding what to build openspec-explore
describe what to build and get the whole plan: proposal, specs, design, tasks openspec-propose
start a change and write its plan one artifact at a time openspec-new-change
write the next artifact of a change openspec-continue-change
write every remaining artifact of a change at once openspec-ff-change
revise the plan of an existing change openspec-update-change
implement the tasks of a change openspec-apply-change
check the code against a change before archiving it openspec-verify-change
update the main specs from a change and keep the change open openspec-sync-specs
finish a change and archive it openspec-archive-change
archive several finished changes at once openspec-bulk-archive-change
take a guided first run through OpenSpec openspec-onboard
  • If the request could mean more than one row, ask which, naming the choices.
  • If the required skill is unavailable, stop at that step and tell the user which skill to add using openspec config profile, then openspec update. Do not substitute another workflow unless the user explicitly requests an alternative.

Several steps at once

For requests with several steps, such as "implement this change, then archive it", run them in order, one skill at a time. Follow each skill's instructions and finish it before starting the next. Stop if a skill needs user input or is unavailable, and explain what remains. If you know a later skill is unavailable, mention it before starting.

If this project does not use OpenSpec

If you picked this skill yourself and openspec list --json reports "root": null, set OpenSpec aside and answer the request normally. If the user asked for OpenSpec, offer to set it up with openspec init.