Git Contribute Finish — Git skill for Claude Code
Clean up after your claude-harness pull request merged, by updating master and deleting the feature branch locally and on your fork.
How to install Git Contribute Finish
Installs to ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-finish.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alexander-kastil/claude-harness/HEAD/.claude/commands/git-contribute-finish.md -o ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-finish.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Contribute Finish does
description: Clean up after your claude-harness pull request merged, by updating master and deleting the feature branch locally and on your fork. Step 9 of CONTRIBUTE.md. argument-hint: [branch] disable-model-invocation: true
git-contribute-finish
Running this command is the instruction to delete the merged branch; it needs no further confirmation.
Never
- Delete a branch whose pull request has not merged.
- Commit on
master, or push to the owner's repo.
Steps
- Remotes:
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Repo Dive — Deep dive into a GitHub repo - clone locally and analyze with full toolchain 508 ★
- Vibe Log — by Vibe-Log - Analyzes your Claude Code prompts locally (using CC), provides intelligent session analysis and 306 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Git Contribute Sync
Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your for
Git Contribute PR
Open the pull request from your claude-harness feature branch against the owner's master, after syncing it wit
PR Post Merge
Clean up after a PR is merged — close fork issue, update local branch, delete issue branch
Jj Finish
Clean up after a PR at the bottom of the stack has been merged.
Branch Cleanup
Clean up merged, stale, and orphaned git branches. Protects main/develop/release/ automatically. Supports --dr
Clean After Merged
Switch to the repo's main branch, pull, and delete the just-merged local branch.
Related Agents
Branch Hygiene
MUST be used whenever the user asks to find stale, merged, or orphaned git branches, or asks to review/clean u
Branch Gardener
Triages local branches and stashes in a managed repo (merged, stale, superseded, unpushed) and proposes deleti
Git Command Manager
Git 워크플로우 전용. new, switch, sync, fork 예약어 실행 시 사용. ~/.claude/commands 스펙을 읽고 현재 워크스페이스에서만 실행. clone/finish/rev