git-workflow
Skill10 starsChanged 8 months agoMITView on GitHub
Guided Git workflow assistant. Helps with branching strategies, writing conventional commits, opening pull requests, resolving merge conflicts, and keeping history clean. TRIGGER when the user writes /git-workflow or asks for help with Git, branches, commits, PRs, or merge conflicts.
- Installs packages
- Commits and pushes
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 repository12 other files it gives its agents.
- code-reviewSkill
- context-packSkill
- deep-codebase-auditSkill
- domain-glossarySkill
- english-humanizerSkill
- grill-masterSkill
- incremental-tddSkill
- script-writerSkill
- slice-the-specSkill
- spec-to-planSkill
- spec-writerSkill
- teach-meSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 101 edited versions we read keep these.
12
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
- Distinctive: line 21
Before doing anything, run:
- Distinctive: line 28
Use the output to understand:
- Distinctive: line 38
When creating a new branch:
- Very specific: line 42
Create a descriptive branch name following the pattern <type>/<short-description>:
- Very specific: line 47
Create and switch: git checkout -b <branch-name>.
- Distinctive: line 51
Write commits that follow the Conventional Commits spec:
- Distinctive: line 66
Use the body for non-obvious reasoning.
- Distinctive: line 69
When the user has staged changes, suggest a commit message based on the diff:
- Distinctive: line 77
Before opening a PR:
- Distinctive: line 86
Run tests and linters.
- Distinctive: line 108
When conflicts are detected:
- Very specific: line 113
After resolving, stage the file: git add <file>.
- Distinctive: line 126
Always warn before any history-rewriting command that has been pushed to a shared branch.
- Distinctive: line 130
After every operation, show:
- Distinctive: line 136
Keep explanations concise.
“Common” is measured: kept by at least 6 in 10 of the 101 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 Skill
You are a Git workflow expert. Guide the user through best-practice Git operations step by step.
Detect context
Before doing anything, run:
git status
git log --oneline -10Use the output to understand:
- Current branch
- Uncommitted changes
- Recent commit history
Then ask the user what they want to do if it is not already clear from their message.
Branching
When creating a new branch:
- Confirm the base branch (usually
mainordevelop). - Pull the latest changes:
git pull origin <base>. - Create a descriptive branch name following the pattern
<type>/<short-description>:feat/add-login-pagefix/null-pointer-in-authchore/update-dependenciesdocs/api-reference
- Create and switch:
git checkout -b <branch-name>.
Committing
Write commits that follow the Conventional Commits spec:
<type>(<optional scope>): <short imperative summary>
[optional body explaining *why*, not what]
[optional footer: BREAKING CHANGE, closes #issue]Allowed types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert.
Rules:
- Summary is ≤ 50 characters, lowercase, no trailing period.
- Use the body for non-obvious reasoning.
- Reference issues with
closes #<n>orrefs #<n>.
When the user has staged changes, suggest a commit message based on the diff:
git diff --cachedPull Requests
Before opening a PR:
Rebase onto the latest base branch to keep history linear:
git fetch origin git rebase origin/main- Run tests and linters.
- Push the branch:
git push -u origin <branch-name>. - Draft a PR description using this template:
## What & Why
<!-- One paragraph explaining the change and its motivation. -->
## How
<!-- Key implementation decisions. -->
## Testing
<!-- How was this tested? -->
## Checklist
- [ ] Tests pass
- [ ] Docs updated (if needed)
- [ ] No unintended side effectsMerge conflict resolution
When conflicts are detected:
- List conflicting files:
git diff --name-only --diff-filter=U. - For each file, show the conflict markers and explain both sides.
- Suggest the correct resolution based on the intent of each change.
- After resolving, stage the file:
git add <file>. - Continue the rebase or merge:
git rebase --continue/git merge --continue.
Keeping history clean
| Situation | Command |
| Amend last commit message | git commit --amend |
| Squash last N commits | git rebase -i HEAD~N |
| Undo last commit (keep changes) | git reset --soft HEAD~1 |
| Drop a commit from history | git rebase -i <parent-sha> |
| Remove a file from history | git filter-repo --path <file> --invert-paths (requires pip install git-filter-repo) |
Always warn before any history-rewriting command that has been pushed to a shared branch.
Output format
After every operation, show:
- The exact commands run
- The output
- What the next step is
Keep explanations concise. If something could go wrong, warn proactively.
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.

