git-branching
Skill12 starsChanged 7 days agoMITView on GitHub
ALWAYS use this skill if the user asks to do any modifying git operations (branch, commit, merge, etc).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- blockedby/git-branching-skilltheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- blockedby/git-branching-skill★ 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 repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adlc-scriptingSkill
- architect-assistantSkill
- big-prod-e2e-testSkill
- ceSkill
- changelogSkill
- check-fix-buildSkill
- db-state-updateSkill
- github-issuesSkill
- hook-debuggingSkill
- migrations-data-integritySkill
- morning-checkSkill
- nodejs-scriptSkill
- pocSkill
- post-impl-check-client-component-sizeSkill
- post-impl-check-cost-calc-no-autoSkill
- post-impl-check-indexesSkill
- post-impl-check-kb-actualSkill
- post-impl-check-migrationsSkill
- post-impl-check-performance-no-autoSkill
- post-impl-check-security-no-autoSkill
- security-checkSkill
- server-e2e-testsSkill
- session-kb-suggestSkill
- sql-reviewSkill
- ui-componentsSkill
- update-install-instructionsSkill
- use-playwrightSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Before treating a branch request as adhoc/, check whether it is actually a task slug:
- Very specific: line 24
If the user's wording already looks like a full task-folder name (e.g.
- Very specific: line 26
Only use adhoc/<description-slug> once you've confirmed no matching task folder exists.
- Very specific: line 32
Never commit directly to main.
- Distinctive: line 33
Before creating a new branch, check current branch and status (git status, git branch) so you don't branch off unexpected local changes.
- Very specific: line 35
Before pushing, follow the changelog skill — the docs/changelog/ entry for the change goes into the same push.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Branch naming
feature/<task>— new functionality, tied to a task.fix/<task>— bug fix, tied to a task.adhoc/<description-slug>— the user asks to change something ad hoc, with no task behind it.
<task> is ALWAYS the task slug (in fact task folder name under docs/tasks/todo) from adlc-lh:tracker
<description-slug> is a short kebab-case description of the change.
Resolving whether a name is a task
Before treating a branch request as adhoc/, check whether it is actually a task slug:
- List the task folder directly —
ls docs/tasks/todo/(anddocs/tasks/done/if relevant) — and look for an exact or prefix match against the name the user gave. Do NOT rely on aGlobsubstring pattern likedocs/tasks/todo/*<slug>*: directory-only matches can silently return no results, which looks like "task not found" when the task folder exists. - If the user's wording already looks like a full task-folder name (e.g.
YYYY-MM-DD-slug), check for that exact folder first before falling back to any fuzzy search. - Only use
adhoc/<description-slug>once you've confirmed no matching task folder exists. - Once the task folder is found, read its
requirements.mdheader (Type:) to pickfeature/vsfix/—bug→fix/, anything else (feature,chore, etc.) →feature/.
Rules
- Never commit directly to
main. Always create/use a feature/fix/adhoc branch first. - Before creating a new branch, check current branch and status (
git status,git branch) so you don't branch off unexpected local changes. - Before pushing, follow the
changelogskill — thedocs/changelog/entry for the change goes into the same push.
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.

