git-workflow
Skill0 starsChanged 8 months agoMITView on GitHub
Complete Git and GitHub workflow guide for projects using modern web stacks. ALWAYS use this skill when the user mentions: commit, branch, PR, pull request, issue, merge, push, rebase, stash, cherry-pick, release, tag, versioning, CHANGELOG, GitHub Actions, CI, checks, labels, GitHub Projects, create task, create branch, open PR, merge changes, deploy, hotfix, or any git/GitHub action. Also trigger when the user asks how to do something in git, what type of branch to create, how to name a commit, whether to create an issue first, or how to organize work in the repository. This skill contains the exact conventions, labels, checklists and flows the project uses — do not assume generic defaults.
- Commits and pushes
188 other projects use a version of this.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- kinhluan/skillstheir own version, first seen Nov 8, 2026
- juninmd/skillstheir own version, first seen Nov 8, 2026
- jDxve/avengers-kittheir own version, first seen Nov 8, 2026
- lhbsaa/apex-unifiedtheir own version, first seen Nov 8, 2026
- haythamasalama/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use squad-commands, ci-cd-pipelines and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkillsquad-commands
Categorized catalog of common Squad operations. Coordinator reads this file and presents it as an interactive menu when the user asks for available commands or help.
Also in 5 projects that use this
harrissohail6Skillci-cd-pipelines
CI/CD pipeline design and implementation. Auto-activates when discussing deployment, automation, or pipelines.
Also in 6 projects that use this
Microsoft AzureSkillarchitectural-proposals
How to write comprehensive architectural proposals that drive alignment before code is written
Also in 4 projects that use this
GitHubSkille2e-template-testing
End-to-end validation of coordinator and agent template changes
Also in 3 projects that use this
GitHubSkillnotification-routing
Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding
Also in 3 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
- +5 more from Azure
- +1 more from github
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- langfuse/langfuse★ 37ksame name
- modelcontextprotocol/typescript-sdk★ 14ksame name
- JetBrains/ideavim★ 10ksame name
- jokob-sk/NetAlertX★ 7.4ksame name
- netalertx/NetAlertX★ 7.4ksame name
- Galaxy-Dawn/claude-scholar★ 5.9ksame name
- github/gh-aw★ 5.6ksame name
- modelcontextprotocol/csharp-sdk★ 4.6ksame name
- antonbabenko/pre-commit-terraform★ 3.8ksame name
- github/squad★ 3.4ksame name
178 more not listed
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 repositoryOne other file it gives its agents.
- skill-nameSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read references/GIT_WORKFLOW.md for the full workflow.
- Distinctive: line 26
Never work directly on main
- Distinctive: line 27
Every significant task starts with an issue
- Very specific: line 31
Every PR must include Closes #N to automatically close the linked issue
- Distinctive: line 114
GitHub Projects note: If the repo has a Default Project set under Settings, new issues are added to the project automatically.
- Very specific: line 133
Keep an [Unreleased] section during active development
- Very specific: line 136
Commit alongside the VERSION bump: git commit -m "chore: release vX.Y.Z"
“Common” is measured: kept by at least 6 in 10 of the 165 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 Workflow
Designed for: React · Django REST Framework · PostgreSQL · Redis · Docker Adaptable to any project — adjust stack reference and labels to fit your setup.
Read references/GIT_WORKFLOW.md for the full workflow. Below are the essential rules that apply to every git action.
Rules That Are Never Broken
- Never work directly on
main - Every significant task starts with an issue
- One branch = one purpose. One commit = one complete idea. One PR = one reviewable delivery
- Do not merge if CI checks fail — no exceptions
mainis always stable and deployable- Every PR must include
Closes #Nto automatically close the linked issue
Quick Reference
Branches — format type/short-description
feature · fix · improve · refactor · test · docs · chore
Commits — Conventional Commits
<type>(<scope>): short description in imperative mood
feat · fix · refactor · test · docs · choreLabels — always assign one from each relevant group
Type: type: feature · type: fix · type: improve · type: chore · type: docs · type: test
Priority: priority: high · priority: medium · priority: low
Area: area: backend · area: frontend · area: infra · area: repo
GitHub default: bug · enhancement · documentation · duplicate · help wanted · invalid · question · wontfix
Note: The Area and Type labels above are custom. Adapt them to your project's structure. You can create them via:
gh label create "type: feature" --color "#0075ca"
Standard Flow (full cycle)
# 1. Create issue first
gh issue create --title "type(scope): description" \
--label "type:feature,priority:medium,area:backend"
# 2. Branch from updated main
git checkout main && git pull
git checkout -b feature/name
# 3. Atomic commits
git add file.py
git commit -m "feat(scope): description in imperative mood"
# 4. Push and PR with issue close reference
git push -u origin feature/name
gh pr create --title "feat(scope): description" \
--body "...\n\nCloses #N"
# 5. Verify CI before merging
gh pr checks --watch
# 6. Merge only if CI is green
gh pr merge --merge
# 7. Clean up
git checkout main && git pull
git branch -d feature/nameIssues — create with gh
gh issue create \
--title "type(scope): description" \
--body "$(cat <<'EOF'
## Description
What needs to be done and why.
## Acceptance criteria
- [ ] Criterion 1
- [ ] Criterion 2
## Technical notes (optional)
Relevant context, prior decisions, references.
EOF
)" \
--label "type:feature,priority:medium,area:frontend"GitHub Projects note: If the repo has a Default Project set under Settings, new issues are added to the project automatically. Status and Iteration fields must be assigned manually inside the project.
CI / GitHub Actions — checking PR status
gh pr checks # view check status
gh pr checks --watch # wait for results in real time
gh run list # list recent runs
gh run view <id> --log # view logs from a failed runIf a check fails: fix → commit → push → wait for new run → verify green → merge.
CHANGELOG — update on every release
- Keep an
[Unreleased]section during active development - On release: rename to
[X.Y.Z] - DATE, add a new empty[Unreleased]section above - Categories:
Added·Changed·Fixed·Removed·Security - Commit alongside the VERSION bump:
git commit -m "chore: release vX.Y.Z"
Quick Checklist
Issue: formatted title · acceptance criteria · labels (type + priority + area)
Branch: starts from updated main · type/description name · purpose in one sentence
Commit: atomic · conventional format · no unrelated changes mixed in
PR: clear title · body with Summary/Changes/How to test · Closes #N
Merge: CI green · branch up to date with main
Release: features merged · CHANGELOG updated · VERSION bumped · tag created
Full Detail
For detailed flows (stash, rebase, cherry-pick, conflict resolution, versioning, branch protection rules), see:
→ references/GIT_WORKFLOW.md
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.

