archive
Installation
SKILL.md
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?