create-branch

Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new…

INSTALLATION
npx skills add https://github.com/getsentry/skills --skill create-branch
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

Type

Use when

feat

New functionality

fix

Broken behavior now works

ref

Behavior stays the same, structure changes

chore

Maintenance of existing tooling/config

perf

Same behavior, faster

style

Visual or formatting only

docs

Documentation only

test

Tests only

ci

CI/CD config

build

Build system

meta

Repo metadata

license

License changes

When unsure: use feat for new things, ref for restructuring, chore for maintenance.

-

Generate <type>/<short-description>.

Keep <short-description> kebab-case, ASCII-only, and ideally 3 to 6 words.

-

Choose the base without prompting:

git branch --show-current

git remote | grep -qx origin &#x26;&#x26; echo origin || git remote | head -1

git symbolic-ref refs/remotes/<remote>/HEAD 2>/dev/null | sed 's|refs/remotes/<remote>/||' | tr -d '[:space:]'
  • If default branch detection fails, fall back to main, then master, then the current branch
  • If on a detached HEAD, branch from the current commit
  • If already on a non-default branch, branch from the current branch
  • Only switch to the default branch when the user explicitly asks

-

Avoid collisions by appending -2, -3, and so on until the name is unused locally and remotely.

-

Create the branch:

git checkout -b <branch-name>

Report the final branch name, but do not stop for confirmation.

References

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card