
Aif Archive
Archive completed plans and roadmap milestones.
Install
npx skills add lee-to/ai-factory --skill aif-archive -g -a claude-code -y- Repository
- lee-to/ai-factory1.2k
- Category
- Engineering
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Archive completed plans and roadmap milestones. Moves finished plans to the archive directory and optionally trims closed milestones from ROADMAP.md. Use when user says \"archive plans\", \"clean up plans\", \"archive completed\", or \"trim roadmap\".
Archive, Move completed plans and roadmap snapshots
Shared project skill-context
Before mode routing or work, read existing files relative to the current project root in this order (reuse them if already loaded):
.ai-factory/skill-context/global-skill-context.md, all bundled skills..ai-factory/skill-context/aif-archive/SKILL.md, this skill.
Missing files are skipped; an existing unreadable file stops dependent work with its path.
Precedence: individual > build (when applicable) > global > skill defaults; retain non-conflicting instructions and check all outputs against the effective rules.
These layers customize workflow; they do not replace the project's rules/architecture hierarchy or relax explicit requirements, ownership, scope, safety/privacy, validation, or approval boundaries. Report conflicts with those boundaries instead of overriding them.
global is a project-local layer, not home-directory configuration. Custom/extension skills do not automatically use it.
Archive completed single-file plans and ultra bundle directories from
paths.plans/ into paths.archive/plans/ and
optionally trim closed milestones from ROADMAP.md into dated snapshots
under paths.archive/roadmap/.
Workflow
Step 0: Load Config
Read .ai-factory/config.yaml if it exists to resolve:
paths.plans(default:.ai-factory/plans/)paths.archive(default:.ai-factory/archive/)paths.plan(default:.ai-factory/PLAN.md)paths.fix_plan(default:.ai-factory/FIX_PLAN.md)paths.roadmap(default:.ai-factory/ROADMAP.md)workflow.plan_id_format(default:slug), active values:slugandsequential.timestampanduuidare reserved and behave likeslug. Treat any unknown value asslug.language.uifor user-facing prompts
If config doesn't exist, use defaults listed above.
