Intelligent increment archiving expert. Analyzes increment age, status, and activity to recommend archiving strategy. Keeps workspace clean while preserving history. Activates for archive increments, clean workspace, too many increments, archive old, archive completed, preserve history, _archive folder.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Expert at keeping the .specweave/increments/ folder clean and organized through intelligent archiving.
The 10-10-10 Rule:
.specweave/increments/
├── 0023-0032 (Active) ← Last 10 increments
├── _archive/ ← Completed/old increments
│ ├── 0001-0022 ← Historical increments
│ └── 0029 ← Abandoned experiments
└── _abandoned/ ← Failed/obsolete increments
# 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
# Archive all pre-release increments
/sw:archive-increments --pattern "v0.7"
# Archive by date range
/sw:archive-increments --older-than 30d
# List archived increments
/sw:archive-increments --list-archived
# Restore specific increment
/sw:archive-increments --restore 0015
{
"archiving": {
"keepLast": 10, // Keep last 10 increments
"autoArchive": false, // Manual by default
"archiveAfterDays": 60, // Archive after 60 days
"preserveActive": true, // Never archive active
"archiveCompleted": false // Manual control
}
}
{
"archiving": {
"keepLast": 5, // Minimal workspace
"autoArchive": true, // Auto-archive on completion
"archiveAfterDays": 14, // Archive after 2 weeks
"archiveCompleted": true // Auto-archive completed
}
}
When asked about archiving, I analyze:
Based on analysis, I suggest:
--pattern "v0.7" (all v0.7.x increments)--pattern "auth|login" (auth-related)--older-than 30d (time-based)--archive-completed (all completed)/sw:done can trigger auto-archive/sw:status shows archive statistics/sw:next considers archived increments# Archive old increments
/sw:archive-increments --older-than 30d
# Keep workspace minimal
/sw:archive-increments --keep-last 5
# Archive after release
/sw:archive-increments --pattern "pre-release"
# Restore for reference
/sw:archive-increments --restore 0015
# Check archive stats
/sw:archive-increments --stats