polewskm

Finish Plan — Git skill for Claude Code

Git community

Finish a plan whose work is pushed — retire PLAN.md, fast-forward the default branch, delete the plan's branch.

How to install Finish Plan

Installs to ~/.claude/commands/polewskm-project-template-finish-plan.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/polewskm/project-template/HEAD/.claude/commands/finish-plan.md -o ~/.claude/commands/polewskm-project-template-finish-plan.md

Restart Claude Code, or start a new session, for it to be picked up.

What Finish Plan does


description: "Finish a plan whose work is pushed — retire PLAN.md, fast-forward the default branch, delete the plan's branch" argument-hint: "[Optional extra instructions; the plan's worktree name when several are open]" model: sonnet effort: high disable-model-invocation: true

Finish the plan's worktree

Each plan lives in its own git worktree under `.claude/worktrees//`, on the branch `worktree-`. This command also removes that worktree, so the task below runs in two pla

Alternatives in Git

  • Contributing To Context-mode — This project is licensed under the Elastic License 2.0 (ELv2) and moves forward with your support 5.6k ★
  • Agent Flow — Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and coordinate as 668 ★
  • Worktree Rm — Remove a git worktree and optionally delete its branch 387 ★

Full documentation available on GitHub

View Source Repository