git-workflow
Skill2 starsChanged 5 months agoMITView on GitHub
Git best practices for AI coding agents. Use when committing changes, creating branches, splitting PRs, reviewing code, or setting up worktrees. Covers Conventional Commits v1.0.0 spec, atomic commits, stacked PRs, squash-based workflow, and worktree patterns.
118 other projects use a version of this.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- 1pedroosilva/databricks-genie-skillstheir own version, first seen Oct 2, 2026
- vospr/context-engineering-templatetheir own version, first seen Oct 1, 2026
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 1, 2026
Used with
Projects with it also use squad-commands, typescript-patterns 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.
MicrosoftSkillsquad-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 3 projects that use this
cohen-lielSkilltypescript-patterns
TypeScript best practices and patterns. Use when writing TypeScript code, defining types, working with generics, or converting JavaScript to TypeScript.
Also in 4 projects that use this
martinholovskySkillllm-integration
Expert skill for integrating local Large Language Models using llama.cpp and Ollama. Covers secure model loading, inference optimization, prompt handling, and protection against LLM-specific vulnerabilities including prompt injection, model theft, and denial of service attacks.
Also in 4 projects that use this
MicrosoftSkillcost-optimization
Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: \"optimize Azure costs\", \"reduce cloud spending\", \"rightsize resources\", \"find idle resources\", \"orphaned disk\", \"deleted VM still charged\", \"public IP still charging\", \"reservation utilization\", \"Savings Plan coverage\", \"commitment recommendation\", \"why is pay-as-you-go still charged\". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.
Also in 5 projects that use this
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 3 projects that use this
Vimalk0703Skilldependency-management
Vet packages before adoption, audit for vulnerabilities, pin versions, and prevent dependency bloat.
Also in 3 projects that use this
- +1 more from microsoft
Other versions118 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 118
- JetBrains/ideavim★ 10ksame name
- Galaxy-Dawn/claude-scholar★ 5.7ksame name
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- microsoft/waza★ 1.4ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- Mindrally/skills★ 266same name
- Azure/fleet★ 226same name
- povvo/claudikins-kernel★ 128same name
- extra-org/extra★ 113same name
108 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 repository6 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ai-engineerSkill
- developerSkill
- explore-codebaseSkill
- powershell-patternsSkill
- skill-creatorSkill
The file
Files
Git Workflow
Conventional Commits v1.0.0
<type>[optional scope][!]: <description>
[optional body]
[optional footer(s)]Types
| Type | SemVer | Use |
feat | MINOR | New feature |
fix | PATCH | Bug fix |
docs | — | Documentation only |
style | — | Formatting, no logic change |
refactor | — | Code change, no fix/feature |
perf | — | Performance improvement |
test | — | Adding/correcting tests |
chore | — | Build, deps, tooling |
ci | — | CI/CD config |
revert | — | Reverting commits |
BREAKING CHANGE (MAJOR)
Two valid forms per spec:
feat(api)!: send email on shipment # ! before :feat: allow config extension
BREAKING CHANGE: `extends` key now used for extending configsRevert
revert: let us never speak of the noodle incident
Refs: 676104e, a215868Atomic Commits
One logical change per commit. Use git add -p for interactive staging:
git add -p # Stage hunks interactively
git add src/models/ # Stage specific directoryGood: "Add user model and validation" / Bad: "Add user model, fix navbar bug, update readme"
PR Splitting (Stacked PRs)
- PR 1 (base): Models, interfaces, types
- PR 2 (logic): Services, state management
- PR 3 (UI): Components, templates, styles
- PR 4 (tests): Unit/integration tests
Each PR compiles independently. Squash-based workflow: lead maintainer cleans commit messages on merge.
Branch Naming
feature/<name> fix/<name> refactor/<name> docs/<name> chore/<name>Worktrees (for PR reviews)
git worktree add -b review-pr-42 ../review feature/branch
git worktree list
git worktree remove ../reviewStashing
git stash # Quick
git stash push -m "WIP: refactoring" # Named
git stash --include-untracked # + untracked
git stash --staged # Only staged
git stash pop # Apply latestDoes 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.

