智能体工作流

archive

camacho/ai-skills

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

  • 710 次安装
  • 1 星标
  • 收录于

安装命令

npx skills add https://github.com/camacho/ai-skills --skill archive

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