conventional-commits
Skill0 starsChanged 2 months agoMITView on GitHub
Explains the Conventional Commits format used in this repo, the standard commit types with worked examples using this repo's real scopes, the breaking-change footer, and how types map to semver; load before writing a commit message.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- niksavis/basiclytheir own version, first seen Oct 5, 2026
- falcondev-oss/skillstheir own version, first seen Oct 4, 2026
- mholtzscher/skillstheir own version, first seen Sep 29, 2026
- imdouglasoliveira/skillstheir own version, first seen Sep 21, 2026
- hankunpeng/skillstheir own version, first seen Sep 10, 2026
- sherif-fanous/skillstheir own version, first seen Sep 8, 2026
Used with
Projects with it also use pr-description and changelog.
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.
accolverSkillpr-description
Generate pull-request descriptions from branch diffs when the task is to explain change scope, motivation, testing, risk, and reviewer guidance for a reviewable branch.
Also in 4 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- awattar/claude-code-best-practices★ 262same name
- metalagman/agent-skills★ 25same name
- hankunpeng/skills★ 24same name
- jackjin1997/ClawForge★ 13same name
- LichAmnesia/awesome-antigravity-skills★ 11same name
- pantheon-org/tekhne★ 10same name
- vanara-agents/skills★ 9same name
- milistu/agent-skills★ 8same name
- bastos/skills★ 7same name
- tuliosousapro/SaaS-blueprint★ 5same name
28 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 repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bootstrap-projectSkill
- choose-data-stackSkill
- code-reviewSkill
- data-providerSkill
- domain-modelingSkill
- error-handlingSkill
- flavors-and-flagsSkill
- flutter-fvmSkill
- localizationSkill
- new-featureSkill
- quality-gateSkill
- routingSkill
- state-managementSkill
- testingSkill
- themingSkill
- ui-screenSkill
- bootstrap-projectSkill
- choose-data-stackSkill
- code-reviewSkill
- conventional-commitsSkill
- data-providerSkill
- domain-modelingSkill
- error-handlingSkill
- flavors-and-flagsSkill
- flutter-fvmSkill
- flutter_fvmSkill
- localizationSkill
- new-featureSkill
- quality-gateSkill
- routingSkill
- state-managementSkill
- testingSkill
- themingSkill
- ui-screenSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
1
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 8
Every commit message in this repo follows the Conventional Commits format:
- Very specific: line 49
If a change fits two types, pick the one that describes its primary intent — a bug fix that happens to add a regression test is still fix, …
“Common” is measured: kept by at least 6 in 10 of the 37 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 Commits
Every commit message in this repo follows the Conventional Commits format:
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]<type>— what kind of change this is (see the table below).<scope>— the part of the codebase the change lives in, in parentheses, lowercase. In this repo the scopes that map to something real are:domain,data,ui(the threepackages/),tool(thetool/scripts —quality_gate.dart,check_architecture.dart,sync_ai_config.dart),ai(theai/source files thatsync_ai_config.dartgenerates from), anddocs(AGENTS.md,README.md, skill files). A change spanning more than one package (a new feature touchingdomain,dataanduitogether) either picks the layer most central to the change or omits the scope entirely — don't invent a scope likefeatureorappthat doesn't correspond to a real directory.<subject>— imperative mood, lowercase, no trailing period:add task list screen, notAdded the task list screen..
Standard types, with real-repo examples
| Type | Use for | Example |
feat | A new capability visible to a user or consumer of the package | feat(ui): add task list screen |
fix | A bug fix — behavior was wrong, now it's correct | fix(data): map DriftTimeoutException to ConnectivityFailure |
refactor | Restructuring code with no behavior change | refactor(domain): extract sortedTasks getter onto Task |
test | Adding or fixing tests only, no production code change | test(data): cover ApiTaskDataProvider's 404 mapping |
docs | Documentation only — AGENTS.md, README.md, skill files, doc comments | docs(ai): clarify when to add a DomainFailure subtype |
chore | Maintenance with no source or behavior impact (dependency bump, gitignore entry) | chore(ui): bump go_router to 17.4.0 |
ci | Continuous-integration configuration | ci(tool): run quality_gate.dart on pull_request |
build | Build system or packaging (Gradle, Xcode project, pubspec structure) | build(domain): add domain as a workspace member |
perf | A change made specifically to improve performance, with no behavior change | perf(ui): gate AnimationController.repeat on TickerMode |
style | Formatting/whitespace only — never a lint fix that changes logic | style(data): run dart format -l 100 on failure_guard.dart |
If a change fits two types, pick the one that describes its primary
intent — a bug fix that happens to add a regression test is still fix,
not test.
Breaking changes
A change that breaks an existing public API (a domain entity's
constructor signature, a data_provider interface method, an exported
Cubit's public method) is marked one of two ways:
!after the type/scope, for a short, self-explanatory break:feat(domain)!: require ClockReader in TaskRepository's constructorA
BREAKING CHANGE:footer, when the break needs its own explanation (what broke, and what callers must do about it):refactor(domain): rename Task.due to Task.dueAt BREAKING CHANGE: Task.due is renamed to Task.dueAt to match the ValidationFailure message key. Update every constructor call and copyWith usage in data and ui.
Both forms can be combined (! in the header, plus a BREAKING CHANGE:
footer with the detail) when the one-line summary in the header isn't
enough on its own.
Mapping to semver
Conventional Commits exists so a release tool can derive the next version number from commit history without a human deciding it by hand:
| Commit contains | Semver bump |
Only fix, refactor, test, docs, chore, ci, build, perf, style | patch (0.1.0 → 0.1.1) |
At least one feat | minor (0.1.0 → 0.2.0) |
Any commit with ! or a BREAKING CHANGE: footer, regardless of type | major (0.1.0 → 1.0.0) |
A feat! or a fix with a BREAKING CHANGE: footer both trigger a major
bump — the breaking-change marker outranks the type it's attached to.
Write the message for the reader, not for yourself
A commit message should describe the change's effect — what a caller,
reviewer, or future archaeologist of git log needs to know — not
restate the diff. fix(data): handle timeout in ApiTaskDataProvider is
worse than fix(data): map DriftTimeoutException to ConnectivityFailure so
the UI shows the offline message instead of a generic error only in
length, not in substance: prefer the version that says why the change
matters, but keep the subject line itself short and put the "why" in the
body when it doesn't fit in one line. Never write a subject that just
paraphrases the file list (fix(data): update failure_guard.dart) — that
information is already in git show --stat.
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.

