git-workflow
Skill0 starsChanged 22 days agoMITView on GitHub
Branching strategies, conventional commits, PR templates, and merge vs rebase guidance. Activate when starting features, creating PRs, or managing releases.
- 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 repository32 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- api-designSkill
- arch-constraint-guardSkill
- backend-patternsSkill
- clean-architectureSkill
- codebase-mappingSkill
- context-budgetSkill
- cqrsSkill
- ddd-architectureSkill
- debug-flowSkill
- dependency-auditSkill
- django-patternsSkill
- django-tddSkill
- event-driven-architectureSkill
- fd-codenavSkill
- fd-mapSkill
- frontend-patternSkill
- git-releaseSkill
- golang-patternsSkill
- hexagonal-architectureSkill
- java-patternsSkill
- layered-architectureSkill
- performance-profilingSkill
- postgres-patternsSkill
- python-patternsSkill
- refactor-guideSkill
- research-firstSkill
- rust-patternsSkill
- saga-architectureSkill
- security-scanSkill
- tdd-workflowSkill
- test-gap-detectorSkill
The file
Files
Git Workflow Skill
Clean, reviewable git history. Small commits, descriptive messages, reviewed before merge.
When to Activate
Activate when:
- Starting a new feature or bug fix
- Creating a pull request
- Managing a release
- Resolving merge conflicts
Core Principles
- Small, atomic commits — one logical change per commit
- Descriptive messages — reader understands the change without reading the diff
- Linear history preferred — rebase local branches before creating PR
- Review before merge — no self-merges on shared branches
Branch Naming Convention
feature/user-authentication — new features
fix/login-redirect-loop — bug fixes
chore/update-dependencies — maintenance
release/v1.2.0 — release preparation
hotfix/critical-null-dereference — urgent production fixes
refactor/extract-auth-middleware — code restructuring
docs/update-api-reference — documentation onlyConventional Commits Format
type(scope): description
[optional body]
[optional footer]Types
| Type | Version Bump | When to Use |
feat | minor | New feature for the user |
fix | patch | Bug fix for the user |
perf | patch | Performance improvement |
refactor | patch | Code change, no behavior change |
docs | none | Documentation only |
test | none | Adding or fixing tests |
chore | none | Dependencies, tooling, CI |
ci | none | CI/CD configuration |
build | none | Build system changes |
Examples
feat(auth): add JWT token refresh endpoint
fix(auth): correct token expiry off-by-one error
perf(db): replace N+1 query with single JOIN
refactor(user): extract password validation to separate module
docs(api): document authentication endpoints
test(auth): add coverage for token expiry edge cases
chore(deps): update express to 4.18.2
ci(github): add node 20 to test matrix
feat!: remove deprecated v1 API endpointsBreaking Changes
feat!: remove deprecated getUserData() function
BREAKING CHANGE: getUserData() has been removed.
Use fetchUserProfile() instead.
Migration: replace all calls to getUserData() with fetchUserProfile().PR Template
Title: Same format as a commit: feat(auth): add password reset
Description:
## What
[What this PR does in 1-3 sentences]
## Why
[Why this change is needed]
## How to Test
1. [Step 1]
2. [Step 2]
3. Expected result: [what should happen]
## Checklist
- [ ] Tests added or updated
- [ ] Documentation updated
- [ ] No breaking changes (or documented)
- [ ] Ran `npm test` locallyRebase vs Merge
| Situation | Strategy | Command |
| Local feature branch before PR | Rebase | git rebase main |
| PR integration to main | Merge (preserves history) | GitHub "Merge PR" |
| Small feature PR | Squash merge | GitHub "Squash and merge" |
| Long-lived branch | Merge (preserves branch history) | git merge --no-ff |
| Force-push to shared branch | Never | — |
# Before creating PR — rebase to clean up
git fetch origin
git rebase origin/main
git push --force-with-lease # safe force push (only if no one else pushed)Release Process
# 1. Create release branch
git checkout -b release/v1.2.0
# 2. Update version
npm version minor # updates package.json + creates tag
# 3. Update CHANGELOG
# (add entry under ## [1.2.0])
# 4. Commit
git add CHANGELOG.md package.json
git commit -m "chore(release): v1.2.0"
# 5. Tag
git tag -a v1.2.0 -m "Release v1.2.0"
# 6. Push
git push origin release/v1.2.0 --tags
# 7. Create PR → merge → doneGit Commands Reference
# Undo last commit (keep changes staged)
git reset --soft HEAD~1
# Undo last commit (discard changes)
git reset --hard HEAD~1
# Fix commit message
git commit --amend -m "new message"
# Squash last 3 commits
git rebase -i HEAD~3
# Cherry-pick a commit to another branch
git cherry-pick [commit-sha]
# Find when a bug was introduced
git bisect start
git bisect bad # current is broken
git bisect good [good-sha] # last known good
# Stash changes
git stash # save
git stash pop # restoreDoes 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.

