Start a new OpenSpec change
Scaffold a change directory and hand the caller the first artifact's template, then stop — drafting content is a separate turn.
Steps
Ensure the project schema is installed. Check whether
openspec/config.yamlandopenspec/schemas/rhdh-spec-driven/already exist. Only if either is missing, invoke/rhdh-spec-driven-schemaand run its project-install step. Then confirm withopenspec schemas --jsonthatrhdh-spec-drivenis listed.Get the change name. If the user's request already names it or describes what they want to build, derive a kebab-case name (e.g. "add user authentication" ->
add-user-auth). Otherwise ask what they want to build or fix; do not proceed without knowing.Pick the schema. Prefer
rhdh-spec-driven(now on disk). Pass--schema rhdh-spec-driven, or omit--schemato take the configured default fromopenspec/config.yaml. If the user names another available schema fromopenspec schemas --json, use that instead.Create the change directory:
openspec new change "<name>" [--schema <name>]This scaffolds
openspec/changes/<name>/with the selected schema.Show status:
openspec status --change "<name>"Get the first artifact's instructions. Find the first artifact with
status: "ready"in the status output (schema-dependent —proposalforrhdh-spec-driven), then:openspec instructions <first-artifact-id> --change "<name>" --jsonRead
/rhdh-spec-driven-schemafor what thecontext,rules, andtemplatefields in that response mean before summarizing them.Stop and wait for user direction.
Output
Summarize: change name and location, schema and its artifact sequence
(proposal -> {specs, design} -> tasks for rhdh-spec-driven — specs and
design are siblings that each depend only on proposal), current status (0/N
artifacts complete), and the template for the first artifact. Close with:
"Ready to create the first artifact? Describe what this change is about and
I'll draft it, or ask me to continue."
Guardrails
- Do not create any artifacts yet — only show the first artifact's template.
- Do not advance beyond the first artifact.
- If the name is not valid kebab-case, ask for a valid one.
- If a change with that name already exists, suggest continuing that change instead of creating a duplicate.
Completion
Complete when the change directory exists, its schema is confirmed, and the first artifact's template has been shown to the user — without any artifact file having been written yet.