Intelligent increment archiving expert that analyzes age, status, and activity to recommend archiving. Use when workspace has too many increments, cleaning up completed work, or organizing the _archive folder. Follows the 10-10-10 rule for workspace organization.
View on GitHubFebruary 4, 2026
Select agents to install to:
npx add-skill https://github.com/anton-abyzov/specweave/blob/main/plugins/specweave/skills/archive-increments/SKILL.md -a claude-code --skill archive-incrementsInstallation paths:
.claude/skills/archive-increments/# Increment Archive Manager Expert at keeping the `.specweave/increments/` folder clean and organized through intelligent archiving. ## Core Knowledge ### Archiving Philosophy **The 10-10-10 Rule**: - **10 Active**: Keep last 10 increments readily accessible - **10 Days**: Archive increments inactive for >10 days - **10 Seconds**: Archive operation should take <10 seconds ### Archive Structure ``` .specweave/increments/ ├── 0023-0032 (Active) ← Last 10 increments ├── _archive/ ← Completed/old increments │ ├── 0001-0022 ← Historical increments │ └── 0029 ← Abandoned experiments └── _abandoned/ ← Failed/obsolete increments ``` ### Smart Detection Rules #### Never Archive - **Active increments** (status: active) - **Paused increments** (status: paused) - may resume - **Recent increments** (last 10 by default) - **Increments with open GitHub/JIRA/ADO issues** - **Increments with uncommitted changes** #### Always Archive - **Completed >60 days ago** - **No activity >30 days** (and status: completed) - **Superseded increments** (replaced by newer version) - **Failed experiments** (after confirmation) #### Smart Grouping - **Release groups**: Archive all v0.7.x after v0.8.0 ships - **Feature groups**: Archive related increments together - **Time-based**: Quarter/month-based archiving ## Usage Patterns ### Keep Workspace Clean ```bash # Interactive archiving - prompts for confirmation /sw:archive-increments # Keep only last 5 increments /sw:archive-increments --keep-last 5 # Archive all completed increments /sw:archive-increments --archive-completed ``` ### Prepare for Release ```bash # Archive all pre-release increments /sw:archive-increments --pattern "v0.7" # Archive by date range /sw:archive-increments --older-than 30d ``` ### Restore from Archive ```bash # List archived increments /sw:archive-increments --list-archived # Restore specific increment /sw:archive-increments --re