git-workflow
Skill1 starsChanged 7 months agoApache-2.0View on GitHub
Git workflow assistant. Invoke when the user wants to commit, create a branch, write a PR description, or follow the project's git conventions. Auto-activates on: "commit this", "create a PR", "write a commit message", "what should I name this branch".
- Deletes or force-pushes
- 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 repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-repoSkill
- augmentSkill
- code-reviewSkill
- context-guardSkill
- dep-checkSkill
- doctorSkill
- forgeSkill
- learnSkill
- onboardingSkill
- security-scanSkill
- self-updateSkill
- test-runnerSkill
- tipsSkill
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 13
Before any git operation, read CLAUDE.md for:
- Distinctive: line 14
Commit message format (conventional commits?
- Distinctive: line 26
Write commit message following project conventions
- Very specific: line 27
If conventional commits: type(scope): description
- Distinctive: line 33
Read the issue/task first to understand scope
- Very specific: line 35
Check it doesn't already exist: git branch -a | grep name
- Distinctive: line 59
NEVER suggest git push --force on a shared branch
- Distinctive: line 60
NEVER commit to main or master directly
- Very specific: line 61
Always check for secrets before committing: git diff --cached | grep -i "api_key\|secret\|password\|token"
“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
Purpose
Handle git operations following the project's specific conventions. Read the project's CLAUDE.md to understand branch naming, commit message format, and PR conventions before doing anything.
Steps
1. Read Project Conventions
Before any git operation, read CLAUDE.md for:
- Commit message format (conventional commits? custom format?)
- Branch naming convention
- PR template (check
.github/pull_request_template.mdif it exists)
2. Check Current State
git status
git diff --stat HEAD3. For Commits
- Group related changes into logical commits (not one giant commit)
- Write commit message following project conventions
- If conventional commits:
type(scope): description - Include breaking change footer if relevant
- Max subject line: 72 characters
- Body: what changed and WHY, not what (the diff shows what)
4. For Branches
- Read the issue/task first to understand scope
- Name:
type/short-description(e.g.,feat/add-review-widget,fix/auth-cookie-bug) - Check it doesn't already exist:
git branch -a | grep name
5. For PR Descriptions
Structure:
## What
[One paragraph: what changed]
## Why
[One paragraph: why this change was needed]
## How
[Brief technical explanation of the approach]
## Testing
[How to test this change]
## Checklist
- [ ] Tests pass
- [ ] No console.logs left
- [ ] Docs updated if needed6. Safety Checks
- NEVER suggest
git push --forceon a shared branch - NEVER commit to
mainormasterdirectly - Always check for secrets before committing:
git diff --cached | grep -i "api_key\|secret\|password\|token"
Output
Print the git commands to run (don't run them automatically unless the user said "just do it"). Explain what each command does if it's non-obvious.
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.

