git-flow
Skill1 starsChanged 5 months agoMITView on GitHub
Use when branching, opening an MR, cutting a release, or shipping a hotfix — the develop→staging→master branching & release flow, tagging, semantic versioning, hotfix path. Tool-agnostic (plain git).
- Commits and pushes
8 other projects use a version of this.
Adopted by
Most recently taken up by
- halkn/skillstheir own version, first seen Oct 25, 2026
- vindreshsingh/engineering-skillstheir own version, first seen Oct 20, 2026
- evenweiss/ai-skillstheir own version, first seen Oct 15, 2026
- ch4570/vulporatheir own version, first seen Oct 11, 2026
- ngxccc/engineered-skillstheir own version, first seen Oct 4, 2026
- abhattacherjee/git-flowtheir own version, first seen Sep 5, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- techbuzzz/awesome-opencode★ 2same name
- bacsystem/skills★ 1same name
- ch4570/vulpora★ 1same name
- abhattacherjee/git-flow★ 0same name
- evenweiss/ai-skills★ 0same name
- halkn/skills★ 0same name
- ngxccc/engineered-skills★ 0same name
- vindreshsingh/engineering-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 repository40 other files it gives its agents.
- authoring-project-skillsSkill
- background-jobs-and-cachingSkill
- code-conventionsSkill
- containerize-and-ship-a-serviceSkill
- database-migrationsSkill
- design-an-error-modelSkill
- handle-files-frontendSkill
- import-data-from-csvSkill
- integrate-external-servicesSkill
- integrate-identity-providersSkill
- integrate-internal-servicesSkill
- keep-service-memory-leanSkill
- operate-ecs-services-safelySkill
- prevent-secret-and-pii-leaksSkill
- release-safetySkill
- render-transactional-emailsSkill
- rules-backendSkill
- rules-code-styleSkill
- rules-debuggingSkill
- rules-gitSkill
- rules-infraSkill
- rules-pr-reviewSkill
- rules-shippingSkill
- rules-workflowSkill
- schedule-effective-dated-changesSkill
- secure-a-frontend-appSkill
- security-auditSkill
- send-slackSkill
- serve-realtime-with-websocketsSkill
- structure-a-backend-serviceSkill
- structure-a-frontend-appSkill
- structure-a-shared-backend-libSkill
- structure-a-shared-ui-libSkill
- tdd-http-firstSkill
- use-feature-flagsSkill
- write-cross-cutting-codeSkill
- write-frontend-codeSkill
- write-frontend-testsSkill
- write-service-codeSkill
- write-unit-testsSkill
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 46
Not every feature in develop ships at once.
“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
When to use
Reach for this when you start a feature branch, open a merge request, promote code between
environments, tag a release, or ship an urgent production fix. It is the branching & release
workflow; for commit-message rules and the "never target main for feature work" guard see the global
Git Commit Rules / Branch & PR Target Rules in CLAUDE.md.
Branch names vary by project — some teams use
staging, othersRC, for the pre-production branch. What matters is the role each branch plays, not its literal name. Map the names below to your project's. This is plain git, so it applies to a repo in any language.
Branch roles
| Branch | Role |
master (or main) | Production. Only thoroughly tested code. Tagged per production release. |
staging (or RC) (optional) | Pre-production / demo. Tagged per staging release. Optional if you have strong feature flags. |
develop | Integration branch for active development; deploys to the Dev environment. |
feature/* | One per task/feature. Branches from develop. |
hotfix/* | Critical production-bug fixes. Branches from master. |
Steps
1. Feature development
git checkout develop
git pull origin develop
git checkout -b feature/your-feature-name # always branch from fresh develop
# ...commit focused work...Open a merge request into develop. After review, merge (--no-ff) — this triggers the Dev
deployment. Keep one feature branch to one concern (see SRP per MR in
code-conventions §5).
2. Promote to staging (selective)
Not every feature in develop ships at once. When the selected changes are ready:
git checkout staging
git merge --no-ff develop # or cherry-pick specific feature merges:
# git cherry-pick -m 1 <feature-merge-commit> # for selective promotion
git push origin staging
git tag -a v1.0.0-staging -m "Staging release v1.0.0"
git push origin v1.0.0-staging # tag → deploys to staging; test thereAny bug fix found on staging is committed on staging, then merged back into develop.
3. Production release
Promote the exact code that was tagged for staging — don't re-merge a moving develop.
git checkout v1.0.0-staging
git checkout -b release/v1.0.0
# MR release/v1.0.0 → master, get approval, then:
git checkout master
git merge --no-ff release/v1.0.0
git tag -a v1.0.0 -m "Production release v1.0.0"
git push origin master
git push origin v1.0.0 # tag → deploys to production
git branch -d release/v1.0.0 # clean up4. Hotfix (urgent production fix) — default path
git checkout master
git checkout -b hotfix/critical-fix
# ...fix + test thoroughly...
# verify in staging FIRST
git checkout staging && git merge --no-ff hotfix/critical-fix && git push origin staging
git tag -a v1.0.1-staging -m "Hotfix staging v1.0.1" && git push origin v1.0.1-staging
# then release to production
git checkout master && git merge --no-ff hotfix/critical-fix && git push origin master
git tag -a v1.0.1 -m "Hotfix v1.0.1" && git push origin v1.0.1
# propagate back so develop doesn't regress the fix
git checkout develop && git merge --no-ff hotfix/critical-fix && git push origin developMerging a hotfix straight to master (skipping staging) is allowed only for
critical/blocker cases with high confidence: production is broken (login down, payments failing), no
time for a full UAT round (still test locally / on an emergency env), the fix is very small and
low-risk (revert a bad commit, fix a config typo), and only trusted engineers deploy. Even then,
propagate the fix back to develop (and staging) afterward.
Versioning & CI/CD
- Semantic versioning
vMAJOR.MINOR.PATCH: MAJOR = incompatible API change, MINOR = new backward-compatible functionality, PATCH = backward-compatible bug fix. - Staging tags mirror their production counterpart except for the
-stagingsuffix:v1.2.3-staging→v1.2.3. - CI/CD by trigger: Dev deploys automatically when changes merge to
develop; Staging deploys from tags onstaging(v1.0.0-staging); Production deploys from tags onmaster(v1.0.0).
Verification
A release/hotfix followed the flow when:
- The feature was branched from a freshly pulled
developand merged via MR (not committed tomaster/developdirectly). - Production shipped the same commit that was tagged on staging (staging tag ↔ prod tag differ
only by
-staging). - A hotfix that touched
masterwas also merged back intodevelop(andstaging) — verify withgit branch --contains <hotfix-commit>. - The deploy you expected fired (Dev on
developmerge; Staging/Prod on the new tag).
Related
CLAUDE.md— Git Commit Rules (no AI attribution), Branch & PR Target Rules, Release Safety Rules (backward compat, rollback plan, post-release verification).- code-conventions — one responsibility per MR.
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.

