git-workflow
Skill1 starsChanged 37 days agoMITView on GitHub
Step-by-step git workflow for this project. Use when starting a ticket, creating commits, opening PRs, handling review feedback, or cleaning up after a merge.
- 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 repository24 other files it gives its agents.
- .github/skills/hand-drawn-diagrams/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/skills/hand-drawn-diagrams/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- canvas-designSkill
- baSkill
- consultantSkill
- critical-thinkingSkill
- cybersecuritySkill
- debuggerSkill
- designerSkill
- doc-writerSkill
- frontend-designSkill
- hand-drawn-diagramsSkill
- marketingSkill
- philosopherSkill
- pmSkill
- psychologistSkill
- qcSkill
- remotion-best-practicesSkill
- setup-copilotSkill
- technical-leadSkill
- test-data-generatorSkill
- unit-testingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Always branch off main. Never work directly on main.
- Distinctive: line 17
Single machine, multiple active branches?: Use git worktree instead of switching:
- Very specific: line 26
Use Conventional Commits: type(scope): short description — subject under 72 chars.
- Distinctive: line 57
Developer responsibility: after QC hands over a test plan doc, the developer must:
- Distinctive: line 79
Never commit directly to main
- Distinctive: line 80
Never force-push or amend published commits
- Very specific: line 81
Never bypass hooks with --no-verify
- Distinctive: line 82
Always delete the remote branch after merging
- Very specific: line 91
Never use --no-verify to bypass hooks
“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
This skill covers the full lifecycle of a feature from branch creation to merge. The source of truth for git conventions is copilot-instructions.md — this skill adds the operational how-to.
Starting a Ticket
Always branch off main. Never work directly on main.
git checkout main && git pull origin main
git checkout -b feature/<ticket_id> # or fix/ or chore/Single machine, multiple active branches? Use git worktree instead of switching:
git worktree add ../<project-name>-<ticket_id> feature/<ticket_id>
cd ../<project-name>-<ticket_id>Each worktree is an independent folder on its own branch, sharing the same .git. No repo duplication. Safe to run in parallel.
Committing
Use Conventional Commits: type(scope): short description — subject under 72 chars.
Types: feat fix refactor style chore test docs
Scope: component or folder changed — e.g. ui, server, modal, kanban
Opening a PR
git push origin <branch>
# Create the PR via GitHub CLI (preferred):
gh pr create \
--base main \
--title "<ticket title>" \
--body "Closes <ticket_id>
## Summary
<what was changed and why>
## Test steps
<manual steps to verify, if any>"PR must target main. Title = ticket title. Body must reference the ticket ID.
Notify the PM that the PR is ready for review.
QC Test Docs
QC writes test plans and results as markdown files (e.g. docs/test-plans/), but QC does not commit or push code directly.
Developer responsibility: after QC hands over a test plan doc, the developer must:
- Copy the doc into the repo (typically
docs/test-plans/<ticket-id>.md) - Include it in the PR before merging
This keeps test artifacts tracked in git alongside the code they cover.
Handling Review Feedback
Apply fixes on the same branch, push — the PR updates automatically. Notify PM when ready for re-review.
After Approval — Merge & Cleanup
Squash merge on GitHub (preferred for clean history). Then locally:
git worktree remove ../<project-name>-<ticket_id> # if worktree was used
git branch -d feature/<ticket_id>
git remote prune originRules
- Never commit directly to
main - Never force-push or amend published commits
- Never bypass hooks with
--no-verify - Always delete the remote branch after merging
Rules
- Never commit directly to
main - Never force-push or amend published commits
- Never use
--no-verifyto bypass hooks - Always delete the remote branch after merging
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.

