spec-archive
Skill9 starsChanged 5 months agoMITView on GitHub
Archive a completed and verified spec. Moves it from active specs to the docs archive, updates the spec registry. Use after spec-verify passes.
In this repository8 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- auth-implementationSkill
- incident-responseSkill
- kiro-railsSkill
- review-guideSkill
- spec-implementSkill
- spec-proposeSkill
- spec-verifySkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Verify completion: - all tasks checked, verification passed
- Distinctive: line 14
Update registry: - add entry to the spec index
- Distinctive: line 15
Clean up: - remove the active spec folder
- Very specific: line 25
If not, inform the user and suggest running spec-verify first.
- Very specific: line 34
Create docs/architecture/specs/ if it doesn't exist.
- Very specific: line 58
Remove .kiro/specs/<feature-name>/ (it now lives in docs)
- Distinctive: line 66
Keep the index current: - every archived spec must appear in INDEX.md
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec Archive Workflow
Archive a completed spec after it passes verification.
Steps
- Verify completion - all tasks checked, verification passed
- Move to archive - relocate from
.kiro/specs/<name>/todocs/architecture/specs/<name>/ - Update registry - add entry to the spec index
- Clean up - remove the active spec folder
Process
1. Pre-Archive Check
Confirm in tasks.md:
- All
- [ ]are now- [x] - Verification Results section exists with status ✅ PASSED
If not, inform the user and suggest running spec-verify first.
2. Archive Location
Move the entire spec folder:
.kiro/specs/<feature-name>/ → docs/architecture/specs/<feature-name>/Create docs/architecture/specs/ if it doesn't exist.
3. Add Archive Metadata
Prepend to the archived proposal.md:
---
archived: YYYY-MM-DD
status: completed
implemented-in: <branch or commit reference>
---4. Update Spec Index
Append to docs/architecture/specs/INDEX.md (create if missing):
| <Feature Name> | YYYY-MM-DD | Completed | Brief description |5. Clean Up
- Remove
.kiro/specs/<feature-name>/(it now lives in docs) - Inform the user the spec is archived
Rules
- Never archive a failing spec - verification must pass first
- Preserve history - the archive is the source of truth for "what was built and why"
- Link to implementation - include branch/commit/PR reference in metadata
- Keep the index current - every archived spec must appear in INDEX.md
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.

