Workflow close plan
Skill marzun9620/agent_skills/workflow/skills/workflow-close-plan
Move a completed plan to done/, record lessons learned, then commit + push. Call after /run completes or /review is APPROVED. Triggers: /close-plan, plan completion, move plan to done, record lessons.From its SKILL.md
npx -y skills add marzun9620/agent_skills --skill workflow-close-planAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 558 tokens by cl100k_base, as published. Nobody here has run it
Close Plan — Plan 完了 + Lessons 記録
Arguments
/close-plan {plan-name-or-branch} — plan ファイル名 or branch 名
Protocol
1. Plan 特定
.planning/plans/から引数に一致する plan を探す(部分一致OK)- plan が見つからなければ
.planning/plans/done/も確認(既に移動済みかもしれない)
2. Lessons 抽出
.execlog/{branch}.mdを読む- 直近の /run セッションで発生した修正パターンを振り返る:
- Codex review で出た Critical / Warning
- post-check で直した integration test の失敗
- Mode B review で指摘された cross-cutting issue
.planning/lessons.mdを読み、既存の lessons と重複しないものだけを抽出- 新規 lessons を適切なセクションに追記:
- 既存セクションに該当するものはそこに追加
- 該当セクションがなければ新セクションを作成
- 各 lesson は
- {rule}。Why: {reason}のフォーマット
3. Plan 移動
- Plan の Status を
doneに更新 - Plan ファイルを
.planning/plans/done/に移動
4. Commit + Push
git add .planning/plans/done/{plan}.md .planning/plans/{plan}.md .planning/lessons.md
git commit -m "chore: close {plan-name}, add lessons learned"
git push
Rules
- lessons.md に重複する内容を追加しない
- lessons は将来の実装に役立つもののみ(一時的なバグ修正の詳細は不要)
- plan が既に done/ にある場合は lessons 追記のみ行う
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.