Git Contribute Cleanup — Git skill for Claude Code
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
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 RepositoryRelated Skills
Git Contribute Finish
Clean up after your claude-harness pull request merged, by updating master and deleting the feature branch loc
Git Contribute Sync
Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your for
PR Merged
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
Dip
Post-merge cleanup — switch to base branch, pull latest, delete the merged feature branch, restore any stash.
Open Contribute
Agent Skills that take you from "I want to contribute to open source" to a submitted pull request — and measur
Finishing A Development Branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides
Related Agents
Create PR
This agent should be invoked to open a pull request end to end or to update an existing one. This includes com
PR Open
Create a pull request for the current branch. Analyzes all commits, runs validation, and opens a well-formatte
Yago
Use this agent when the user asks to write, create, or generate a pull request description, PR description, or