commit-style
Skill0 starsChanged 5 months agoMITView on GitHub
Team commit-message conventions. Use when writing a commit message, committing or amending changes, or when asked about the project's commit format. Reads the per-project style from .claude/idev/commit-style.md.
- Commits and pushes
10 other projects use a version of this.
Adopted by
Most recently taken up by
- jskswamy/skillstheir own version, first seen Nov 8, 2026
- ghvinashvili/specagenttheir own version, first seen Nov 1, 2026
- jars-demo/jars-skillstheir own version, first seen Oct 25, 2026
- GabrielHenriqueCA/cortex-aitheir own version, first seen Oct 11, 2026
- redis/go-redistheir own version, first seen Oct 8, 2026
- sherifattia/skillstheir own version, first seen Sep 12, 2026
Used with
Projects with it also use release.
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.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- redis/go-redis★ 22ksame name
- ghvinashvili/specagent★ 7same name
- caikiji/skills-lab★ 4same name
- jskswamy/skills★ 3same name
- karashiiro/agent-skills★ 2same name
- GabrielHenriqueCA/cortex-ai★ 1same name
- mimoccc/my-claude-skills★ 1same name
- sherifattia/skills★ 1same name
- jars-demo/jars-skills★ 0same name
- sudokoi/skills★ 0same name
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 repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-contract-validationSkill
- architecture-scannerSkill
- auto-approve-policySkill
- auto-learningSkill
- backend-patternsSkill
- branch-syncSkill
- browser-testSkill
- browseSkill
- build-checkSkill
- cache-refreshSkill
- codebase-explainerSkill
- coding-standardsSkill
- context-switchingSkill
- continuous-learningSkill
- db-preflightSkill
- env-preflightSkill
- eval-harnessSkill
- feature-completenessSkill
- file-indexSkill
- frontend-patternsSkill
- function-extractSkill
- idev-initSkill
- import-graphSkill
- lessons-learnedSkill
- post-creation-verifySkill
- pre-ship-verifySkill
- project-mapSkill
- self-reviewSkill
- session-resumeSkill
- skill-benchmarkSkill
- skilloptSkill
- smart-contextSkill
- strategic-compactSkill
- task-journalSkill
- tdd-workflowSkill
- test-coverageSkill
- test-mapSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Write commit messages that pass the team's commit-msg hook on the first try and read well in git log years later.
- Very specific: line 14
If it exists, its rules override everything below.
- Very specific: line 18
Derive the ticket ID from the branch name: when the style requires one: git branch --show-current, extract the first ABC-123-shaped token.
- Very specific: line 32
Check before committing: if .git/hooks/commit-msg exists, the message must match its pattern (default: optional ABC-123: ticket prefix + …
- Very specific: line 50
When creating a PR (any platform — az repos pr create on Azure DevOps, gh pr create on GitHub), unless .claude/idev/commit-style.md …
“Common” is measured: kept by at least 6 in 10 of the 8 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
Commit Style — Team Commit Message Conventions
Write commit messages that pass the team's commit-msg hook on the first try
and read well in git log years later.
Procedure
- Read the project's style file first:
.claude/idev/commit-style.md. If it exists, its rules override everything below. If it doesn't exist, apply the defaults below (and mention that/idev:hooks install-git-hookssets up the style file + enforcement hooks). - Derive the ticket ID from the branch name when the style requires one:
git branch --show-current, extract the firstABC-123-shaped token. Theprepare-commit-msghook does this automatically too — don't add the prefix twice. - Write the message:
- Subject:
type(scope): imperative summary— conventional-commit types (feat,fix,docs,refactor,perf,test,build,ci,chore), ≤ 72 chars, no trailing period. - Body (for anything non-trivial): the why, not a list of what — the diff already shows what. Wrap at ~72 columns.
- Trailers last, each on its own line (
Co-Authored-By:,Refs:), per the team's policy in the style file.
- Subject:
- Check before committing: if
.git/hooks/commit-msgexists, the message must match its pattern (default: optionalABC-123:ticket prefix + conventional-commit subject). If the hook rejects a commit, fix the message — never bypass with--no-verifyunless the user explicitly asks.
Defaults (when no style file exists)
feat(auth): add refresh-token rotation
Sessions died after 15 minutes because the access token was never
refreshed. Rotate the refresh token on each renewal per OWASP.
Refs: ABC-123Pull request format
When creating a PR (any platform — az repos pr create on Azure DevOps,
gh pr create on GitHub), unless .claude/idev/commit-style.md overrides:
- Title: same convention as the commit subject (ticket prefix + typed imperative summary). For a single-commit branch, reuse the subject.
- Description:
## What
2-4 bullets of user-visible change (not a commit list — the platform shows those).
## Why
The problem/ticket context in 1-3 sentences.
## Testing
What was actually run: build, tests, browser-test report path if UI.
## Notes for reviewer
Risky spots, decisions needing eyes, rollback hint. Omit if none.Anti-patterns
- "fix stuff", "wip", "updates" — the hook rejects these; so should you.
- Restating the diff in the body.
- Bundling unrelated changes to share one message — split the commits.
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.

