openspec-update-change
Skill246 starsChanged 46 days agoApache-2.0View on GitHub
Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the user wants to revise a change's plan, fold new decisions into it, or reconcile its artifacts after an edit. Never edits code.
We split this skill into the rules it gives an agent
13 rules. 9 are common, 0 are distinctive, and 4 are very specific to this project.
9
Common
Most of the 75 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 25
If a name is provided, use it.
- Very specific: line 28
If ambiguous, run openspec list --json to get available changes sorted by most recently modified, and ask the user to select one
- Common: line 30
When prompting, present the top 3-4 most recently modified changes as options, showing:
- Very specific: line 38
Always announce: "Using change: <name>" and how to override (e.g., /openspec-update-change <other>).
- Common: line 55
If the user asked for a specific revision ("the design now uses X"), that is the starting edit.
- Common: line 56
If they only said "update" / "make this coherent", treat it as a coherence review: read the existing artifacts and check them against each …
- Common: line 59
Read the artifact(s) the request touches and the change's other existing artifacts.
- Common: line 63
If the change is already coherent, say so and make no edits.
- Common: line 67
If the user rejects a revision, do not write it - leave that artifact unchanged.
- Common: line 68
When a substantial rewrite is needed, get that artifact's rules and template first:
- Common: line 80
After each invocation, show:
- Very specific: line 87
Use the artifact ids and paths reported by openspec status.
- Very specific: line 89
Do not advance the build frontier: no new artifacts, no new files under glob artifacts - that is /openspec-continue-change's job.
“Common” is measured: kept by at least 6 in 10 of the 75 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Revise a change's existing planning artifacts and keep them coherent. Never edit code.
Store selection: If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run openspec store list --json to discover registered store ids, then pass --store <id> on the commands that read or write specs and changes (new change, status, instructions, list, show, validate, archive, doctor, context, schemas, view). Once selected, treat --store <id> as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run openspec status --change "<name>" --json --store "<id>", not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local openspec/ root.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
/openspec-continue-change is an optional workflow and may not be installed. Before suggesting it anywhere below, verify that it is available. If it is unavailable, openspec status --change "<name>" --json shows the next artifact and openspec instructions "<artifact-id>" --change "<name>" --json explains how to create it.
Steps
Select the change
If a name is provided, use it. Otherwise:
- Infer from conversation context if the user mentioned a change
- Auto-select if only one active change exists
- If ambiguous, run
openspec list --jsonto get available changes sorted by most recently modified, and ask the user to select one
When prompting, present the top 3-4 most recently modified changes as options, showing:
- Change name
- Schema (from
schemafield if present, otherwise "spec-driven") - Status (e.g., "0/5 tasks", "complete", "no tasks")
- How recently it was modified (from
lastModifiedfield)
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to update.
Always announce: "Using change:
<name>" and how to override (e.g.,/openspec-update-change <other>).Get the change's artifacts
openspec status --change "<name>" --jsonParse the JSON to understand current state. The response includes:
schemaName: The workflow schema being used (e.g., "spec-driven")artifacts: Array of artifacts with their status ("done", "skipped", "ready", "blocked")isPlanningComplete: Boolean indicating if all planning artifacts are complete. Older CLI versions expose the same value asisComplete.planningHome,changeRoot,artifactPaths, andactionContext: path and scope context. Use these instead of assuming repo-local paths.
The artifact ids and paths come from the active schema - do NOT assume them, and do NOT branch on hardcoded artifact names. Custom schemas must work unchanged.
The files to edit are
artifactPaths.<id>.existingOutputPaths- the concrete files that exist on disk, already glob-expanded for glob artifacts (e.g.specs/**/*.md). Do NOT write toresolvedOutputPath: for a glob artifact it is still the glob pattern, not a real file.- Understand the request
- If the user asked for a specific revision ("the design now uses X"), that is the starting edit.
- If they only said "update" / "make this coherent", treat it as a coherence review: read the existing artifacts and check them against each other for contradictions, gaps, and duplication.
- Read and reconcile
- Read the artifact(s) the request touches and the change's other existing artifacts.
- Apply the requested edit. Then check every other existing artifact against it - in ANY direction: an edit to a later artifact may require revising an earlier one, not only the other way around. Build order is a useful reading order, not a constraint on which artifacts may be revised.
- Note everything that is now inconsistent, missing, or contradictory.
- Revise only files that already exist (
existingOutputPaths). Do NOT create artifacts that don't exist yet, and do NOT invent new files under a glob artifact - note them and point the user to/openspec-continue-changeto create them. - If the change is already coherent, say so and make no edits.
- Confirm and apply, one artifact at a time
- Show each proposed revision and why. Write only after the user confirms.
- If the user rejects a revision, do not write it - leave that artifact unchanged.
- When a substantial rewrite is needed, get that artifact's rules and template first:
openspec instructions "<artifact-id>" --change "<name>" --json
- Point to the next step (guidance only - NEVER act on it)
- Artifacts still missing -> suggest
/openspec-continue-changeto create them. - Change already implemented (tasks checked off / already applied) -> the code may no longer match the revised plan; suggest
/openspec-apply-changeto carry the delta into code. - Everything done and implemented -> suggest
/openspec-archive-change.
- Artifacts still missing -> suggest
Output
After each invocation, show:
- Which artifacts were revised (and which proposed revisions were rejected)
- Anything deferred to
/openspec-continue-change(not-yet-created artifacts or files) - Where the change stands and the recommended next command
Guardrails
- Planning artifacts only - NEVER edit implementation code. If the revised plan implies code changes, stop and point to
/openspec-apply-change. - Use the artifact ids and paths reported by
openspec status; never branch on hardcoded artifact names. - Edit only the concrete files in
existingOutputPaths; never write to a globresolvedOutputPath. - Do not advance the build frontier: no new artifacts, no new files under glob artifacts - that is
/openspec-continue-change's job. - Confirm every edit with the user before writing.
- If the request changes the change's intent rather than refining it, first verify whether the optional
/openspec-new-changeworkflow is available. If it is, recommend starting fresh with/openspec-new-change(the "Update vs. Start Fresh" heuristic). If it is unavailable, ask for a distinct unused change name and recommendopenspec new change "<new-change-name>"instead.
Other versions77 projects use a version of this.
Word for word · 1
- mcabreradev/hermes-sdd-agency★ 1100% same
Edited · 75
- Fission-AI/OpenSpec★ 74k48% same
- halo-dev/halo★ 40k86% same
- databasus/databasus★ 9.2k88% same
- RostislavDugin/postgresus★ 9.1k87% same
- aiogram/aiogram★ 5.9k86% same
- MCSManager/MCSManager★ 5k47% same
- Azure/azure-cli★ 4.7k86% same
- owncloud/android★ 4.2k93% same
- BytePioneer-AI/codex-host★ 3.1k47% same
- belav/csharpier★ 2.3k86% same
65 more not listed
Wrote their own version · 1
- studyzy/OpenSpec-cn★ 1.2ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use draft-openspec-docs, release-openspec and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
studyzySkilldraft-openspec-docs
OpenSpec 文档的协作式页面起草模式。在目标页面内部构建一份草稿计划(目的、结构、编号起草步骤),与用户一起迭代,然后按已批准的步骤逐章节起草,并在完成后清理自身。在页面需要从头重写,或一个新区块需要用户参与塑形时使用。
Also in 3 projects that use this
studyzySkillrelease-openspec
Use this skill when releasing OpenSpec: audit merged work and changeset coverage, decide whether a catch-up changeset PR is needed, prepare or resume the Changesets Version Packages PR, cut a beta or stable release, verify publishing, and polish GitHub release notes. Also use when asked whether an open release PR is complete, what the next release step is, or to continue a release paused for human approval.
Also in 3 projects that use this
MicrosoftSkillopenspec-onboard
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
Also in 13 projects that use this
MicrosoftSkillopenspec-ff-change
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
Also in 13 projects that use this
ElasticSkillopenspec-continue-change
Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change, create the next artifact, or continue their workflow.
Also in 13 projects that use this
ElasticSkillopenspec-new-change
Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.
Also in 12 projects that use this
- +2 more from studyzy
- +1 more from microsoft
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- cavemanSkill
- design-an-interfaceSkill
- diagnoseSkill
- docouture-authoring-guidesSkill
- docouture-docs-internalsSkill
- docouture-docs-versioningSkill
- docouture-documenting-changesSkill
- docouture-getting-startedSkill
- docouture-writing-docs-pagesSkill
- edit-articleSkill
- git-guardrails-claude-codeSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- improve-codebase-architectureSkill
- migrate-to-shoehornSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- prototypeSkill
- qaSkill
- request-refactor-planSkill
- reviewSkill
- scaffold-exercisesSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- tddSkill
- teachSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- ubiquitous-languageSkill
- write-a-skillSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- zoom-outSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

