alexander-kastil

Git Contribute Finish — Git skill for Claude Code

Git community

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

Terminal
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

  1. 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 Repository