
branch
Create or switch to a Git branch for the current task. Use whenever starting work on a ticket, feature, or fix, whenever the user says "make a branch" or "new branch", and before committing work that would otherwise land on the default branch.
- Installs
- 214
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/owainlewis/blueprint --skill branch- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads branch automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Branch
- Check the current branch,
git status --short, remotes, and task details. - Name it. A name from the user wins as given. Otherwise use
<ticket-id>-<short-kebab-summary>, or just the summary if there is no ticket. Follow the repo's existing naming style. - Fetch, then branch from the latest default branch when a remote exists, unless the user says otherwise.
- If the branch already exists, switch to it and report commits it has beyond the base.
- Report the branch name, its base, and any uncommitted work that was present.
Rules
- Never stash, discard, or force through uncommitted work. If switching is blocked, stop and ask.
- Never invent ticket IDs. If a ticket exists but its ID is not visible, ask; if no human is available, proceed without it and say so in the report.
FAQ
What does the branch skill do?
Create or switch to a Git branch for the current task. Use whenever starting work on a ticket, feature, or fix, whenever the user says "make a branch" or "new branch", and before committing work that would otherwise land on the default branch.
How do I install branch?
Run npx skills add https://github.com/owainlewis/blueprint --skill branch in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/branch/ (personal) or .claude/skills/branch/ (project).
Which AI agents can use branch?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is branch safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains branch?
It is published by owainlewis in owainlewis/blueprint. It has 214 recorded installs.
More from owainlewis/blueprint
review
owainlewis/blueprint
Uses a fresh agent to review an implementation change without editing it. Checks behavior, security, regressions, complexity, tests, docs, and missing proof. Use for code, PR, diff, security, second-opinion, or pre-merge reviews.
plan
owainlewis/blueprint
Turns a reviewed spec or decided brief into ordered tasks for separate agent runs. Use for implementation tasks, tracker tickets, or useful milestones. Do not use for one coding task or its short execution outline.
task-to-pr
owainlewis/blueprint
Open the skill to read its SKILL.md instructions.
spec
owainlewis/blueprint
Open the skill to read its SKILL.md instructions.
refactor
owainlewis/blueprint
Improve the shape of existing code without changing behavior.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.