Spec close
Skill ainova-systems/intelligence-dev-packs/packs/spec/skills/spec-close
After merge, mark a spec completed and archive it per the project conventionFrom its SKILL.md
npx -y skills add ainova-systems/intelligence-dev-packs --skill spec-closeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 1 command, including `gh pr view <pr> --json state,mergedAt`.
SKILL.md
1.8 KB, 383 tokens by cl100k_base, as published. Nobody here has run it
Close a Spec
Post-merge bookkeeping: mark a shipped spec completed and retire it, so the queue and the docs reflect reality. Runs after the owner accepts and git-merge-pr lands the change. spec-execute-next invokes this in its reset for merged specs; it also runs standalone.
Steps
- Resolve the spec. Confirm it actually shipped: its PR is
MERGED(gh pr view <pr> --json state,mergedAt) andtasks.mdis fully ticked. Not merged or tasks unticked - STOP and report; it is not done. - Ensure the docs reconciliation landed in the merged change (
spec-executePhase D): the feature doc reflects the new behavior, durable rules and decisions were extracted. If anything is missing, apply it now (viaspec-document) - the feature doc is the durable record, the spec is not; never close on stale docs. - Set
status: completedwith the date. - Archive per the project convention (learn from shipped specs): keep the numbered folder (default), move to
specs/_archive/, or delete the plan file if the project deletes shipped plans. Never lose the record silently. - Report: spec closed, where it was archived, the feature doc(s) it updated.
Verify
status: completed; PR merged and tasks ticked confirmed; the durable feature doc carries the shipped behavior.
Scope / hand-off
- Merging the PR -
git-merge-pr(owner accept first). Resuming an unfinished spec -spec-continue.
CRITICAL
- Never mark completed without a merged PR and fully-ticked tasks - that is the definition of done.
- The feature doc, not the spec, is the durable record; closing confirms the behavior moved there.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.