create-branch
Skill0 starsChanged 9 months agoMITView on GitHub
Create and checkout a git branch named to match the current uncommitted changes.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- tartinerlabs/skillstheir own version, first seen Jul 26, 2026
- getsentry/skillstheir own version, first seen Jul 25, 2026
- anderson-c-santos/claude-skills-networktheir own version, first seen Jun 28, 2026
- Hey-Diga/dotclaudetheir own version, first seen Feb 23, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- getsentry/skills★ 1ksame name
- Hey-Diga/dotclaude★ 17same name
- tartinerlabs/skills★ 8same name
- anderson-c-santos/claude-skills-network★ 1same 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 repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-itemsSkill
- add-spikeSkill
- changelogSkill
- commitSkill
- create-issue-branch-githubSkill
- create-issue-githubSkill
- create-mr-gitlab-gitSkill
- create-pr-github-gitSkill
- create-pr-githubSkill
- decisionSkill
- emailSkill
- fix-issue-github-autoSkill
- fix-issue-githubSkill
- hldSkill
- implement-lldSkill
- jira-ticket-gitSkill
- jira-ticketSkill
- lldSkill
- prSkill
- reconcileSkill
- resolve-conflictsSkill
- resolve-open-questionsSkill
- reviewSkill
- spikeSkill
- standup-gitSkill
- standupSkill
- syncSkill
- tag-release-ansibleSkill
- tag-release-npmSkill
- tag-releaseSkill
- tldrSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Create and checkout a git branch named to match the current uncommitted changes.
- Distinctive: line 9
Run git diff --staged --stat to check for staged changes.
- Distinctive: line 10
If there are staged files, run git diff --staged to see what will be in the branch.
- Distinctive: line 11
If nothing is staged, run git diff HEAD --stat and git status --short to see all uncommitted changes.
- Distinctive: line 12
If there are no staged or uncommitted changes at all, tell the user and stop.
- Very specific: line 14
Use feature/ for new functionality
- Very specific: line 15
Use fix/ for bug fixes or error corrections
- Very specific: line 16
Use chore/ for tooling, config, dependencies, or non-functional changes
- Very specific: line 17
Use docs/ for documentation-only changes
- Very specific: line 18
Use refactor/ for restructuring without behaviour change
- Very specific: line 19
Use ci/ for CI/CD pipeline, workflow, or build configuration changes
- Very specific: line 21
Run git checkout -b <type>/<slug> to create and switch to the branch.
“Common” is measured: kept by at least 6 in 10 of the 3 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 and checkout a git branch named to match the current uncommitted changes.
Steps:
- Run
git diff --staged --statto check for staged changes.- If there are staged files, run
git diff --stagedto see what will be in the branch. - If nothing is staged, run
git diff HEAD --statandgit status --shortto see all uncommitted changes. - If there are no staged or uncommitted changes at all, tell the user and stop.
- If there are staged files, run
- Infer the branch type and a short slug from the changes:
- Use
feature/for new functionality - Use
fix/for bug fixes or error corrections - Use
chore/for tooling, config, dependencies, or non-functional changes - Use
docs/for documentation-only changes - Use
refactor/for restructuring without behaviour change - Use
ci/for CI/CD pipeline, workflow, or build configuration changes
- Use
- Derive a short, lowercase, hyphen-separated slug (2-5 words) that describes what the changes do — not what files changed. Examples:
feature/rate-limit-login,fix/null-pointer-checkout,docs/add-contributing-guide. - Run
git checkout -b <type>/<slug>to create and switch to the branch. - Tell the user the branch name and confirm they are now on it.
$ARGUMENTS
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.

