Finish Plan — Git skill for Claude Code
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
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 RepositoryRelated Skills
Cr Public
Babysit a PUBLIC propagation PR (default repo yotamleo/Himmel) to CR-clean + CI-green before the operator merg
Ff
Fast-forward merge only - update branch without rebase or merge commits
Finish PR
Post-merge cleanup -- verify merge state, sync dev, delete branch, close issue
Wrap Up
Full session closeout in one pass - reflect, then notes, then the git sync ritual, ending with the work pushed
Epic Plan
Plan a new epic against a real codebase and a real project board, then — only after explicit approval — create
Cmt
When user uses /cmt slash command, commit current git changes using fast mode by default, or strict mode when
Related Agents
PR Creator
Opens a GitHub pull request for the current branch using gh pr create. Use when work is committed and pushed a
Plan Rollout Coder
Coding sub-agent for a plan-rollout run. Builds or fixes one PR (or a slice branch cut from it) inside a workt
Invariant Checker
Fast specialist that checks whether a piece of work preserves its emotional invariant (WONDER by default, or a