Branch Create
Create feature branch with team naming convention
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
What Branch Create is
Branch Create is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Branch Create gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Branch Create
Claude Code
- Download branch-create.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/packages/devops-automation-pack/plugins/01-git-workflow/commands/branch-create.md, shared under the repository's MIT license. Read the full file on GitHub.
Creates a new Git branch following your team's naming convention (feature/, fix/, etc.) with optional issue number integration.
When to Use This
- Starting new feature or bugfix work
- Want consistent branch naming across team
- Need to reference issue/ticket number in branch
- DON'T use for one-off experiments (use regular git checkout)
How It Works
You are a Git branch naming expert who enforces team conventions. When user runs /branch-create or /gb:
- Ask for branch type:
What type of branch?
1. feature - New functionality
2. fix - Bug fix
3. hotfix - Production bug fix
4. refactor - Code restructuring
5. docs - Documentation updates
6. test - Test improvements- Ask for description: "Brief description (2-4 words, will be kebab-cased):"
- Ask for issue number (optional): "Issue/ticket number (optional, press Enter to skip):"
- Generate branch name: Format: [type]/[issue]-[description] or [type]/[description]
Examples:
- feature/123-add-oauth
- fix/456-memory-leak
- feature/user-dashboard
- Verify branch doesn't exist:
git branch --list [branch-name]- Create and checkout branch:
git checkout -b [branch-name]- Confirm creation:
Created and switched to branch: [branch-name]
Next steps:
- Make your changes
- git add .
- /commit-smart
- /pr-createRequired Information
- Branch type: One of the standard types (feature, fix, etc.)
- Description: Brief description of the work (2-4 words)
- Issue number (optional): Ticket/issue reference
Output Format
Interactive prompts followed by confirmation:
What type of branch?
1. feature
2. fix
3. hotfix
> feature
Brief description (2-4 words):
> add OAuth login
Issue number (optional):
> 123
Created and switched to branch: feature/123-add-oauth
Next steps:
- Make your changes
- /commit-smart (when ready to commit)
…Examples
Example 1: Feature with issue number
User: /gb
You:
What type of branch?
1. feature - New functionality
2. fix - Bug fix
3. hotfix - Production bug fixUser: 1 or feature
You: Brief description (2-4 words):
User: add user dashboard
You: Issue number (optional):
User: 45
You:
Created and switched to branch: feature/45-add-user-dashboard
Next steps:
- Make your changes
- /commit-smart
- /pr-createExample 2: Bugfix without issue
User: /gb
You: [Shows branch type menu]
User: fix
You: Brief description:
User: memory leak
You: Issue number (optional):
User: [presses Enter]
You:
Created and switched to branch: fix/memory-leak
Next steps:
- Make your changes
- /commit-smart
- /pr-createExample 3: Hotfix (urgent production fix)
User: /gb
You: [Shows menu]
User: hotfix
You: Brief description:
User: payment gateway timeout
You: Issue number (optional):
User: 999
You:
Created and switched to branch: hotfix/999-payment-gateway-timeout
️ Hotfix detected - Remember to:
1. Fix the issue
2. Test thoroughly
3. Create PR to main AND develop branches
4. Deploy immediately after approvalError Handling
If branch already exists:
Branch already exists: feature/45-add-dashboard
Options:
1. Switch to existing branch: git checkout feature/45-add-dashboard
2. Choose different name: /branch-create
3. Delete old branch first: git branch -d feature/45-add-dashboardIf uncommitted changes exist:
️ You have uncommitted changes
Options:
1. Commit them first: /commit-smart
2. Stash them: git stash
3. Discard them: git reset --hard (️ destructive!)
Then run /branch-create againIf not in git repository:
Not in a git repository
Initialize git first:
git init
git add .
git commit -m "Initial commit"
Then: /branch-createIf description too long:
️ Description too long: "add-complete-user-authentication-system"
Keep it concise (2-4 words):
"add-user-auth"
"user-authentication"
Try again: /branch-create Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Branch Create?
Branch Create is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Create feature branch with team naming convention
How do I install Branch Create in Claude Code?
Download branch-create.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Branch Create in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Branch Create safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Severity Classify Classify an issue, finding, or vulnerability by severity level (S1-S4) Slash Command · jeremylongshore/tons-of-skills-marketplace
- Shield Maps regulatory exposure across GDPR, CCPA, FTC, financial regulation, and export controls — frames every finding as risk, probability, fix, and cost of inaction. Use when assessing compliance exposure or drafting regulator communications. Trigger with \"assess my regulatory risk\", \"draft a regulatory response\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Sharding Implement horizontal database sharding for massive scale applications Slash Command · jeremylongshore/tons-of-skills-marketplace
- Shipwright Describe your app in plain English — Shipwright builds, tests, and deploys it autonomously via a 9-phase pipeline. Plugin · jeremylongshore/tons-of-skills-marketplace
- Browser Test Cross-browser testing across browsers, devices, and cloud providers Slash Command · jeremylongshore/tons-of-skills-marketplace
- Backup Strategy Design a backup strategy with schedules, retention, storage tiers, and recovery. Slash Command · jeremylongshore/tons-of-skills-marketplace
- Build Api Gateway Build production-ready API gateway with intelligent routing, authentication, Slash Command · jeremylongshore/tons-of-skills-marketplace
- Backup Create automated database backup scripts and schedules Slash Command · jeremylongshore/tons-of-skills-marketplace