Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfn2iCnRznio8YntVdx
1.9 KiB
1.9 KiB
Answers to common questions
Use this when the user asks how OpenSpec works or how to set it up. Check an answer against the CLI's own help (openspec <command> --help) before you rely on a flag.
Where things live
openspec/specs/<capability>/spec.md: how the system behaves today, as requirements with scenarios.openspec/changes/<name>/: one planned change. Usuallyproposal.md,specs/(the spec updates),design.md(optional), andtasks.md.openspec/changes/archive/: finished changes.openspec/config.yaml: the project's schema,contextlines every agent reads, and per-artifactrules.
Checking things
- What is in progress:
openspec list. The specs:openspec list --specs. - Where one change stands:
openspec status --change "<name>". - Read a change or a spec:
openspec show "<name>". - Check the files are well formed:
openspec validate "<name>", oropenspec validate --all. - A dashboard of everything:
openspec view.
Setting things up
- Set up a project, or add an agent to it:
openspec init. - Choose which skills are installed:
openspec config profile, thenopenspec updatein each project. - Refresh the skills after upgrading OpenSpec:
openspec update. - Teach agents something about this project: add a short line under
contextinopenspec/config.yaml. Edit the file only after the user approves the wording. - See or change the artifact workflow:
openspec schemaslists the schemas,openspec templatesshows where each artifact's template comes from.
Stores
A store is a separate OpenSpec repository registered on this machine, for specs that live outside the code. openspec store --help lists its commands. Most commands accept --store <id> to work in a store instead of this project.
Something is wrong
- Run
openspec doctorand read what it reports. - To tell the maintainers, use
openspec feedback "<message>", after the user approves the message.