git
Skill3 starsChanged 3 months agoMITView on GitHub
Git usage patterns and conventions. Use when the user requests commits or git operations. Enforces compact commit messages (headline + 1-2 sentences), conventional commit format, no Claude annotations, and focuses on WHY not WHAT in summaries.
- Commits and pushes
57 other projects use a version of this.
Adopted by
Most recently taken up by
- bmcszk/agent-skillstheir own version, first seen Nov 8, 2026
- BridgLabs/opencodereviewtheir own version, first seen Nov 8, 2026
- Conceptual-Machines/magda-coretheir own version, first seen Nov 7, 2026
- tsukhani/jclawtheir own version, first seen Nov 5, 2026
- cekrauseee/harnesstheir own version, first seen Nov 1, 2026
- jmlrt/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use sql, databases 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.
thechandanbhagatSkillsql
Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.
Also in 4 projects that use this
mrgoonieSkilldatabases
Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.
Also in 3 projects that use this
mrgoonieSkilldevops
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
Also in 4 projects that use this
MicrosoftSkilltypescript
TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.
Also in 4 projects that use this
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 3 projects that use this
Microsoft AzureSkilltest
Also in 8 projects that use this
Other versions57 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 57
- macro-inc/macro★ 6ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- carapace-sh/carapace-bin★ 2ksame name
- LuisaGroup/LuisaCompute★ 1.1ksame name
- kagenti/kagenti★ 303same name
- Conceptual-Machines/magda-core★ 258same name
- typv/nest-turbo-starter★ 224same name
- BridgLabs/opencodereview★ 79same name
- matteing/opal★ 59same name
47 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 repository41 other files it gives its agents.
- cadence-goalsSkill
- ci-feedback-loopSkill
- compoundSkill
- decision-rights-doctrineSkill
- diataxisSkill
- dispatch-gateSkill
- drift-checkSkill
- family-checkSkill
- fix-then-re-review-ladderSkill
- github-projectsSkill
- goal-treeSkill
- handoffSkill
- improvement-loopSkill
- kb-captureSkill
- kb-compileSkill
- kb-coreSkill
- kb-lessons-bridgeSkill
- kb-lintSkill
- l1-supervisorSkill
- l2-supervisorSkill
- lessons-learnedSkill
- lN-lifecycle-doctrineSkill
- lN-review-doctrineSkill
- medical-recordsSkill
- operator-interview-doctrineSkill
- operator-interviewSkill
- operator-reviewSkill
- planning-workflowSkill
- pr-review-fanoutSkill
- pull-taskSkill
- ralph-wiggumSkill
- reviewSkill
- root-cause-depthSkill
- scan-documentSkill
- self-improvementSkill
- self-verifySkill
- skillifySkill
- task-workflowSkill
- testing-without-mocksSkill
- vault-cloudSkill
- verify-inherited-premiseSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 51 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Incremental Commits: Commit at logical boundaries during implementation
- Distinctive: line 25
Commit Messages: Keep compact and meaningful
- Distinctive: line 27
Avoid duplicating what's obvious from the diff
- Distinctive: line 29
Use conventional commit format (feat, fix, refactor, docs, etc.)
- Distinctive: line 56
Quick summary: Check for detached HEAD, sync to main before making changes, commit submodule then parent.
- Very specific: line 76
Quick summary: Run detect-pr-tool to determine gh vs az, then create PR with appropriate CLI.
“Common” is measured: kept by at least 6 in 10 of the 51 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 Skill
Encapsulates preferred git usage patterns and conventions.
Core Principles
Incremental Commits: Commit at logical boundaries during implementation
| Commit when... | Don't commit when... |
| Logical unit complete (model, service, component) | Small part of a larger unit |
| Tests pass + meaningful progress | Tests failing |
| About to switch contexts (backend → frontend) | Purely scaffolding with no behavior |
| About to attempt risky/uncertain changes | Would need a "WIP" commit message |
Heuristic: "Can I write a meaningful commit message? If yes, commit. If I'd write 'WIP', keep working."
Commit Messages: Keep compact and meaningful
- Headline + 1-2 sentence summary maximum
- Avoid duplicating what's obvious from the diff
- For bug fixes: indicate the specific bug that was fixed
- Use conventional commit format (feat, fix, refactor, docs, etc.)
- NO "Generated with Claude" or "Co-Authored-By" annotations
Operations
Committing Changes
When: User requests a commit or asks to save work to git.
Implementation: Load operations/commit.md for detailed steps.
Quick summary: Stage changes, craft compact commit message, create commit.
Merging Pull Requests
When: User requests merging a PR, especially from a worktree context.
Implementation: Load operations/merge-pr.md for detailed steps.
Quick summary: Resolve merge strategy (explicit input → repo CLAUDE.md Merge Strategy → GitHub repo settings → default --merge), detect worktree context, merge without --delete-branch in worktrees to avoid checkout failure, delete remote branch separately.
Submodule Workflows
When: Working with git submodules, especially after clone or dotfiles install.
Implementation: Load operations/submodule.md for detailed steps.
Quick summary: Check for detached HEAD, sync to main before making changes, commit submodule then parent.
Creating Pull Requests
When: User requests a PR for the current branch.
Implementation: Detect PR tool based on remote origin, then use appropriate command.
Detection:
# Detect whether to use gh or az for PRs
tool=$(${CLAUDE_PLUGIN_ROOT}/skills/git/bin/detect-pr-tool)PR Creation by Tool:
| Tool | Command |
gh | gh pr create --title "..." --body "..." |
az | az repos pr create --title "..." --description "..." |
Quick summary: Run detect-pr-tool to determine gh vs az, then create PR with appropriate CLI.
Commit Message Format
<type>: <headline>
<1-2 sentence summary explaining why, not what>Types:
feat: New featurefix: Bug fixrefactor: Code restructuring without behavior changedocs: Documentation onlytest: Test additions or modificationschore: Maintenance tasks
Examples:
Good:
fix: correct AD username rendering in init script
The username variable was incorrectly escaped, causing registration failures.feat: add OAuth2 support for API authentication
Enables token-based auth for external integrations.Bad (too verbose):
fix: fixed the bug where the AD username was being rendered incorrectly
This commit fixes the issue where the AD username variable in the init script
was being rendered with incorrect escaping, which was causing the servers to
fail to register with Active Directory and subsequently fail all downstream
initialization steps.Progressive Disclosure
Load only what you need:
Operations:
operations/commit.md- Commit workflow implementationoperations/merge-pr.md- Worktree-aware PR mergeoperations/submodule.md- Submodule workflow patterns
Scripts:
bin/detect-pr-tool- Detectghorazbased on remote origin
Templates:
templates/commit-message.tmpl- Message structure template
See Also
- User's global CLAUDE.md for commit conventions
- Conventional Commits specification
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.

