git-conventions
Skill8 starsChanged 2 months agoMITView on GitHub
Git Conventions: Guidelines for commit messages, branch naming, and version control practices
18 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- gerardbalaoro/skillstheir own version, first seen Nov 1, 2026
- itsaspacestation/natural-intelligencetheir own version, first seen Oct 20, 2026
- emanueledenaro/claude-skillstheir own version, first seen Oct 15, 2026
- MusserLab/lab-claude-skillstheir own version, first seen Oct 13, 2026
- Mushfiqur-Rahman-Robin/coding-rulestheir own version, first seen Oct 13, 2026
- a-novel-kit/stacktheir own version, first seen Oct 13, 2026
Used with
Projects with it also use testing, handoff and 1 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.
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- deadlock-mod-manager/deadlock-mod-manager★ 58445% same
Wrote their own version · 17
- werf/werf★ 4.7ksame name
- LedgerHQ/ledger-live★ 627same name
- rloisell/rl-agents-n-skills★ 8same name
- lossless-group/lossless-agent-skills★ 4same name
- metraton/gaia★ 4same name
- MusserLab/lab-claude-skills★ 4same name
- sefaertunc/Worclaude★ 4same name
- a-novel-kit/stack★ 2same name
- Bravo6Dev/skills★ 1same name
- HMBSbige/skills★ 1same name
7 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 repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .deepsec/AGENTS.mdAGENTS.md
- .cursor/rules/010-workflow.mdcCursor rule
- .cursor/rules/020-codebase-structure.mdcCursor rule
- .cursor/rules/030-coding-style.mdcCursor rule
- .cursor/rules/031-never-use-any.mdcCursor rule
- .cursor/rules/032-import-rules.mdcCursor rule
- .cursor/rules/050-testing.mdcCursor rule
- .cursor/rules/070-comments-defensive-programming.mdcCursor rule
- .cursor/rules/080-ai-interaction.mdcCursor rule
- .cursor/rules/090-changesets.mdcCursor rule
- .cursor/rules/095-calldiff.mdcCursor rule
- .cursor/rules/990-cursor-rule-editing-workaround.mdcCursor rule
- .cursor/rules/999-mdc-format.mdcCursor rule
- adversarial-reviewSkill
- agent-browserSkill
- calldiffSkill
- changesetSkill
- commitSkill
- deslopSkill
- fix-prSkill
- humanizerSkill
- improve-codebase-architectureSkill
- logging-best-practicesSkill
- opensrcSkill
- rebaseSkill
- recomposing-commitsSkill
- security-reviewSkill
- show-meSkill
- simplifySkill
- thermo-nuclear-code-quality-reviewSkill
- wait-whatSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 73
Use the imperative, present tense: "change" not "changed" nor "changes"
- Distinctive: line 74
Don't capitalize the first letter
- Distinctive: line 75
No period (.) at the end
- Distinctive: line 76
Keep it under 72 characters
- Distinctive: line 82
Use the imperative, present tense
- Very specific: line 90
Breaking Changes: should start with BREAKING CHANGE: followed by a description.
- Distinctive: line 174
Use kebab-case for descriptions
- Distinctive: line 176
Keep names descriptive but concise
- Distinctive: line 197
Run this single command to gather all necessary information:
- Very specific: line 215
When running /commit or creating commits for the user, use the checked-out branch as-is.
“Common” is measured: kept by at least 6 in 10 of the 17 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 Commit and Version Control Conventions
Commit Message Format
This project follows the Conventional Commits specification for commit messages. This format enables automatic changelog generation, version bumping, and better collaboration.
Structure
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]Type
The type must be one of the following:
feat- A new feature for the userfix- A bug fixdocs- Documentation only changesstyle- Changes that don't affect the meaning of code (white-space, formatting, etc.)refactor- Code change that neither fixes a bug nor adds a featureperf- Code change that improves performancetest- Adding missing tests or correcting existing testsbuild- Changes that affect the build system or external dependenciesci- Changes to CI configuration files and scriptschore- Other changes that don't modify src or test filesrevert- Reverts a previous commit
Scope
Infer scope from staged file paths. Use the workspace directory name, not the npm package name (packages/cli is cli, not transcripts-mcp). Scope is optional; omit it or use repo for repo-wide work. Multiple scopes are allowed when each is a valid workspace or meta scope (feat(mcp,search):).
Apps:
mcp- stdio MCP serverwww- Marketing site
Packages:
core- Types, adapter contract, jsonl readeradapters- Cursor, Claude Code, and Codex adapterssearch- Grep, FTS5, semantic searchcli- Published CLI package
Tools:
oxlint-plugins- Custom oxlint rulestypescript-config- Shared TypeScript config
Distribution:
plugin- Cursor plugin manifest and skill
Other:
deps- Dependency updatesrepo- Repository-wide changesrelease- Release-related changes
Subject
The subject contains a succinct description of the change:
- Use the imperative, present tense: "change" not "changed" nor "changes"
- Don't capitalize the first letter
- No period (.) at the end
- Keep it under 72 characters
Body (Optional)
The body should include the motivation for the change and contrast this with previous behavior.
- Use the imperative, present tense
- Wrap at 72 characters
- Separate from subject with a blank line
Footer (Optional)
The footer should contain information about Breaking Changes and reference issues that this commit closes.
Breaking Changes should start with BREAKING CHANGE: followed by a description.
Closes references should be on a separate line and use the format: Closes #123, #456
Examples
Feature Addition
feat(search): add hybrid fusion ranking
Blend FTS5 and semantic hits so keyword and meaning both
influence the result order.
Closes #142Bug Fix
fix(mcp): restore session id on grep hits
Resolve the session id from the adapter path so grep results
can open the matching transcript.Breaking Change
feat(adapters)!: drop deprecated parse helpers
BREAKING CHANGE: Adapter parse helpers were removed. New harness
adapters must use defineJsonlAdapter.Dependency Update
chore(deps): update zod to v4.4.3Documentation
docs(repo): add installation instructions for LinuxRepo-wide or no scope
ci: run commitlint on pull request commitsMultiple scopes
refactor(mcp,search): extract fusion rankingSimple Fix
fix(www): correct button alignment on mobileBranch Naming Conventions
Branch Format
<type>/<ticket-or-description>Types
feature/- New featuresbugfix/- Bug fixeshotfix/- Critical fixes that need immediate deploymentrefactor/- Code refactoringchore/- Maintenance tasksdocs/- Documentation updates
Branch Naming Rules
- Use kebab-case for descriptions
- Include ticket/issue numbers when applicable
- Keep names descriptive but concise
- Use lowercase letters
Branch Examples
# With ticket number
feature/KR-123-add-mod-collections
bugfix/KR-456-fix-download-crash
hotfix/KR-789-security-patch
# Without ticket number
feature/dark-mode-toggle
bugfix/pagination-edge-case
refactor/extract-validation-logic
chore/update-dependencies
docs/add-api-examplesGathering Git Context
Run this single command to gather all necessary information:
echo "=== BRANCH ===" && git rev-parse --abbrev-ref HEAD && echo "=== STAGED FILES ===" && git diff --staged --stat && echo "=== STAGED CHANGES ===" && git diff --stagedThis provides:
- Current branch name
- Staged files summary → determine scope (which workspace/package)
- Actual changes → determine commit type and write description
Changesets Integration
This project uses changesets for version management. See 090-changesets.mdc for details on when and how to create changesets alongside commits.
Current branch (agents)
When running /commit or creating commits for the user, use the checked-out
branch as-is. Do not create, switch to, or require a feature branch only
because the current branch is main or master, unless the user explicitly
asks for a different branch.
References
- Conventional Commits Specification
- Semantic Versioning
- Keep a Changelog
- Project Changeset Guidelines
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.

