# openspec-archiving

Archives completed change proposals and merges requirement deltas into living project documentation following deployment.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1000 installs · ★ 10
- Author: forztf
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/forztf/open-skilled-sdd/tree/HEAD/skills/openspec-archiving/SKILL.md
- Updated: 2025-11-28
- HTML: https://affpapa.org/en/nevibecode/skills/openspec-archiving

## What it does

The skill manages moving finished task folders from `spec/changes/` into timestamped archive directories under `spec/archive/`. It starts by checking for an `IMPLEMENTED` marker, verifying tasks in `tasks.md`, and checking `git status`. Unfinished work will stop the process.

Next, the agent processes requirement deltas sorted by `ADDED`, `MODIFIED`, and `REMOVED` sections. New requirements append to living specs under `spec/specs/`. Modified sections get overwritten completely, while removed entries receive deprecation date notes. Finally, the source folder moves into the archive and header structures are validated.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add forztf/open-skilled-sdd --skill openspec-archiving -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/openspec-archiving/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/openspec-archiving/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add forztf/open-skilled-sdd --skill openspec-archiving -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/openspec-archiving/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add forztf/open-skilled-sdd --skill openspec-archiving -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/openspec-archiving/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install forztf/open-skilled-sdd openspec-archiving
```

2. **Manually: put the files in place**
- File: `.github/skills/openspec-archiving/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add forztf/open-skilled-sdd --skill openspec-archiving -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/forztf/open-skilled-sdd --path skills/openspec-archiving
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/openspec-archiving/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add forztf/open-skilled-sdd --skill openspec-archiving -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/forztf/open-skilled-sdd/tree/HEAD/skills/openspec-archiving/SKILL.md

## When to use it
- move completed proposals into a timestamped archive directory
- append newly added requirements from deltas into living specs
- replace modified requirement blocks in specification files
- document removed scenarios with deprecation comments

## Example prompts
- Archive the finished proposal for `add-user-auth` and update living specs
- Check task completion for `payment-gateway` and move its folder to the archive
- Merge specification deltas from the changes directory into living documentation

## Similar
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [handoff](https://affpapa.org/en/nevibecode/skills/handoff.md) — skill · 1038491 installs
- [triage](https://affpapa.org/en/nevibecode/skills/triage.md) — skill · 990453 installs
- [domain-modeling](https://affpapa.org/en/nevibecode/skills/domain-modeling.md) — skill · 876391 installs

From the same set: [forztf/open-skilled-sdd](https://affpapa.org/en/nevibecode/by/forztf/open-skilled-sdd.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
