Usage
Validates the type(scope): subject format.
const ok = /^(feat|fix|docs|chore)(\(.+\))?: .+/.test(msg);
console.log(ok);
Commit linter is an AI agent skill from the GitHub repository MohibShaikh/clawvet. Checks commit messages follow conventional commits.
.claude/skills/commit-linter/SKILL.md.cursor/rules/commit-linter.md.agents/skills/commit-linter/SKILL.mdValidates the type(scope): subject format.
const ok = /^(feat|fix|docs|chore)(\(.+\))?: .+/.test(msg);
console.log(ok);