conventional-commit
Skill1 starsChanged 51 days agoApache-2.0View on GitHub
Create git commits with conventional commit messages and split broad diffs into multiple logical commits when needed. Use when the user asks to commit, or when a diff must be inspected, grouped into logical commits, staged safely, and committed with messages such as `feat(scope): summary` or `fix(scope): summary` instead of creating one unfocused commit.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- rlespinasse/agent-skillstheir own version, first seen Nov 8, 2026
- AgnesAI-Labs/agnet-skills-cntheir own version, first seen Nov 1, 2026
- yearzen1/LocalSkillManagertheir own version, first seen Nov 1, 2026
- github/awesome-copilottheir own version, first seen Oct 25, 2026
- typeweaver/skillstheir own version, first seen Oct 20, 2026
- Marvellbrazil/my-agentic-skillstheir own version, first seen Oct 17, 2026
Used with
Projects with it also use shipping-and-launch, doubt-driven-development and 9 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.
LLl0k0laDSkillshipping-and-launch
Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
Also in 3 projects that use this
seikaikyoSkilldoubt-driven-development
對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。
Also in 3 projects that use this
LLl0k0laDSkillapi-and-interface-design
Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
Also in 3 projects that use this
HK-hubSkillcode-simplification
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
Also in 3 projects that use this
guaderramaSkillspec-driven-development
Generate comprehensive specifications for software projects using spec-driven development methodology. Leverages Bright Data MCP tools to research documentation, analyze competitor implementations, gather real-world examples, and enrich specs with architectural insights. Use when user requests specifications, technical plans, project specs, or architecture documentation.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
- +1 more from LLl0k0laD
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- github/awesome-copilot★ 41ksame name
- JanDeDobbeleer/oh-my-posh★ 24ksame name
- magicdawn/Bilibili-Gate★ 828same name
- termio-sh/termio★ 787same name
- navikt/copilot★ 61same name
- marc-ing/marc-skills★ 14same name
- rlespinasse/agent-skills★ 13same name
- soujava/agent-skills★ 10same name
- flpbalada/fb-skills★ 8same name
- jjxmonster/skills★ 8same name
20 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 repository10 other files it gives its agents.
- arch-reviewSkill
- code-reviewSkill
- create-prSkill
- debateSkill
- grill-meSkill
- researchSkill
- spec-reviewSkill
- spec-verifySkill
- talk-about-an-ideaSkill
- to-specSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 18 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
18
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 20
Run the repo's formatter first, if it declares one (package scripts, CI config), so formatting noise doesn't land in the commits.
- Distinctive: line 28
Verify the staged diff with git diff --cached --stat and git diff --cached.
- Distinctive: line 34
Keep changes together only when they serve the same intent.
- Distinctive: line 36
Keep code and tests together when the tests validate that same behavior change.
- Distinctive: line 37
Keep generated files with their source change when they are required for a valid commit.
- Distinctive: line 39
Prefer multiple small commits over one large mixed commit.
- Distinctive: line 41
Use these default grouping heuristics when there are many changes:
- Distinctive: line 50
If a single file contains unrelated edits and they cannot be separated safely with non-destructive staging, stop and tell the user which …
- Distinctive: line 62
Use lowercase commit types.
- Distinctive: line 63
Keep the summary in imperative mood.
- Distinctive: line 64
Keep the subject line concise and without a trailing period.
- Very specific: line 65
Add ! only for breaking changes.
- Distinctive: line 67
Add a body only when rationale, context, or breaking-change guidance matters.
- Very specific: line 85
Prefer git add <paths...> when a full file belongs to one commit.
- Distinctive: line 86
Use partial staging only when necessary to separate unrelated edits inside the same file.
- Distinctive: line 87
Do not stage unrelated local changes that were not part of the requested work.
- Distinctive: line 88
Before committing, confirm the staged snapshot matches the planned message.
- Distinctive: line 89
After each commit, re-run git status --short so the next commit starts from the remaining diff.
- Distinctive: line 93
When using this skill, report the commit plan before making commits whenever the grouping is non-trivial.
- Distinctive: line 99
If the repository is already dirty with unrelated changes, preserve them and commit only the requested scope.
“Common” is measured: kept by at least 6 in 10 of the 27 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
Conventional Commit
Overview
Inspect the current git worktree, group related changes into the smallest reasonable set of commits, and write conventional commit messages that describe intent clearly. Prefer one commit per logical change; when the diff spans multiple concerns, split it into separate commits by scope or change type.
Workflow
- Run the repo's formatter first, if it declares one (package scripts, CI config), so formatting noise doesn't land in the commits.
- Inspect the worktree with
git status --short,git diff --stat, and targetedgit diffreads. - Build a short commit plan before staging anything. For each planned commit, identify:
- the files or hunks that belong together
- the conventional commit
type - the optional
scope - the one-line summary
- Stage one logical group at a time. Prefer path-based staging such as
git add path/to/file. - Verify the staged diff with
git diff --cached --statandgit diff --cached. - Create the commit.
- Repeat for the remaining groups until the intended changes are committed.
Grouping Rules
- Keep changes together only when they serve the same intent.
- Split commits by subsystem or concern when the diff mixes unrelated work.
- Keep code and tests together when the tests validate that same behavior change.
- Keep generated files with their source change when they are required for a valid commit.
- Separate formatting-only, dependency-only, docs-only, or cleanup-only changes unless they are mechanically required by the main change.
- Prefer multiple small commits over one large mixed commit.
Use these default grouping heuristics when there are many changes:
featorfixchanges in the application coderefactorchanges that do not alter behaviortestadditions or repairs that are independent from feature workdocsupdateschore,build, orcichanges- migrations or schema updates, paired with the code that depends on them
If a single file contains unrelated edits and they cannot be separated safely with non-destructive staging, stop and tell the user which file is mixed instead of guessing.
Conventional Commit Format
Use:
type(scope): summaryRules:
- Use lowercase commit types.
- Keep the summary in imperative mood.
- Keep the subject line concise and without a trailing period.
- Add
!only for breaking changes. - Omit
scopewhen it does not add clarity. - Add a body only when rationale, context, or breaking-change guidance matters.
Preferred types:
feat: user-facing behavior or new capabilityfix: bug fixrefactor: internal restructuring without behavior changedocs: documentation onlytest: test-only changeschore: maintenance workbuild: build tooling or dependenciesci: automation or pipeline changesperf: performance improvementstyle: formatting-only changesrevert: revert a previous commit
Staging Guidance
- Prefer
git add <paths...>when a full file belongs to one commit. - Use partial staging only when necessary to separate unrelated edits inside the same file.
- Do not stage unrelated local changes that were not part of the requested work.
- Before committing, confirm the staged snapshot matches the planned message.
- After each commit, re-run
git status --shortso the next commit starts from the remaining diff.
Output Expectations
When using this skill, report the commit plan before making commits whenever the grouping is non-trivial. For each planned commit, include:
- commit message
- files or areas included
- why the group is logically separate
If the repository is already dirty with unrelated changes, preserve them and commit only the requested scope.
Examples
feat(auth): add email sign-in cardfix(theme): persist selected color moderefactor(routes): split landing page sectionsdocs(readme): update local setup stepschore(repo): add commit skill
For a large mixed diff, prefer a sequence such as:
feat(auth): add login formtest(auth): cover login form validationdocs(auth): document local auth setup
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.

