agentleFS
jnMetaCodejnMetaCode/skillet/skills/conventional-commits/SKILL.md

conventional-commits

Skill1 starsChanged 6 months agoMITView on GitHub

Write precise Conventional Commits messages from the actual staged diff. Use whenever committing code or asked to write/fix a commit message.

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

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.
  • GoogleSkill

    code-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

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 2

    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
  1. Distinctive:

    Write the message from the diff, not from the conversation.

    line 11
  2. Distinctive:

    Read what is actually staged: git diff --cached --stat then the diff itself.

    line 16

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

conventional-commits

Write the message from the diff, not from the conversation. The reader is a stranger running git log in two years.

Procedure

  1. Read what is actually staged: git diff --cached --stat then the diff itself.
  2. Classify the change — pick ONE primary type:
    • feat new user-visible capability · fix corrects wrong behavior
    • refactor no behavior change · perf faster, same behavior
    • docs · test · build · ci · chore (only when nothing else fits)
  3. Scope = the subsystem a reader would filter by: feat(parser): …. Omit if the repo doesn't use scopes (check git log --oneline -20 and match style).
  4. Subject line: imperative, lowercase, no period, ≤ 72 chars, and it must state the effect, not the activity — "fix: reject expired tokens" not "fix: update token check".
  5. Body (when the why isn't obvious): 1–3 sentences on why the change was needed and any non-obvious consequence. Wrap at 72. Never narrate the diff.
  6. Breaking change → footer BREAKING CHANGE: <what breaks and the migration>, and add ! after the type: feat(api)!: ….

Anti-patterns to reject

  • One commit doing two unrelated things — split it (git add -p).
  • "update", "misc fixes", "address comments" — say what changed.
  • Restating the conversation ("as discussed…") — the log has no conversation.
  • Explaining that the change is correct — that belongs in the PR, not the log.

Example

fix(ingest): treat mtime regressions as edits, not new files

Restored backups can move mtime backwards; we indexed those as fresh
documents, duplicating every chunk. Key on inode+path instead.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.