neopjm109/agent.oliver/branch-operator
Claude Code and agent skill by neopjm109/agent.oliver
- community
Checking that the SKILL.md file is still in the repository.
Create, switch, or delete work branches under the branch-safe contract — stash-safe, refusing to mutate or delete a protected branch, and never force-deleting unmerged work — for explicit branch lifecycle operations. Operational (runs git).
Install
npx vskill@latest install neopjm109/agent.oliver/branch-operatorSKILL.md
The same SKILL.md was published earlier as neopjm109/agent.oliver/branch-operator.
Goal
Perform work-branch lifecycle operations — create, switch, or delete — as a reusable primitive for the vcs pipeline. Operational — it runs git — under the branch-safe contract: protected branches are never renamed/deleted or checked out for mutation, switches are stash-safe, and unmerged work is never force-deleted.
Inputs
Output
Workflow
Step 1 — Guard the contract
Reject the op if branch is in protected (no creating-over, switching-to-mutate, or deleting a protected branch). For delete, also reject the branch you are currently on.
Step 2 — Stash if needed
If the working tree is dirty and the op requires a switch, git stash first; restore afterward.
Step 3 — Execute
create:git switch -c <branch> <base>(fails if it already exists — report, do not reset).switch:git switch <branch>(stash-safe).delete:git branch -d <branch>(safe delete). Ifrequire_mergedand it is not merged,
refuse — never git branch -D/force-delete unmerged work.
Rules
- Never create-over, checkout-to-mutate, rename, or delete a protected branch.
- Never force-delete (
-D) an unmerged branch; use safe delete (-d) and refuse when unmerged. - Stash-safe: a dirty tree is stashed before a switch and restored after.
- Single-purpose primitive: this owns branch lifecycle only — commits are
commit-applier, integration isbranch-integrator.
Examples
Input:
Output (abridged):
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingv1/skills/vcs/branch-operator/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neopjm109/agent.oliver/branch-operator)