@camacho/archive

Fills Outcomes & Learnings in a plan file and renames it to .done.md.

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md
namearchive
descriptionFills Outcomes & Learnings in a plan file and renames it to .done.md.

Inputs

  • WORKTREE: absolute path to current worktree (resolve from session CWD or git rev-parse --show-toplevel)
  • Plan file path (default: most recent non-.done.md in $WORKTREE/ai-workspace/plans/)

Steps

  1. Find the plan file:

    ls -t "$WORKTREE/ai-workspace/plans/"*.md | grep -v '.done.md' | head -1
    

    If plan is already .done.md → error: "Already archived."

  2. Read the plan file to understand what was planned.

  3. 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?

    If user skips → write "Outcomes: not recorded" (don't block).

  4. Write Outcomes & Learnings section to the plan file:

    ## Outcomes & Learnings
    
    **Completed**: [date]
    
    ### What Worked
    - [bullet points]
    
    ### What Didn't
    - [bullet points]
    
    ### Learnings
    - [bullet points]
    
  5. Rename to .done.md:

    git -C "$WORKTREE" mv ai-workspace/plans/<name>.md ai-workspace/plans/<name>.done.md
    
  6. Commit the archive:

    git -C "$WORKTREE" add ai-workspace/plans/<name>.done.md
    git -C "$WORKTREE" commit -m "docs: archive plan <name>
    
    Co-Authored-By: Claude <model>"
    

Output: Confirmation that the plan is archived with path to .done.md file.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@camacho/archive/verified)](https://skillsafe.ai/skill/@camacho/archive/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@camacho/archive/installs)](https://skillsafe.ai/skill/@camacho/archive/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@camacho/archive/scan)](https://skillsafe.ai/skill/@camacho/archive/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@camacho/archive/eval)](https://skillsafe.ai/skill/@camacho/archive/)