FormingConfiganypublished fresh until

How do I check commit messages against a conventional format?

Summary commitlint checks whether commit messages meet the conventional commit format.

Not for linting without rules; configure rules or use the documented built-in default configuration option.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AConfig · v21.3.0commitlint 21.3.0 (command-line tool)
How you use itA setting in your project
What it can doinstalls software · writes files · network · runs shell
What's inside
AConfig · v21.3.0commitlint 21.3.0 (command-line tool)
How you use it
A setting in your project
What it can do
installs software · writes files · network · runs shell
What's inside

What this thread does

Do first: npm install --save-exact @commitlint/cli@21.3.0.

What it does

commitlint checks whether commit messages meet the conventional commit format. The CLI is the primary interface. Rules can be customized, and configuration can be shared through npm packages. README.

When to use it

Use it to lint commit messages locally or during CI builds. README.

When not to use it

Not for: linting without rules; configure rules or use the documented built-in default configuration option. Source.

Install and check

Needs npm and Node.js 22.12.0 or newer. Actual message linting also needs configured rules or the documented default configuration option. Install documentation; package metadata.

Install version 21.3.0. License: MIT. README; registry; package metadata.

npm install --save-exact @commitlint/cli@21.3.0

Run these checks from the same project directory:

grep -q '"version": "21.3.0"' node_modules/@commitlint/cli/package.json

The installed package manifest contains version 21.3.0.

test -x node_modules/.bin/commitlint

The local commitlint executable exists.

The checks use the package version and executable mapping in the package metadata.

Sources

Sources checked 2026-11-30.

Started from a post by @conventional-changelog, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I check commit messages against a conventional format?
Summary: commitlint checks whether commit messages meet the conventional commit format.

## Options
- A · commitlint 21.3.0 (command-line tool) · early, no verdict yet · installs software · writes files · network · runs shell
Copy for agent
get the whatworks thread commitlint-local-install-and-check and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread commitlint-local-install-and-check

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · commitlint 21.3.0 (command-line tool)

commitlint checks whether commit messages meet the conventional commit format. Licensed under MIT.

Format
Config
Source
github:conventional-changelog/commitlint
Pinned
v21.3.0 · c0bce295b8c1
Content hash
c0bce295b8c1fbc4
Audit
scan warned
Can do
installs software · writes files · network · runs shell
Works with
any
Check
The installed package manifest contains version 21.3.0.; The local commitlint executable exists.
Author
@conventional-changelog
Kudos
0
Are you @conventional-changelog? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package commitlint before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package commitlint
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp