mcpbeat

Managing Branches

aiskillstore/managing-branches

> Investigates and creates Git branches.

This is a copy. The original lives at comeonoliver/managing-branches.

4k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
404
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/aiskillstore/marketplace --skill managing-branches

What comes with it

14 822 bytes besides the instruction
skill-report.json

What it tells the agent to use

found in the instruction text
Bash runs shell commands — read the instruction before connecting

The instruction itself

5 sections, as written by the author

Branch Investigation

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.

Branch Creation

git fetch origin <base-branch>
git checkout -b <new-branch> origin/<base-branch>

Error Handling

| 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 |

Conflict Resolution

  • git status to identify conflicts
  • Resolve each file
  • git add <resolved-file>
  • Continue operation

Ask for guidance if resolution is complex.

Completion Report

  • Current branch name
  • Branch creation result (if applicable)
  • Any issues encountered

How to use it

Copy the folder

Take aiskillstore/managing-branches from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.