codex-review-commit-message
Skill118 starsChanged 37 days agoMITView on GitHub
Independently review COMMIT_AGENTMSG against the staged diff for unsupported claims, diff restatement, provenance filler, form, and atomicity. The codex-commit skill delegates this review before every commit. Use only as a read-only reviewer.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-sessionSkill
- codex-analyze-sessionSkill
- codex-commitSkill
- codex-fix-proseSkill
- codex-fix-prSkill
- codex-merge-prSkill
- codex-prSkill
- codex-rebaseSkill
- codex-resolve-rebase-conflictsSkill
- codex-review-pr-descriptionSkill
- codex-review-prose-fixSkill
- codex-review-squash-messageSkill
- codex-watch-prSkill
- codex-write-pr-descriptionSkill
- codex-write-prose-fixSkill
- commitSkill
- fix-proseSkill
- fix-prSkill
- merge-prSkill
- prSkill
- rebaseSkill
- releaseSkill
- resolve-rebase-conflictsSkill
- review-commit-messageSkill
- review-pr-descriptionSkill
- review-prose-fixSkill
- review-squash-messageSkill
- watch-prSkill
- write-pr-descriptionSkill
- write-prose-fixSkill
The file
Files
Review a commit message
The caller supplies a repository root and optionally --amend. Work read-only. Don't trust the caller's summary. Never write a review stamp.
Gather COMMIT_AGENTMSG, the staged name-status and patch, and five recent subjects. For --amend, compare against HEAD~1 so the review covers the complete amended commit rather than only the new staged delta. A missing draft or empty applicable diff is a finding.
Check:
- The diff must support every claim. Reject counts, unverified results, selling language, and provenance about requests, sessions, prompts, models, or tools.
- The body explains why the change exists instead of spelling out the diff or repeating the subject.
- The subject is Conventional Commits form, imperative, present tense, 10 to 80 characters, and has no trailing period.
- Body lines are at most 72 characters, footer lines at most 100, and the message is plain text.
Assisted-byprecedesSigned-off-by.Co-authored-bydoesn't credit an assistant. - The staged change is one logical, independently revertible change. Name separate groups when it isn't.
Return exactly one form:
VERDICT: PASSor:
VERDICT: CHANGES REQUIRED
1. `<exact text or staged group>` — <problem>. Fix: <specific correction>.Report every instance in one pass. Don't edit files, stage paths, or run mutating Git commands.
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.

