conventional-commits
Skill0 starsChanged 57 days agoMITView on GitHub
Writes a commit subject that passes the hooks: type, scope, breaking-change marker, record id. Use for a commit message or after a hook refused one.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- falcondev-oss/skillstheir own version, first seen Oct 4, 2026
- mholtzscher/skillstheir own version, first seen Sep 29, 2026
- alfredobs97/flutter_agentic_templatetheir own version, first seen Sep 24, 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, changelog 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.
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
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 5 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 repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
Write the subject by hand only when basicly commit cannot derive it, for example outside the worktree of a record.
- Very specific: line 63
Add ! only for a breaking change of an interface or a behaviour.
- Distinctive: line 65
Add the record ids in one trailing parenthetical.
- Very specific: line 66
Run git commit -m "...", or name the paths with git commit -F - -- <paths>.
“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
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Conventional Commits
Construct a one-line commit subject that passes the commit-msg and tracker-commit-msg hooks on the first attempt. For staging and diff splits, read the git reference of cli-tools. For tracker records, use work-tracker.
Rules
- Use
basicly commitby default. It derives the type, the scope and the record id, so only the description is yours. - Write the description in lowercase letters, digits, spaces and hyphens only. The hook rejects every other character, also in proper nouns and acronyms.
- Put a version, a file name or a capitalised name in the body. The hooks check only the subject line.
- Never invent a record id. The hook reads the ids from
.basicly/ledger/events-*.jsonl. - Read
git status --shortcolumn 1 before you commit.git committakes the whole index, including a file staged by a refused attempt. - Run
basicly hooks-buildonce in each clone and worktree. An uninstalled hook lets a bad message through to CI. - When a hook rejects the commit, read its error output. It names the offending characters.
Default: basicly commit
basicly commit "<description>"
basicly commit "<description>" --body "Bump to 1.2.0 in README.md." --dry-runIt derives the type from the work class of the record, the scope from the staged paths and the record id from the branch. It refuses a description that the character rules reject, names the character, and does not commit.
| Flag | Effect |
--body | Free-form body, for capitals, dots and file names |
--type | Overrides the derived type |
--scope | Overrides the derived scope |
--issue | Overrides the record id bound to the branch |
--breaking | Adds the ! before the colon |
--dry-run | Prints the message and does not commit |
Format
Write the subject by hand only when basicly commit cannot derive it, for example outside the worktree of a record.
type(scope)!: description (record-id[, record-id...])| Part | Rule |
type | One of feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert |
(scope) | Optional. Lowercase kebab-case, no space |
! | Optional. Directly before the colon. Marks a breaking change |
description | Imperative mood. Entirely lowercase. Letters, digits, spaces and hyphens only, so no underscore and no dot. At least 3 characters. It starts with a letter and has no trailing punctuation |
(record-id, ...) | One or more ids that the tracker holds, comma-separated in one trailing parenthetical |
- A record id is
<prefix>-<base>, with optional dotted levels for child records, for exampleapp-q49orapp-zrj.4.1. The prefix is the tracker prefix of this repository. - The hook finds an id by its prefix at a word boundary anywhere in the message. A hyphenated word in the description is not an id. A trailer such as
Refs: app-q49also counts. - Merge commits and subjects that start with
Revert "are exempt.
Procedure:
- Pick the type that matches the intent of the change.
- Find or create the record with
work-tracker. - Add
!only for a breaking change of an interface or a behaviour. - Write the description.
- Add the record ids in one trailing parenthetical.
- Run
git commit -m "...", or name the paths withgit commit -F - -- <paths>.
Examples
Valid:
feat(cli): add fragment loader (app-idr)feat(cli)!: remove deprecated config format (app-idr)fix: correct sorting order (app-idr, app-abc)docs: document the update flow (app-zrj.8)
Invalid:
| Subject | Fault | Fix |
Fixed the bug | no type and colon | fix: correct the bug (app-idr) |
chore(scope): Message | uppercase description | chore(scope): message (app-idr) |
feat: support Conventional Commits marker | uppercase proper noun | feat: support conventional commits marker (app-idr) |
fix: fix test_cli mutation bug | underscore | fix: fix test-cli mutation bug (app-idr) |
docs: update AGENTS.md for v0.1.0 | dots and uppercase | docs: update agents-md for the first release (app-idr) |
chore: restamp the install to 0.2.0 | dots | chore: restamp the install (app-idr), with Restamp to 0.2.0. in the body |
fix: correct sorting order (not an id) | parenthetical holds no record id | a real record id |
chore(word description): message | space in the scope | chore(word-description): message (app-idr) |
Enforcement
The hooks are the gate. The same scripts run as the local hook and in CI:
.basicly/core/hooks/commit-msg.pychecks the type, the scope, the!and the description..basicly/core/hooks/tracker-commit-msg.pychecks that the record ids are present and exist.
The profile is stricter than Conventional Commits 1.0.0. A subject that passes plain Conventional Commits can still fail.
basicly hooks-build runs pre-commit install and then adds the ledger guard to the pre-push hook. A plain pre-commit install does not add that guard. basicly hooks-check reports a missing hook.
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.

