/git:rebase-allfrom git
Rebases all local branches onto the configured upstream branch. Handles clean replays first, then rebases remaining branches, stopping on conflicts for resolution.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve <plugin-root> before running plugin scripts:
${CLAUDE_PLUGIN_ROOT}.skills/rebase-all/SKILL.md file.Run:
<plugin-root>/scripts/rebase-all
The script first runs replay-all, which moves every branch that replays cleanly without checking it out, then rebases only the branches replay left behind.
It reads UPSTREAM_REMOTE, which defaults to upstream. When the repository has no upstream remote, pass UPSTREAM_REMOTE=origin, and suggest adding export UPSTREAM_REMOTE=origin to the project's .envrc.
If it stops on merge conflicts, resolve them in the affected branch with the git:conflicts skill, then run the script again. Repeat until it completes without errors or conflicts, naming the branch you're on and summarizing the conflicts after each pass.
Once every branch is rebased, offer to clean up merged branches with <plugin-root>/scripts/delete-merged. It deletes local branches merged into upstream main and also runs git push --delete origin for merged remote branches, so it is outward-facing. Ask the user before running it, and skip it if they decline.
What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/clean-worktreesRemove git worktrees safely without force. Use when the user asks to remove, clean up, or delete git worktrees./commitCommit local changes with careful staging and single-line messages. Use for all git commit operations./commit-chunksSplit local changes into multiple logical commits. Use when the user asks to commit changes in chunks or as several commits./conflictsResolve git merge or rebase conflicts and continue the operation. Use when a rebase, merge, or cherry-pick stops on conflicted files.npx claudepluginhub motlin/claude-code-plugins --plugin gitOther plugins' skills for the same job