aiskillstore/managing-branches
> Investigates and creates Git branches.
This is a copy. The original lives at comeonoliver/managing-branches.
npx skills add https://github.com/aiskillstore/marketplace --skill managing-branches
git branch --show-current
git status --short
git fetch --all
git branch -vv
git rev-list --count <main-branch>..HEAD 2>/dev/null || echo "0" # Check CLAUDE.md for main branch name
Report: current branch, uncommitted changes, remote sync status, commits ahead of main.
git fetch origin <base-branch>
git checkout -b <new-branch> origin/<base-branch>
| Error | Action |
|-------|--------|
| Branch exists | Report to user, suggest alternative or confirm use existing |
| Uncommitted changes | git stash or commit first |
| Remote sync error | git fetch --all retry |
| Permission error | Report to user |
git status to identify conflictsgit add <resolved-file>Ask for guidance if resolution is complex.
Take aiskillstore/managing-branches from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.