Commit Lint

Validate git commit messages against Conventional Commits v1.0.0. Script commit_lint.py reads `git log` (subprocess) of one or more repositories (or stdin with --stdin), parses each commit into type/scope/subject, and reports violations: missing type, invalid type, type case, scope, subject length (default 50), subject capitalization, trailing dot/space, header length (100), body line length (72). Plain-text Markdown-friendly report or JSON (--json). Exit codes: 0 all clean, 1 violations found, 2 error. Pure Python 3 stdlib, offline, read-only. Closes the loop for commit-message-writer and version-bumper.

bestdeejay-design 99fbea9 4 files · 29.1 KB Updated

File contents

bestdeejay-design/agent-skills/tree/main/skills/commit-lint commit 99fbea9b01

Frequently asked questions

npx skillmds@latest add bestdeejay-design/commit-lint