git-workflow
Skill1 starsChanged 8 months agoMITView on GitHub
Git commit, branching, and documentation conventions. Use when: writing commit messages, creating branches, preparing pull requests, reviewing changelogs, squashing commits, establishing git workflow standards, auditing commit history for convention compliance, or improving an existing project git workflow.
- 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 8 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
pluginagentmarketplaceSkillmicroservices
Microservices architecture patterns and best practices. Service decomposition, inter-service communication, and distributed data management.
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 repository42 other files it gives its agents.
- accessibility-testingSkill
- alternatives-analysisSkill
- anomaly-detectionSkill
- api-designSkill
- async-messagingSkill
- caching-strategiesSkill
- chartsSkill
- cicdSkill
- code-reviewSkill
- commsSkill
- critical-feedbackSkill
- data-analysisSkill
- databaseSkill
- data-migrationsSkill
- data-visualizationSkill
- dependency-managementSkill
- dockerSkill
- error-handlingSkill
- feature-flagsSkill
- goalsSkill
- ide-setupSkill
- large-changeSkill
- logging-metricsSkill
- markdown-docsSkill
- mcp-serverSkill
- meeting-agendasSkill
- okrsSkill
- presentationsSkill
- product-managementSkill
- prompt-writingSkill
- pythonSkill
- reclassificationSkill
- release-managementSkill
- retrospectivesSkill
- roadmap-planningSkill
- securitySkill
- stakeholder-commsSkill
- statisticsSkill
- status-updatesSkill
- testingSkill
- ticket-writingSkill
- typescriptSkill
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
- could be automatic: a setting could enforce it
- Distinctive: line 23
Follow the Conventional Commits specification.
- Distinctive: line 109
If you can describe the commit with "and" (e.g., "fix login and update styles"), split it into two commits.
- Distinctive: line 110
Test suite should pass on every commit (enables git bisect).
- Distinctive: line 111
Prefer many small commits during development, squash into logical units before merging.
- Distinctive: line 137
Follow the same conventional commit format as the squash/merge commit:
- Distinctive: line 174
When maintaining a CHANGELOG.md, follow the Keep a Changelog format.
- Distinctive: line 200
Run these before every commit:
- Very specific: line 218
Consider automating this with a pre-commit hook or lint-staged.
- Distinctive: line 222
Write meaningful messages on every commit, even during early development.
- Very specific: line 223
Use .gitignore before the first commit to avoid committing generated files.
- Distinctive: line 224
Never commit secrets, credentials, or environment files.
- Distinctive: line 225
Never commit code that fails linting or type checking.
- Distinctive: line 226
Use git stash for work-in-progress rather than WIP commits.
- Distinctive: line 232
Use annotated tags for all releases.
- Very specific: line 244
Use the conventional commit type chore(release) for the version-bump commit:
“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 Standards
When to Use
- Writing or reviewing commit messages
- Creating branches for features, fixes, or releases
- Preparing pull request descriptions
- Squashing or cleaning up commit history
- Establishing git conventions for a project
- Auditing an existing project's commit history and branch strategy for convention compliance
- Retrofitting conventional commits, PR templates, or changelog practices to an existing repo
Commit Messages
Follow the Conventional Commits specification. This enables automated changelog generation, semantic versioning, and clear history.
Format
<type>(<scope>): <subject>
<body>
<footer>Rules
- Subject line: Imperative mood, lowercase, no period, max 72 characters.
- Body: Wrap at 80 characters. Explain what and why, not how. Separate from subject with a blank line.
- Footer: Reference issues, breaking changes, or co-authors.
Types
| Type | When to use |
feat | New feature or capability |
fix | Bug fix |
docs | Documentation only |
style | Formatting, whitespace, semicolons (no logic change) |
refactor | Code restructuring without behavior change |
perf | Performance improvement |
test | Adding or updating tests |
build | Build system, dependencies, CI config |
chore | Maintenance tasks, tooling, config |
ci | CI pipeline changes |
revert | Reverting a previous commit |
Scope
Optional, but encouraged. Use the module, component, or area affected:
feat(api): add user search endpointfix(auth): handle expired refresh tokensbuild(deps): update fastapi to 0.115docs(readme): add deployment instructions
Examples
Single-line (small, self-explanatory changes):
fix(cors): allow credentials in preflight responsesWith body (changes that need context):
feat(cache): add IndexedDB caching for dashboard data
Store API responses in IndexedDB keyed by endpoint and query params.
Serve cached data immediately on page load, then refresh in the
background. Reduces perceived load time for repeat visits.With breaking change:
feat(api)!: change auth from API key to OAuth2
Migrate all endpoints to require Bearer token authentication.
API key header is no longer accepted.
BREAKING CHANGE: Clients must update to use OAuth2 tokens.
All existing API keys are invalidated.
Closes #142Anti-patterns
update stuff- Vague, no type, no scope, no useful informationfix bug- Which bug? What was the symptom?WIP- Never commit with WIP; usegit stashor draft branchesaddress review comments- Describe what actually changed- Giant commits touching unrelated files - Split into focused commits
Commit Granularity
- Each commit should represent one logical change.
- If you can describe the commit with "and" (e.g., "fix login and update styles"), split it into two commits.
- Test suite should pass on every commit (enables
git bisect). - Prefer many small commits during development, squash into logical units before merging.
Branch Naming
<type>/<short-description>| Pattern | Example |
feat/user-search | Feature work |
fix/token-expiry | Bug fix |
docs/api-reference | Documentation |
refactor/auth-module | Refactoring |
release/v1.2.0 | Release branch |
hotfix/null-pointer | Production hotfix |
Rules:
- Lowercase, kebab-case.
- Short but descriptive (3-5 words max).
- Include ticket number if applicable:
feat/PROJ-123-user-search.
Pull Requests
Title
Follow the same conventional commit format as the squash/merge commit:
feat(api): add user search endpointDescription Template
## What
Brief description of what this PR does.
## Why
Context on why this change is needed. Link to issue or ticket.
## How
High-level description of the approach taken.
## Testing
How this was tested. Include commands to verify, test output, or screenshots.
## Checklist
- [ ] Linter passes with no errors (`ruff check .` / `eslint .`)
- [ ] Formatter applied (`ruff format .` / `prettier --write .`)
- [ ] Type checker passes (`mypy .` for Python, `tsc --noEmit` for TypeScript)
- [ ] Tests pass
- [ ] Documentation updated
- [ ] No secrets or credentials committedChangelog
When maintaining a CHANGELOG.md, follow the Keep a Changelog format. See the release-management skill for changelog automation from conventional commits and release cadence guidance.
# Changelog
## [Unreleased]
### Added
- User search endpoint with fuzzy matching (#142)
### Fixed
- Token refresh handling for expired sessions (#138)
### Changed
- Auth migrated from API key to OAuth2 (#140)
## [1.1.0] - 2026-03-15
### Added
- Dashboard caching with IndexedDBCategories: Added, Changed, Deprecated, Removed, Fixed, Security.
Pre-Commit Checklist
Run these before every commit:
Python projects:
ruff format . # format
ruff check --fix . # lint with auto-fix
mypy . # type check
pytest # testsWeb projects:
prettier --write . # format
eslint . --fix # lint with auto-fix
tsc --noEmit # type check
npm test # testsConsider automating this with a pre-commit hook or lint-staged.
Git Hygiene
- Write meaningful messages on every commit, even during early development.
- Use
.gitignorebefore the first commit to avoid committing generated files. - Never commit secrets, credentials, or environment files.
- Never commit code that fails linting or type checking.
- Use
git stashfor work-in-progress rather than WIP commits. - Rebase/squash feature branches before merging to keep main history clean.
- Tag releases using semantic versioning:
v1.2.0(see release-management skill for full SemVer conventions).
Release Tagging
Use annotated tags for all releases. Annotated tags store author, date, and message — essential for audit and tooling:
git tag -a v1.5.0 -m "Release v1.5.0"
git push origin main --follow-tagsTag Rules
- Prefix with
v:v1.5.0, not1.5.0. - Tags are immutable — never delete and re-create. Fix with a new PATCH release.
- Tag only commits where all CI checks pass.
- Use the conventional commit type
chore(release)for the version-bump commit:
chore(release): v1.5.0For full semantic versioning rules (when to bump MAJOR vs MINOR vs PATCH), release workflows, hotfix procedures, and changelog automation, see the release-management skill.
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.

