alexander-kastil

Git Contribute Cleanup — Git skill for Claude Code

Git community

Delete a claude-harness feature branch you no longer need, locally and on your fork, when it has no open pull request.

How to install Git Contribute Cleanup

Installs to ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-cleanup.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alexander-kastil/claude-harness/HEAD/.claude/commands/git-contribute-cleanup.md -o ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-cleanup.md

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

What Git Contribute Cleanup does


description: Delete a claude-harness feature branch you no longer need, locally and on your fork, when it has no open pull request. argument-hint: [branch] disable-model-invocation: true

git-contribute-cleanup

For a feature branch that never made it to a pull request, or whose pull request was closed. A merged branch is cleaned up by `/git-contribute-finish`. Running this command is the instruction to delete the branch and its commits; it needs no further confirmation.

Never

  • D

Alternatives in Git

  • Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
  • Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
  • Generate PR Description — You are tasked with generating a comprehensive pull request description following the repository's standard te 10k ★

Full documentation available on GitHub

View Source Repository