create-branch
Skill0 starsChanged 28 days agoMITView on GitHub
Create Jira Cloud issues and related Bitbucket Cloud branches, or reuse an existing issue and branches, with preview-first helpers and verified assignment, status and active sprint. Use when the user requests a Jira issue or branches for one; reading an issue alone creates nothing.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Pubx-ai/skillstheir own version, first seen Nov 8, 2026
- AgnesAI-Labs/agnet-skills-cntheir own version, first seen Nov 1, 2026
- matthewyuh246/Claude_Skillstheir own version, first seen Oct 11, 2026
- Emiyaaaaa/clay-uitheir own version, first seen Oct 8, 2026
- getsentry/skillstheir own version, first seen Jul 25, 2026
- Hey-Diga/dotclaudetheir own version, first seen Feb 23, 2026
Used with
Projects with it also use create-pr.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- getsentry/skills★ 1.1ksame name
- Emiyaaaaa/clay-ui★ 1.1ksame name
- Hey-Diga/dotclaude★ 17same name
- Pubx-ai/skills★ 6same name
- AgnesAI-Labs/agnet-skills-cn★ 1same name
- matthewyuh246/Claude_Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- pr-dev-acceptanceSkill
- pr-to-slackSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Read existing issue: pass its key without repositories.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create issues and branches
Resolve the requested issue content and repositories from the conversation and Git remotes. Ask only for missing facts that prevent execution. Use scripts/create_branch.py relative to this skill; scripts/create_jira.py is its internal Jira helper. The helpers need Python 3.10+ and requests. See setup for private configuration and complete examples.
Creating or changing this skill does not run it. An explicit request to create issues or branches authorizes those requested operations and established defaults. Do not add Slack messages, commits, merges, deployments or working-tree switches. A preview request stays read-only.
Choose the requested operation
- New issue only:
--input <request.json>without--repo. Bitbucket access is unnecessary. - Branches for an existing issue: provide its key and repeat
--repo <slug>for each requested repository. Reuse the issue; never create a replacement. - New issue and branches: provide
--inputand the requested repositories. Use the newly returned issue key. - Read existing issue: pass its key without repositories. This stays read-only even with
--apply.
Commands preview by default. Add --apply only for the user-requested writes. A new-issue preview lists the issue defaults and requested repositories; final branch names and base commits are resolved after Jira supplies the real key.
Write the issue
Use a concise, factual summary and description in the project's language. For a defect, include observed and expected behavior, reproduction or a concrete example, and the environment when known. Do not invent requirements or include unresolved scope decisions in a created card. Ask the missing questions first. Preserve explicit assignee and status choices from the conversation.
Input requires summary and description. Description accepts text or an Atlassian Document Format document: structured JSON with type: doc, version: 1 and nonempty content. Optional keys are project, issue_type, assignee_account_id and status. Project defaults to private configuration; type defaults to Task, status to To Do, and assignee to the authenticated Jira user. Use Bug for a defect when that type exists.
Resolve exactly one active sprint on the configured board before issue creation. If none or several are active, resolve the target instead of guessing. Set assignment during creation, transition if needed, add sprint membership, then read all three back. Do not report an accepted create response as complete until the final verification succeeds.
Resolve and create branches
Read the issue and determine the repositories from the requested scope. Do not add frontend/backend repositories simply because they exist. Obtain branch-type prefixes and development/production bases from each repository's branching model. Default to bugfix for a Bug and feature otherwise; --type and --from override when requested. Hotfix uses the production base by default.
The branch suffix is KEY-summary-slug, capped at 40 characters before the configured prefix. Reuse an existing branch containing the issue key; if several candidates exist, establish the intended branch before continuing. Preserve a card's in-progress or later status unless the user explicitly requests moving it.
The helper validates the local clone's origin against the configured workspace and repository. It fetches the selected base commit and pushes that commit to the new branch ref without switching the user's worktree. Never force-push, delete/recreate a branch to refresh indexing, or claim immediate Jira Development-panel indexing: that depends on the consuming team's integration.
Read back the remote branch and Jira assignment/status/sprint before reporting success. An unknown create/push outcome requires inspection before retrying. If the issue already exists after a partial failure, continue on its returned key and reuse existing branches; never rerun the new-issue create operation blindly.
Return the issue URL, verified assignee, status and sprint, and each requested branch URL. State incomplete steps explicitly. Add attachments or issue links only when separately requested and verified.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

