Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Enforce conventional commit messages with commitlint. Use when a user asks to standardize commit messages, enforce commit conventions, set up commit linting in CI, or generate changelogs from commits.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -37% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 11% | 0% |
commitlint checks commit messages against conventional commit format (type(scope): description). Pairs with husky for Git hooks and standard-version/changesets for automated changelogs.
bashnpm install -D @commitlint/cli @commitlint/config-conventional husky npx husky init echo 'npx --no -- commitlint --edit "$1"' > .husky/commit-msg
javascript// commitlint.config.js — Commit message rules export default { extends: ['@commitlint/config-conventional'], rules: { 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore']], 'scope-case': [2, 'always', 'kebab-case'], 'subject-max-length': [2, 'always', 72], }, }
bashgit commit -m "feat(auth): add Google OAuth login" # valid git commit -m "fix(api): handle null response from /users" # valid git commit -m "updated stuff" # rejected
Other measured skills in the registry, with their headline benchmark lift.