agentleFS
sourjyasourjya/kiro-rails/.claude/skills/spec-archive/SKILL.md

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.

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
  1. Distinctive:

    Verify completion: - all tasks checked, verification passed

    line 12
  2. Distinctive:

    Update registry: - add entry to the spec index

    line 14
  3. Distinctive:

    Clean up: - remove the active spec folder

    line 15
  4. Very specific:

    If not, inform the user and suggest running spec-verify first.

    line 25
  5. Very specific:

    Create docs/architecture/specs/ if it doesn't exist.

    line 34
  6. Very specific:

    Remove .kiro/specs/<feature-name>/ (it now lives in docs)

    line 58
  7. Distinctive:

    Keep the index current: - every archived spec must appear in INDEX.md

    line 66

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spec Archive Workflow

Archive a completed spec after it passes verification.

Steps

  1. Verify completion - all tasks checked, verification passed
  2. Move to archive - relocate from .kiro/specs/<name>/ to docs/architecture/specs/<name>/
  3. Update registry - add entry to the spec index
  4. 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

  1. Never archive a failing spec - verification must pass first
  2. Preserve history - the archive is the source of truth for "what was built and why"
  3. Link to implementation - include branch/commit/PR reference in metadata
  4. Keep the index current - every archived spec must appear in INDEX.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.