git-flow
Skill0 starsChanged 39 days agoMITView on GitHub
Shape branches, slice atomic commits, create pull requests via the 3-Tier PR Matrix, or create sub-issues. Use when the user wants to branch, commit, push, create a PR, format commit messages, or manage GitHub issues.
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
- abhattacherjee/git-flowtheir own version, first seen Sep 5, 2026
- techbuzzz/awesome-opencodetheir own version, first seen Jul 17, 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
- 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 repository43 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-skillsSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grill-with-docsSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- prototypeSkill
- researchSkill
- retroSkill
- setup-skillsSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wayfinderSkill
- wizardSkill
- audit-repo-architectureSkill
- claude-handoffSkill
- i-have-adhdSkill
- loop-meSkill
- setup-ts-deep-modulesSkill
- writing-atomic-notesSkill
- writing-beatsSkill
- writing-flashcardsSkill
- writing-fragmentsSkill
- writing-polishSkill
- writing-shapeSkill
- git-guardrails-claude-codeSkill
- migrate-to-shoehornSkill
- setup-pre-commitSkill
- dashboard-uiSkill
- docsSkill
- grillingSkill
- grill-meSkill
- handoffSkill
- teachSkill
- to-questionnaireSkill
- wait-whatSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
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
- Distinctive: line 26
Verify clean working tree and ensure branch naming reflects scope:
- Distinctive: line 41
Never squash changes across distinct concerns or modules into a single blob commit.
- Distinctive: line 43
Single Scope: If all changes belong to one feature or fix, stage and commit together.
- Very specific: line 45
Bulleted Descriptions Only: When proposing atomic commit plans or writing commit bodies, never write dense paragraphs.
- Distinctive: line 46
Lean Turnaround: Do NOT execute dry-run formatting scripts as tool calls just to generate message text.
- Very specific: line 71
Explicit Human Confirmation Required: NEVER execute git commit or pass --execute to format-commit.mjs until the user explicitly confirms …
- Very specific: line 78
If repo defines .github/PULL_REQUEST_TEMPLATE.md, match its fields.
- Distinctive: line 80
Follow the Visual-First Guidelines:
- Distinctive: line 82
Keep evidence concrete: before/after screenshots for UI, failing->passing test logs for logic.
- Distinctive: line 99
When decomposing Epics into tracer-bullet tasks or creating bug reports:
- Very specific: line 101
Use references/issue-templates.md for issue body specifications (Task, Bug Report, Feature / Proposal).
- Very specific: line 102
Run node skills/engineering/git-flow/scripts/create-issue.mjs --type task --title "task(<scope>): <summary>" --parent <parent_number> …
“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
Git Flow (git-flow)
Shape clean git branches, 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 & Clean Branching
Verify clean working tree and ensure branch naming reflects scope:
- Feature branch:
feature/<kebab-name> - Bugfix branch:
fix/<kebab-name> - Hotfix branch:
hotfix/<kebab-name> - Core / Tier 3 branch:
core/<kebab-name>
Validate state with node skills/engineering/git-flow/scripts/git-flow.mjs or git status.
Completion criterion: Branch prefix adheres to convention and working tree state is clean or 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>). - Bulleted Descriptions Only: When proposing atomic commit plans or writing commit bodies, never write dense paragraphs. Format details as concise, high-signal bullet points (
- ...). - Lean Turnaround: Do NOT execute dry-run formatting scripts as tool calls just to generate message text. Draft the formatted commit proposal directly in your markdown response during Step 3.
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. deb3cea - feat(ui): add reusable LoadingScreen component: - Add standalone LoadingScreen.tsx supporting both full-screen and inline containers. 2. 7ff4bb0 - refactor(auth): migrate session management to Zustand useAuthStore: - Add useAuthStore.ts centralizing session token, user profile, and logout flow. - Update useUIStore.ts to sync .dark class to <html> upon store initialization. - Eliminate prop-drilling across App.tsx, AppRoutes.tsx, LoginPage.tsx, RegisterPage.tsx, ProtectedRoute.tsx, SidebarUserProfile.tsx, and TopNav.tsx. 3. a372d91 - refactor(dashboard): eliminate prop-drilling in canvas and modals: - Remove hasPrivatePin prop-drilling from Sidebar.tsx and NoteSidebarItem.tsx (delegate directly to NoteActionMenu.tsx via auth store). - Connect NoteEditor.tsx and UnlockCard.tsx to useWorkspaceStore fallback, decoupling DocumentCanvas.tsx. - Connect SearchModal.tsx directly to useUIStore and useWorkspaceStore, freeing WorkspaceLayoutContent from 7 intermediate props and unnecessary search re-renders. 4. e27bd99 - docs(architecture): update session design spec and standardize ADR frontmatters: - Update Mermaid sequence diagram and invariants INV-AUTH-04, INV-AUTH-05 in docs/design/01-auth-session-and-pin-setup.md. - Standardize YAML frontmatter across all 5 ADRs (0001 through 0005). - 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/engineering/git-flow/scripts/format-commit.mjs --type <type> --scope <scope> --summary "<summary>" --body "<body>" --execute. The script validates all SemVer and length rules and executes the commit atomically.
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
- If repo defines
.github/PULL_REQUEST_TEMPLATE.md, match its fields. - Otherwise, select template from
references/pr-tier*.mdbased on Tier. - Follow the Visual-First Guidelines:
- Include visuals (Mermaid diagrams, screenshots, Before/After image tables, shallow call trees) only when they genuinely clarify UI changes or complex architecture. For straightforward fixes, concise plain text is sufficient.
- Keep evidence concrete: before/after screenshots for UI, failing->passing test logs for logic.
- Name risk: two-way door vs one-way door, blast radius, and rollback plan if Tier 3.
- Open PR via
xd://github(op: pr_create) ornode skills/engineering/git-flow/scripts/create-pr.mjs --tier <1|2|3>.
Completion criterion: PR opened with validated tier template, before/after evidence, and correct issue linking.
Issue Linking & Closing Protocol
- Pull Request Descriptions (Primary): Declare
Resolves: #<id>(to auto-close on merge) orRelates to: #<id>(for non-closing reference) under## Contextin the PR body. If standalone, write- None. Never self-reference the PR itself (Relates to: #<own-pr-id>). - Atomic Commit Messages: Focus strictly on technical rationale. Never use auto-closing keywords (
Fixes:,Closes:,Resolves:) in commit messages to prevent premature issue closure. Footers are reserved forBREAKING CHANGE:or standalone bugfix trailers (Fixes: <hash>).
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/engineering/git-flow/scripts/create-issue.mjs --type task --title "task(<scope>): <summary>" --parent <parent_number> --executeto create and link directly to parent issues via the GitHub Native Sub-Issues API.
Quick Reference Rules
conventional-commits- Format all messages as<type>(<scope>): <description>. Validate viaformat-commit.mjs.bulleted-commit-desc- All commit proposal details and commit body rationale MUST be concise bullet points (- ...), never dense paragraphs.no-close-in-commits- NEVER use Fixes/Closes/Resolves in commit messages. Reserve auto-closing strictly for PR descriptions.clean-branching- Usefeature/,fix/,hotfix/, orcore/branch naming prefixes.enterprise-pr- Enforce clean titles and structured body template without emojis.no-force-push-main- NEVER force-push to main or master branches.human-audit-required- NEVER executegit commitor--executewithout explicit human confirmation.
References
references/git-flow-templates.md- Conventional commit specifications, helper options, 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.

