/sdd:sdd-archivefrom sdd
Archives a completed change by moving its directory to an archive folder. Verifies tasks are done, checks for naming conflicts, and updates the change order file.
Ships in sdd. 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.
Read when SKILL.md points to them.
Complete a change by moving its directory to the archive.
SPECS_ROOTis resolved by thesddrouter before this skill runs. Replace.specs/with your project's actual specs root in all paths below.
Write the archive report in the voice of a professional technical writer. Prefer ASD-STE100 Simplified Technical English: short sentences, one instruction per sentence, active voice, and one term per concept. Keep identifiers, commands, paths, and RFC 2119 keywords exact.
tasks.md are complete (- [x]), except the follow-up tasks of recorded overridessdd-syncsdd-sync first (no automatic check; user judgement)sdd-archive.
Skip the notice when the user asked for the skill by name or slash command; spelling and spacing need not match.
A phrase from this skill's own trigger list is not a name — naming the work is not naming the skill.Check tasks.md for unchecked tasks before archiving.
Do not count a task that a recorded override in design.md names as its follow-up task; tell the user that each such task stays open by design.
If incomplete tasks remain:
"{N} tasks are still incomplete. Archive anyway?"
Wait for user confirmation before proceeding.
tasks.md — count complete vs. total tasks, leaving out override follow-up tasks (see Soft Gate)Target path: .specs/changes/archive/YYYY-MM-DD-<change-name>/
Where YYYY-MM-DD is today's date.
If the target already exists:
"Archive target already exists:
.specs/changes/archive/{date}-{name}/. Suggest using{name}-2or waiting until tomorrow."
Stop and ask the user how to proceed.
mkdir -p .specs/changes/archive/
mv .specs/changes/<name>/ .specs/changes/archive/YYYY-MM-DD-<name>/
Confirm the move succeeded by checking the archive path exists.
The change's .verify/ directory (if present, one directory per verify run) must move with the change; mv carries it along, so do not delete it.
Whether it enters the archived commit follows the user's ignore rule for .verify/.
If .specs/changes/ORDER.md exists, update it per references/sdd-change-formats.md § 6.5:
## Not scheduled change remains, delete ORDER.md.Check the result against the rules in § 6.4. Every active change directory must appear in exactly one section, and no archived change may appear anywhere.
Archived: .specs/changes/<name>/ → .specs/changes/archive/YYYY-MM-DD-<name>/
Tasks: {N}/{N} complete
Change order: {updated | deleted | no ORDER.md}
Ready to start: {each change in ORDER.md whose Starts after entries are all met, or "none"}
ORDER.md as a met prerequisite, instead of removing itORDER.md after the remaining changes can apply in any orderreferences/sdd-change-formats.md — change order format and maintenance (§ 6)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
10 skills in this plugin
/formal-verificationUse when the user asks for formal verification or formal methods: writing or checking a design model (TLA+, Alloy, P, Quint), proving code against contracts (Dafny, Verus, SPARK, Frama-C, Lean, Rocq), model checking, invariants, liveness, vacuous passes, or counterexamples; deciding whether a design or requirement warrants formal verification; or keeping existing formal specs and proofs current. Not for prose requirements or "spec this out" (use sdd)./sddUse when the user wants any spec-driven development action — exploring before speccing, deriving specs from code or translating specs from another system, proposing a change, applying or implementing, verifying, syncing delta specs, or archiving. Triggers: 'spec this out', 'create a change', 'apply tasks', 'verify implementation', 'sync specs', 'archive change', or any mention of 'specs' or 'sdd'./npx claudepluginhub ahgraber/skills --plugin sdd