agentleFS
gvagogvago/unofficial-qodo-review-skills/skills/commit-message-review/SKILL.md

commit-message-review

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Use when reviewing any Gerrit change or PR that has a commit message, verifies the message against the diff: claim/code mismatches (message says fix, diff adds a feature), unmentioned user-visible behavior changes, vague messages on non-trivial diffs, implausible ticket or issue ids. Fires on every review where a commit message is visible.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Do not flag wording, grammar, tense, or formatting of the message when its content is accurate.

    line 23
  2. Distinctive:

    Read the full commit message: subject, body, and trailers (Fixes:, Bug:, Issue:, ticket ids).

    line 28
  3. Distinctive:

    Read the whole diff and list what it actually does: fixes, features, refactors, behavior changes, interface changes.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

commit-message-review

Lens that verifies the commit message against the diff. Runs no tools. Trust nothing the message says until the diff proves it.

Boundaries

  • Judge only the relationship between the commit message and the changed lines. Code correctness, style, and design belong to other lenses.
  • Gerrit has no inline anchoring on the commit message pseudo-file yet. Anchor every finding on a changed line in the diff that demonstrates the mismatch, and quote the offending message text in the finding body.
  • Do not flag wording, grammar, tense, or formatting of the message when its content is accurate.

How to apply

  1. Read the full commit message: subject, body, and trailers (Fixes:, Bug:, Issue:, ticket ids).
  2. Read the whole diff and list what it actually does: fixes, features, refactors, behavior changes, interface changes.
  3. Compare the two lists and apply the rule index.

Rule index

  • M1. Claim/diff match. Every claim in the message must match what the diff actually does. Flag mismatches: the message says fix but the diff adds a feature, the message describes a change the diff does not contain, or the diff does something major that the message frames as something else.
  • M2. Behavior coverage. The message must mention every user-visible behavior change present in the diff: changed defaults, removed or renamed flags and options, altered output or error handling, new or removed endpoints or commands. An unmentioned behavior change is a finding even when the rest of the message is accurate.
  • M3. No vague messages on non-trivial diffs. Messages like "fix stuff", "update code", "misc changes", or a bare file name are findings when the diff is non-trivial (more than a rename, a comment edit, or a one-line mechanical change).
  • M4. Ticket plausibility. A referenced ticket or issue id must be plausible for the change scope: the project prefix and the subject the message attributes to it should fit the code being touched. Flag ids whose stated subject or project clearly does not match the diff. Do not demand tracker access; judge plausibility from message and diff alone.

Mapping a finding to the contract

  • action_level: action_required for a proven M1 mismatch that would mislead a reader about what shipped; remediation_recommended for M2, M3, and M4.
  • category: Correctness for M1, Maintainability for M2 to M4.
  • evidence: quote the message text and cite the changed file and line that contradicts it or is missing from it. Anchor on the change itself, never on the commit message pseudo-file.

What NOT to flag

  • Accurate but terse messages on trivial diffs.
  • Message style, capitalization, or line-length conventions.
  • Claims about motivation or external context that the diff cannot verify either way.

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.