git-flow
Skill0 starsChanged 57 days agoMITView on GitHub
Shape branches, slice atomic commits, split multi-layer work into sequential PRs against main, create pull requests via the 3-Tier PR Matrix, or create sub-issues. Use when the user wants to branch, commit, push, split large work into small PRs, create a PR, format commit messages, or manage GitHub issues.
- Commits and pushes
9 other projects use a version of this.
Adopted by
Most recently taken up by
- camilooscargbaptista/cto-toolkittheir own version, first seen Nov 29, 2026
- abhattacherjee/git-flowtheir own version, first seen Nov 22, 2026
- halkn/skillstheir own version, first seen Nov 22, 2026
- bacsystem/skillstheir own version, first seen Nov 20, 2026
- vindreshsingh/engineering-skillstheir own version, first seen Oct 20, 2026
- evenweiss/ai-skillstheir own version, first seen Oct 15, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- camilooscargbaptista/cto-toolkit★ 9same name
- ch4570/vulpora★ 2same name
- techbuzzz/awesome-opencode★ 2same name
- bacsystem/skills★ 1same name
- kennguyen887/agent-foundation★ 1same name
- abhattacherjee/git-flow★ 0same name
- evenweiss/ai-skills★ 0same name
- halkn/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 repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectSkill
- arenaSkill
- ask-skillsSkill
- benchmark-checklistSkill
- blast-radiusSkill
- chief-of-staffSkill
- code-reviewSkill
- create-verification-skillSkill
- dashboard-uiSkill
- diagnosing-bugsSkill
- docsSkill
- domain-modelingSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- i-have-adhdSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- maintain-verification-skillSkill
- no-commentsSkill
- prototypeSkill
- researchSkill
- retroSkill
- security-auditSkill
- setup-skillsSkill
- setup-ts-deep-modulesSkill
- software-factorySkill
- tddSkill
- teachSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- typescript-best-practicesSkill
- unslopSkill
- wayfinderSkill
- wizardSkill
- writing-atomic-notesSkill
- writing-flashcardsSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Never squash changes across distinct concerns or modules into a single blob commit.
- Distinctive: line 48
Single Scope: If all changes belong to one feature or fix, stage and commit together.
- Very specific: line 50
Bulleted Descriptions Only: When proposing atomic commit plans or writing commit bodies, format details as concise, high-signal bullet …
- Very specific: line 65
Explicit Human Confirmation Required: NEVER execute git commit or pass --execute to format-commit.mjs until the user explicitly confirms …
- Very specific: line 72
If repo defines .github/PULL_REQUEST_TEMPLATE.md, match its fields.
- Very specific: line 73
When a PR is part of a multi-PR rollout, include the sequence map under ## Context per references/sequential-prs.md.
- Distinctive: line 94
When decomposing Epics into tracer-bullet tasks or creating bug reports:
- Very specific: line 96
Use references/issue-templates.md for issue body specifications (Task, Bug Report, Feature / Proposal).
- Very specific: line 97
Run node skills/git-flow/scripts/create-issue.mjs --type task --title "task(<scope>): <summary>" --parent <parent_number> --execute to …
“Common” is measured: kept by at least 6 in 10 of the 6 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 Flow (git-flow)
Shape clean git branches from main, split oversized multi-layer work into sequential atomic PRs against main, slice atomic commits with bulleted details, create audit-ready Pull Requests matched to risk via the 3-Tier PR Matrix, and create linked GitHub sub-issues.
PR Tier Matrix
Match ceremony to risk before opening a branch or PR:
| Tier | Scope & Risk | Reference | Key Requirements |
| Tier 1: Patch | Typo, docs, minor dependency update. | references/pr-tier1-patch.md | Single-sentence PR summary, low ceremony. |
| Tier 2: Standard | Feature, bugfix, routine refactor (Default). | references/pr-tier2-standard.md | Conventional Commits, lean 6-section body, before/after evidence. |
| Tier 3: Enterprise | Core architecture, DB schema, security patch, breaking change (!). | references/pr-tier3-enterprise.md | Sliced atomic commits, mandatory ADR/RFC link, rollback plan, audit evidence. |
Step-by-Step Workflow
Step 1: Health Check & Branch Sizing
Branch directly from an up-to-date main (<type>/<kebab-name>):
- Feature branch:
feature/<kebab-name> - Bugfix / Hotfix branch:
fix/<kebab-name>,hotfix/<kebab-name> - Core / Tier 3 branch:
core/<kebab-name> - Maintenance / Docs branch:
chore/<kebab-name>,docs/<kebab-name>
Sequential Sizing Gate:
Keep each PR focused on one trust boundary or dependency layer (~<=15–20 hand-written files). When work spans multiple layers (schema/contracts → backend API → client UI) or decomposes a large bundle, follow references/sequential-prs.md to land each layer sequentially into main (merge PR 1 to main, pull main, start PR 2) rather than creating a 50+ file PR or maintaining stacked non-main branches.
Validate state with node skills/git-flow/scripts/git-flow.mjs or git status.
Completion criterion: Branch prefix matches scope/tier, PR scope fits one cohesive layer, and working tree state is accounted for.
Step 2: Slice Atomic Commits
Collect file changes in a single combined snapshot: run git status -s && git diff in one command. Never query git diff file-by-file across multiple serialized turns.
Never squash changes across distinct concerns or modules into a single blob commit.
- Single Scope: If all changes belong to one feature or fix, stage and commit together.
- Multiple Scopes: Slice commits by module/path (
git add <path>). Commit specs, contracts, and migrations before domain implementation and generated schema syncs. - Bulleted Descriptions Only: When proposing atomic commit plans or writing commit bodies, format details as concise, high-signal bullet points (
- ...) rather than dense paragraphs. - Lean Turnaround: Draft the formatted commit proposal directly in your markdown response during Step 3 instead of running dry-run scripts just to preview text.
Completion criterion: Sliced commit plan is staged logically per path/scope, with each slice independently buildable and testable.
Step 3: Human Audit Protocol (<critical>)
- Proposal in Chat: Inspect the single-shot
git status -s && git diffoutput, propose the numbered atomic commit slicing plan with bulleted change details directly in your response markdown, and ask for explicit human confirmation. - Proposal Schema:
### Proposed Atomic Commit Plan 1. <type>(<scope>): <imperative summary <= 72 chars> - <concise bullet describing change & why> - Explicit Human Confirmation Required: NEVER execute
git commitor pass--executetoformat-commit.mjsuntil the user explicitly confirms approval (e.g., "confirm commit", "approve commit", "execute commit", "LGTM"). - Single-Step Execution: Once confirmation is received, stage the files and execute the commit in a single step using
node skills/git-flow/scripts/format-commit.mjs --type <type> --scope <scope> --summary "<summary>" --body "<body>" --execute.
Completion criterion: Explicit human confirmation received before any commit execution, with validation and commit occurring in a single confirmed execution step.
Step 4: Construct PR Body & Open PR (base: main)
- If repo defines
.github/PULL_REQUEST_TEMPLATE.md, match its fields; otherwise select fromreferences/pr-tier*.mdbased on Tier. - When a PR is part of a multi-PR rollout, include the sequence map under
## Contextperreferences/sequential-prs.md. - Keep evidence concrete (test commands run, before/after visuals when helpful) and state blast radius + rollback plan for Tier 3. For UI changes, store desktop & mobile screenshots outside the git tree (artifact/scratch dir) and upload them with
--attach "<path>#<alt>"(gh >= 2.99.0, up to 50 files; matchingreferences rewrite touser-attachments/assets). - Open PR against
mainviagh pr create --base main --attach ...or:
(append screenshots to an existing PR withnode skills/git-flow/scripts/create-pr.mjs --tier <1|2|3> --base main --title "<title>" --body-file <path> [--attach "<path>#<alt>"] --executegh pr edit <number> --attach "<path>#<alt>").
Completion criterion: PR opened against main with validated tier template, evidence, and accurate issue/sequence linking.
Issue Linking & Closing Protocol
- Pull Request Descriptions (Primary): Declare
Resolves: #<id>(to auto-close on merge) orPart of: #<id>/Relates to: #<id>under## Contextin the PR body. If standalone, write- None. - Atomic Commit Messages: Focus strictly on technical rationale. Reserve auto-closing keywords strictly for PR descriptions so intermediate sequential PRs do not close parent issues early.
Sub-Issue Creation
When decomposing Epics into tracer-bullet tasks or creating bug reports:
- Use
references/issue-templates.mdfor issue body specifications (Task,Bug Report,Feature / Proposal). - Run
node skills/git-flow/scripts/create-issue.mjs --type task --title "task(<scope>): <summary>" --parent <parent_number> --executeto create and link directly to parent issues via GitHub Native Sub-Issues API.
Quick Reference Rules
conventional-commits- Format all messages as<type>(<scope>): <description>. Validate viaformat-commit.mjs.sequential-prs- Keep PRs small (~<=15–20 hand-written files) and land multi-layer changes sequentially intomain(merge PR 1 -> pullmain-> open PR 2).bulleted-commit-desc- Commit proposal details and commit body rationale MUST be concise bullet points (- ...).no-close-in-commits- Reserve Fixes/Closes/Resolves strictly for PR descriptions.clean-branching- Usefeature/,fix/,hotfix/,core/,chore/, ordocs/branch prefixes.enterprise-pr- Enforce clean titles and structured body templates without emojis.no-force-push-main- NEVER force-push tomainormaster.human-audit-required- NEVER executegit commitor--executewithout explicit human confirmation.
References
references/sequential-prs.md- Single-workspace sequential PR workflow againstmainand issue/sequence linking.references/git-flow-templates.md- Conventional commit specifications and slicing patterns.references/pr-tier1-patch.md- Tier 1 Patch PR template.references/pr-tier2-standard.md- Tier 2 Standard PR template.references/pr-tier3-enterprise.md- Tier 3 Kernel-Grade Enterprise PR template.references/issue-templates.md- Task, Bug Report, and Feature Proposal templates for GitHub Issues.
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.

