archive
Inputs
WORKTREE: absolute path to current worktree (resolve from session CWD orgit rev-parse --show-toplevel)- Plan file path (default: most recent non-
.done.mdin$WORKTREE/ai-workspace/plans/)
Steps
-
Find the plan file:
ls -t "$WORKTREE/ai-workspace/plans/"*.md | grep -v '.done.md' | head -1If plan is already
.done.md→ error: "Already archived." -
Read the plan file to understand what was planned.
-
Gather outcomes: Ask the user (or infer from git log + branch context):
- What worked well?
- What didn't go as planned?
- What would you do differently?
More from camacho/ai-skills
bail
Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.
566plan-review
Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.
547orient
Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.
537capture
Creates a draft GitHub Issue with triage label from natural language description.
535reflect
Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.
500status
Project status dashboard — open issues, recent commits, active branches/worktrees, memory state, and scratchpad. Use when the user asks for a status report, project overview, "what's going on", "where are we", or wants to catch up on project state without the full /catchup reconstruction.
481