git-branch
Create a git branch with the prefix convention (`feature/`, `fix/`, `chore/`, `refactor/`, `env/`) required by GitHub auto-PR workflows.
Skill by ZunoSmartLabs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zunosmartlabs-git-branch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-branch
What's inside
- Skill name
git-branch- Description
- Create a git branch with the prefix convention (`feature/`, `fix/`, `chore/`, `refactor/`, `env/`) required by GitHub auto-PR workflows. Use when user wants to start a branch, says "new branch", or asks to begin a feature.
- License
- MIT
- Instructions
- 83 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Create Git Branch
Create a new git branch with a name that follows the project's required prefix convention so the auto-PR workflow picks it up.
## Required prefixes
Branches MUST start with one of these prefixes followed by `/`:
- `feature/` — new functionality
- `fix/` — bug fix
- `chore/` — maintenance, tooling, non-functional changes
- `refactor/` — internal restructuring without behavior change
- `env/` — environment-specific work (e.g. `env/seb-test`)
Branch names without one of these prefixes will NOT trigger the auto-PR workflow (`.github/workflows/auto-pr.yml`).
## Process
1. **Parse the user's prompt** (the argument after `/git-branch`):
- If the user already provided a valid prefix (e.g. `fix/logout-button`), use it verbatim.
- Otherwise, infer the most appropriate prefix from the description and the current working tree context:
- New feature or capability → `feature/`
- Bug fix or broken behavior → `fix/`
- Docs, dependencies, cleanup, deletions of unused code → `chore/`
- Rename, restructure, extract, inline (no behavior change) → `refactor/`
- Per-developer sandbox branches → `env/`
- **Extract a GitHub issue ID** if the prompt references one. Match any of:
- A full issue URL: `https://github.com/<org>/<repo>/issues/<N>`
- A shorthand reference: `#<N>` or `issue <N>` / `issue #<N>` / `gh-<N>`
For the URL form, fetch the issue title with `gh issue view <N> --repo <org>/<repo> --json title -q .title` and use it (slugified) as the description if the user didn't also provide their own wording. For shorthand without a repo, assume the current working directory's repo.
2. **Build a slug** from the description:
- Lowercase
- Replace spaces and non-alphanumerics with hyphens
- Collapse repeat hyphens
- Trim leading/trailing hyphens
- **Total branch name must not exceed 40 characters**. Shorten the description until it fits.
- **If an issue ID was extracted**, prepend it to the slug so the final branch name is `<prefix>/<N>-<slug>` (e.g. `feature/22-broker-s3-persistence`). The issue number goes immediately after the prefix's `/`, before the descriptive slug.
3. **Present the proposed branch name to the user** and ask for confirmation:
- Show the prefix you chose and why (one sentence)
- Ask: "Create branch `<name>`? (y/n)"
4. **On confirmation**, run:
```bash
git checkout -b <branch-name>
```
## Important
- NEVER create a branch without the required prefix
- NEVER create a branch without user confirmation
- If the user is already on a non-main branch with uncommitted changes, ask whether to carry the changes over (default) or stash them first
- If a branch with that name already exists, tell the user and suggest an alternative
## Examples
<example>
User: `/git-branch remove the broken logout button`
Assistant: Proposes `fix/remove-broken-logout-button` — "fix" because it's removing broken behavior. Asks for confirmation, then runs `git checkout -b fix/remove-broken-logout-button`.
</example>
<example>
User: `/git-branch chore/update-readme`
Assistant: Uses the provided name verbatim (already has valid prefix). Asks for confirmation, then runs `git checkout -b chore/update-readme`.
</example>
<example>
User: `/git-branch add cognito group support`
Assistant: Proposes `feature/add-cognito-group-support` — "feature" because it's new functionality.
</example>
<example>
User: `/git-branch fix https://github.com/Thundergrid149/tg-ops-portal/issues/22`
Assistant: Extracts issue number `22` from the URL, fetches the issue title via `gh issue view 22 --repo Thundergrid149/tg-ops-portal --json title -q .title` (e.g. "Get CPMS broker working in preview environments"), picks `feature/` based on the issue content, and proposes `feature/22-broker-working-in-preview`. Asks for confirmation, then creates the branch.
</example>
<example>
User: `/git-branch #14 remove logout button`
Assistant: Extracts issue number `14` from the `#14` shorthand, keeps the user's own description, and proposes `fix/14-remove-logout-button`.
</example>From ZunoSmartLabs/zsl-superpowers, MIT.
More from ZunoSmartLabs/zsl-superpowers
- 0.563score
setup-zsl-superpowers
ZunoSmartLabs
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub, local markdown…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
codebase-design
ZunoSmartLabs
Shared vocabulary and refinements for reasoning about module depth, interfaces, seams, and adapters — the deep-module design language.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit
ZunoSmartLabs
Plan and create git commits autonomously for changes made in this session (no per-commit approval prompt).
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit-push-pr
ZunoSmartLabs
Commit session changes, push the branch, and open a PR — in one shot.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
decision-mapping
ZunoSmartLabs
Turn a loose, multi-session idea into a sequenced map of the decisions and tickets it implies, so it matures before becoming a PRD.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
human-itl
ZunoSmartLabs
Walk a human through the manual-action [HITL] sub-tasks of a parent (PRD) issue — the steps a coding agent physically cannot perform — recording each as an…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
ask-zsl
ZunoSmartLabs
Interactive router that helps you find the right ZSL skill for what you're doing right now, without leaving your work.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
teach-me-the-codebase
ZunoSmartLabs
On-the-fly conversational tutor that teaches you an unfamiliar repo's domain, architecture, and conventions interactively — reading the canonical docs and…
SkillBFreshness: B★ 2Claude Code +9 - 0.553score
domain-modeling
ZunoSmartLabs
The home for domain-doc reasoning — the CONTEXT.md Ubiquitous Language format, the ADR format, and the Domain-Driven Design book-rules.
SkillBFreshness: B★ 2Claude Code +9 - 0.553score
tdd-parallel
ZunoSmartLabs
Full-auto PRD pipeline.
SkillBFreshness: B★ 2Claude Code +9 - 0.553score
code-review
ZunoSmartLabs
Comprehensive pre-PR code review of the current branch with an issues-only tone and an approval gate before applying fixes.
SkillBFreshness: B★ 2Claude Code +9 - 0.533score
diagnose
ZunoSmartLabs
Disciplined diagnosis loop for hard bugs and performance regressions.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 8, 2026 (5 months ago)
- Last release
- Sep 18, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ZunoSmartLabs/zsl-superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ZunoSmartLabs
- 0.563score
setup-zsl-superpowers
ZunoSmartLabs
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub, local markdown…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
codebase-design
ZunoSmartLabs
Shared vocabulary and refinements for reasoning about module depth, interfaces, seams, and adapters — the deep-module design language.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit
ZunoSmartLabs
Plan and create git commits autonomously for changes made in this session (no per-commit approval prompt).
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit-push-pr
ZunoSmartLabs
Commit session changes, push the branch, and open a PR — in one shot.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
decision-mapping
ZunoSmartLabs
Turn a loose, multi-session idea into a sequenced map of the decisions and tickets it implies, so it matures before becoming a PRD.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
ask-zsl
ZunoSmartLabs
Interactive router that helps you find the right ZSL skill for what you're doing right now, without leaving your work.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
git-branch skill. Agent Mart. https://agentmart.dev/skills/zunosmartlabs-git-branch (last updated 2026-10-24)