git-workflow
Skill1 starsChanged 11 months agoMITView on GitHub
Git workflow patterns and best practices. Use when managing branches, commits, and collaboration workflows.
- Reads credentials
- Commits and pushes
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 163 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when working with Git for version control and collaboration.
“Common” is measured: kept by at least 6 in 10 of the 163 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
Use this skill when working with Git for version control and collaboration.
Branch Naming Convention
feature/ - New features (feature/user-authentication)
bugfix/ - Bug fixes (bugfix/login-redirect)
hotfix/ - Urgent production fix (hotfix/security-patch)
release/ - Release preparation (release/v2.1.0)
chore/ - Maintenance (chore/update-dependencies)
docs/ - Documentation (docs/api-reference)Commit Message Format
<type>(<scope>): <subject>
<body>
<footer>Types
feat: New featurefix: Bug fixdocs: Documentationstyle: Formatting (no code change)refactor: Code restructuringtest: Adding testschore: Maintenance
Examples
feat(auth): add OAuth2 login support
Implement Google and GitHub OAuth providers.
Includes token refresh handling.
Closes #123fix(cart): resolve race condition in checkout
The cart total was calculated before items
were fully loaded, causing incorrect totals.Workflow Patterns
Feature Branch Workflow
# Start feature
git checkout main
git pull origin main
git checkout -b feature/new-feature
# Work and commit
git add .
git commit -m "feat: implement feature"
# Stay updated
git fetch origin
git rebase origin/main
# Push and create PR
git push -u origin feature/new-featureRebase vs Merge
# Rebase: Linear history (preferred for feature branches)
git checkout feature/my-feature
git rebase main
# Merge: Preserves branch history
git checkout main
git merge --no-ff feature/my-featureCommon Operations
Undo Last Commit (keep changes)
git reset --soft HEAD~1Amend Last Commit
git add forgotten-file.js
git commit --amend --no-editInteractive Rebase (clean up commits)
git rebase -i HEAD~5
# Commands:
# pick - use commit
# squash - combine with previous
# reword - change message
# drop - remove commitCherry Pick
git cherry-pick abc123Stash Changes
git stash push -m "WIP: feature"
git stash list
git stash popPull Request Checklist
Before creating PR:
- Branch is up to date with main
- All tests pass
- Code is linted/formatted
- Commits are clean and logical
- No debug code or console.logs
- Documentation updated if needed
PR Description:
## Summary
Brief description of changes
## Changes
- Added X
- Fixed Y
- Updated Z
## Testing
How to test these changes
## Screenshots (if UI)
Before/after imagesGitignore Essentials
# Dependencies
node_modules/
venv/
vendor/
# Build
dist/
build/
*.pyc
# Environment
.env
.env.local
*.env
# IDE
.vscode/
.idea/
*.swp
# OS
.DS_Store
Thumbs.db
# Logs
*.log
logs/Hooks (Pre-commit)
# .git/hooks/pre-commit
#!/bin/sh
npm run lint
npm testOther versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- wldandan/claude-skills-tutorials★ 111% same
- qinshuang/claude-skill★ 011% same
Wrote their own version · 188
- langfuse/langfuse★ 37ksame name
- modelcontextprotocol/typescript-sdk★ 14ksame name
- JetBrains/ideavim★ 10ksame name
- jokob-sk/NetAlertX★ 7.3ksame name
- netalertx/NetAlertX★ 7.3ksame name
- Galaxy-Dawn/claude-scholar★ 5.9ksame name
- github/gh-aw★ 5.5ksame name
- modelcontextprotocol/csharp-sdk★ 4.6ksame name
- antonbabenko/pre-commit-terraform★ 3.8ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.2ksame 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.
Used alongsideProjects with it also use squad-commands, architectural-proposals and 9 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 5 projects that use this
MicrosoftSkillarchitectural-proposals
How to write comprehensive architectural proposals that drive alignment before code is written
Also in 4 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
- +8 more from microsoft
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-integrationSkill
- authenticationSkill
- caching-strategiesSkill
- ci-cd-pipelinesSkill
- clean-architectureSkill
- code-patternsSkill
- database-designSkill
- docker-composeSkill
- error-handlingSkill
- frontend-designSkill
- logging-monitoringSkill
- microservicesSkill
- performance-tuningSkill
- project-setupSkill
- security-best-practicesSkill
- systematic-debuggingSkill
- tddSkill
- testing-strategiesSkill
- websockets-realtimeSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

