/dc-specs:spec-closefrom dc-specs
Closes out a merged specification by sorting decisions, promoting lasting rules to CLAUDE.md via a reviewed PR, and posting a closing note with links.
Ships in dc-specs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Finish a merged spec. Most of what it decided stays on the spec; only a rule future work must follow moves.
Read ${CLAUDE_PLUGIN_ROOT}/references/framework.md first, then the adapter for the configured source.
H verdict latest --comments <file> --head <headRefOid> --spec <spec> --evidence <body>.spec-verify again, or says to close without one, which you record as a general amendment.frozen_fingerprint differs from the spec's (H fingerprint), or Status is changed, the spec on record is not the one verified: tell the human.confirmed, ask whether to close anyway, and record the answer as a general amendment.List every decision from the amendments, the evidence, the review thread and the verdict, one line each. Promote one only if a future change by someone who never saw this spec would go wrong without it (the framework's What outlives the change). Read the target CLAUDE.md first; do not duplicate or contradict it. One line per rule, citing the spec: Reminders use the owner's time zone (OPS-412).
Show the sorted list and get agreement. Expect most specs to promote nothing.
On a branch <spec id>-close from the default branch, edit the CLAUDE.md files and add any missing tests, commit, and open a PR titled <spec id>: promote rules from spec. Do not merge it.
Post with the adapter's Close note:
Closed by spec-close.
PR: <merged PR link>
Verdict: <verdict link> - <its Result line>
Promoted: <CLAUDE.md PR link, with the rules> | nothing
For markdown, commit it on the <spec id>-close branch, even when nothing was promoted.
Then tell the human what was promoted, the note's link, and anything left open.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub devclarityai/devclarity-marketplace --plugin dc-specs7 skills in this plugin
/report-issueUse when someone hits a problem with dc-specs itself or wants it to do something new - "report a dc-specs bug", "file an issue for dc-specs", "dc-specs did X instead of Y", "can dc-specs do X", "report issue". Files a dc-specs bug or feature request as a GitHub issue on devclarityai/devclarity-marketplace, after checking for a duplicate, with the versions filled in and nothing from the reporter's own repo. Not for bugs in the reporter's code or in other plugins./spec-authorUse when turning a ticket, issue or idea into a dc-specs spec before building it - "spec this ticket", "write a spec for OPS-412", "draft the acceptance criteria", "refine this story". Decides whether the change needs a spec, recommends a template and lets the human choose, asks the questions a QA lead and a tech lead would, and writes numbered Given/When/Then acceptance criteria onto the spec's source of truth (Jira, Linear, Azure DevOps, GitHub Issues, GitLab Issues or a markdown file). Not for test specs (RSpec, Jest), OpenAPI specs or other technical specifications./spec-implementUse when building an approved dc-specs spec in a repo that has specs/config.yaml - "build OPS-412", "implement the spec", "build it" after a spec is approved, "start on this spec". Confirms the spec is frozen and records the version it builds against, plans against the numbered acceptance criteria, builds each step the repo's way with its own skills and a passing test per criterion, and stops to ask when the spec is unclear, recording every answer on the spec as a dated amendment, fills the evidence as tests pass, and opens the PR with the evidence as its description. Never edits the frozen spec.