git-branch
Skill6 starsChanged 48 days agoMITView on GitHub
Branch conventions for ticket work. Use when starting a ticket to create a correctly named branch off an up-to-date main, and to decide when to branch versus commit directly. Keeps main clean and branches traceable to tickets.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/devsquad-copilottheir own version, first seen Oct 16, 2026
- cognis-digital/skillsmiththeir own version, first seen Oct 11, 2026
- mir-am/skills-agents-ai-codingtheir own version, first seen Oct 1, 2026
- ZunoSmartLabs/zsl-superpowerstheir own version, first seen Sep 21, 2026
- puku0x/agent-skills-testtheir own version, first seen Apr 19, 2026
- CarpeWu/claude-git-skillstheir own version, first seen Jan 27, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- microsoft/devsquad-copilot★ 50same name
- mir-am/skills-agents-ai-coding★ 2same name
- ZunoSmartLabs/zsl-superpowers★ 2same name
- puku0x/agent-skills-test★ 1same name
- CarpeWu/claude-git-skills★ 0same name
- cognis-digital/skillsmith★ 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 repository24 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- atomic-reportSkill
- board-validateSkill
- data-modelSkill
- delivery-hygieneSkill
- dev-reportSkill
- dev-setupSkill
- frontend-qualitySkill
- gcSkill
- land-and-archiveSkill
- orchestration-healthSkill
- orchestratorSkill
- pipeline-qualitySkill
- plan-updateSkill
- project-planSkill
- release-gateSkill
- repo-auditSkill
- scaleSkill
- security-reviewSkill
- swarmSkill
- test-coverageSkill
- tpmSkill
- trackerSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
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
- Distinctive: line 8
Every ticket gets its own branch, named so anyone can trace it back to the ticket.
- Distinctive: line 22
Always include the ticket id — it's the link between the branch, the board, and the PR.
- Distinctive: line 27
Never work on
maindirectly: If you find yourself on main with changes, branch first (see below), then continue. - Distinctive: line 39
If a protected main disallows direct pushes, that's expected: push the branch and open a PR.
- Very specific: line 44
Commit messages: imperative subject, reference the ticket id (T-014: add token-bucket limiter).
- Distinctive: line 46
Keep each commit coherent.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Git Branch
Every ticket gets its own branch, named so anyone can trace it back to the ticket.
Naming
<type>/<ticket-id>-<short-slug>
feat/T-014-rate-limit-api
fix/T-021-null-session-crash
chore/T-008-bump-deps
docs/T-030-getting-startedtype∈feat/fix/chore/docs/refactor/infra.- Always include the ticket id — it's the link between the branch, the board, and the PR.
- Lowercase, hyphenated slug; keep it short.
Starting a branch
- Never work on
maindirectly. If you find yourself onmainwith changes, branch first (see below), then continue. - Branch from an up-to-date default branch. Resolve it — don't hardcode
origin/main; plenty of repos default tomaster(or something else) and a hardcoded ref fails on them:
(Under the orchestrator this happens inside a fresh worktree — see thegit fetch origin git remote set-head origin -a # in case the clone skipped setting origin/HEAD default_branch=$(git symbolic-ref --short refs/remotes/origin/HEAD | sed 's@^origin/@@') git switch -c feat/T-014-rate-limit-api "origin/$default_branch"worktree-cleanupskill.) - If a protected
maindisallows direct pushes, that's expected: push the branch and open a PR.
Committing
- Commit messages: imperative subject, reference the ticket id (
T-014: add token-bucket limiter). Keep the body to why, not what the diff already shows. - Keep each commit coherent. Don't fold unrelated changes into a ticket's branch — that's a separate ticket.
- Only commit or push when the work is asked to land — not reflexively after every edit.
Before pushing
- Rebase onto the latest default branch if it moved (
git fetch && git rebase origin/$default_branch, resolved the same way as above — don't hardcodeorigin/main), resolve conflicts locally, and re-run the release gate before you push the resolution.
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.

