commit-helper
Skill3 starsChanged 8 months agoMITView on GitHub
Write clear, conventional commit messages. Use when the user asks to commit changes, needs help with commit messages, or when following Conventional Commits specification is required.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- toilanguyen2910/claude-code-starter-packtheir own version, first seen Oct 3, 2026
- 17-sss/agent-skillstheir own version, first seen Sep 22, 2026
- almax000/claude-skillstheir own version, first seen Apr 19, 2026
- AntonioZS/claude-skills-mcptheir own version, first seen Apr 15, 2026
- nodnarbnitram/claude-code-extensionstheir own version, first seen Apr 3, 2026
- nimbalyst/skillstheir own version, first seen Feb 16, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nimbalyst/skills★ 28same name
- nodnarbnitram/claude-code-extensions★ 16same name
- 17-sss/agent-skills★ 2same name
- almax000/claude-skills★ 1same name
- AntonioZS/claude-skills-mcp★ 1same name
- toilanguyen2910/claude-code-starter-pack★ 1same 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 repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- api-designerSkill
- backend-patternsSkill
- code-reviewerSkill
- debugging-assistantSkill
- golang-testingSkill
- project-guidelines-exampleSkill
- python-testingSkill
- refactoring-guideSkill
- spec-driven-developmentSkill
- tdd-workflowSkill
- verification-loopSkill
- update-docsSkill
- api-docsSkill
- changelog-writerSkill
- readme-generatorSkill
- django-patternsSkill
- django-securitySkill
- django-tddSkill
- django-verificationSkill
- fastapi-patternsSkill
- nextjs-patternsSkill
- react-patternsSkill
- springboot-patternsSkill
- springboot-securitySkill
- springboot-tddSkill
- branch-strategySkill
- changelogSkill
- pr-creatorSkill
- prSkill
- evolveSkill
- instinct-exportSkill
- instinct-importSkill
- instinct-statusSkill
- cleanupSkill
- lint-fixSkill
- refactor-cleanSkill
- update-depsSkill
- continuous-learningSkill
- continuous-learning-v2Skill
- eval-harnessSkill
- iterative-retrievalSkill
- strategic-compactSkill
- golang-patternsSkill
- python-patternsSkill
- rust-patternsSkill
- typescript-patternsSkill
- accessibility-checkerSkill
- build-fixSkill
- code-reviewSkill
- e2eSkill
- performance-reviewerSkill
- security-auditorSkill
- security-reviewSkill
- test-coverageSkill
- checkpointSkill
- deploySkill
- evalSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
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 20
Write clear, meaningful commit messages following conventions.
- Distinctive: line 69
No period at end
- Distinctive: line 130
If commits have unrelated changes, split them:
- Distinctive: line 165
Start with verb: add, fix, update, remove, refactor
- Distinctive: line 231
Warning: Don't amend commits that have been pushed.
“Common” is measured: kept by at least 6 in 10 of the 5 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 Helper
Write clear, meaningful commit messages following conventions.
When to Use
- User asks to commit changes
- Help writing commit messages
- Following Conventional Commits
- Preparing commits for PR
Conventional Commits Format
<type>(<scope>): <subject>
<body>
<footer>Type (Required)
| Type | Use For |
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, whitespace (not CSS) |
refactor | Code change that neither fixes nor adds |
perf | Performance improvement |
test | Adding or fixing tests |
build | Build system or dependencies |
ci | CI configuration |
chore | Maintenance tasks |
revert | Reverting previous commit |
Scope (Optional)
The area of the codebase:
feat(auth): add OAuth login
fix(api): resolve timeout issue
docs(readme): update installation stepsSubject (Required)
- Imperative mood: "add" not "added" or "adds"
- Lowercase first letter
- No period at end
- Max 50 characters
Body (Optional)
- Explain "what" and "why", not "how"
- Wrap at 72 characters
- Blank line between subject and body
Footer (Optional)
- Breaking changes:
BREAKING CHANGE: description - Issue references:
Fixes #123,Closes #456
Examples
Simple Feature
feat: add user profile pageFeature with Scope
feat(auth): add password reset functionalityBug Fix with Issue Reference
fix(cart): resolve incorrect total calculation
The cart total was not including the shipping cost
when calculating the final amount.
Fixes #234Breaking Change
feat(api)!: change authentication to OAuth 2.0
BREAKING CHANGE: The /auth/login endpoint now requires
OAuth 2.0 credentials instead of username/password.
Migration guide: https://docs.example.com/oauth-migrationRefactoring
refactor(utils): extract date formatting to separate module
Moved date formatting functions from utils.ts to
dates.ts for better organization and reusability.Multiple Changes
If commits have unrelated changes, split them:
# Bad: one commit with unrelated changes
git commit -m "fix: login bug and add profile page"
# Good: separate commits
git commit -m "fix(auth): resolve login timeout issue"
git commit -m "feat(profile): add user profile page"Commit Message Process
1. Check What Changed
git status
git diff --staged2. Determine the Type
- Added something new? →
feat - Fixed a bug? →
fix - Only documentation? →
docs - Code reorganization? →
refactor
3. Identify the Scope
What area of the code?
auth,api,ui,db,config, etc.- Skip if change is global
4. Write the Subject
- Start with verb: add, fix, update, remove, refactor
- Be specific but concise
- Focus on what, not how
5. Add Body if Needed
Include body when:
- Change is complex
- Context helps future readers
- Non-obvious decisions were made
Good vs Bad Examples
Subject Line
# Bad
fix: fixed the bug
feat: new feature added
update: updated some stuff
# Good
fix(cart): resolve race condition in checkout
feat(search): add fuzzy matching support
refactor(api): extract validation to middlewareBody
# Bad (how, not why)
Changed the function to use a loop instead of recursion
and added a cache variable.
# Good (why)
The recursive implementation was causing stack overflow
on large datasets. Switched to iterative approach with
memoization to handle inputs up to 100k items.Commit Workflow
# Stage specific files
git add src/auth/login.ts src/auth/login.test.ts
# Write commit message
git commit -m "fix(auth): resolve session timeout issue
Sessions were expiring immediately due to incorrect
timestamp comparison. Fixed by using UTC timestamps.
Fixes #189"Amending Commits
# Amend last commit message
git commit --amend -m "new message"
# Add forgotten files to last commit
git add forgotten-file.ts
git commit --amend --no-editWarning: Don't amend commits that have been pushed.
Commit Message Template
Create .gitmessage template:
# <type>(<scope>): <subject>
#
# <body>
#
# <footer>
# Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore
# Scope: auth, api, ui, db, etc. (optional)
# Subject: imperative, lowercase, no period, max 50 chars
# Body: what and why, wrap at 72 chars
# Footer: BREAKING CHANGE:, Fixes #, Closes #Configure git:
git config --global commit.template ~/.gitmessageQuality Checklist
- Type is appropriate for the change
- Subject is imperative mood ("add" not "added")
- Subject is under 50 characters
- Subject doesn't end with period
- Body explains why, not how (if included)
- Breaking changes are marked
- Related issues are referenced
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.

