Your rules
Loads the repository’s Commitlint configuration and validates before Git receives the message.
A focused CLI that turns staged work into a clear, validated Conventional Commit—using the rules your repository already trusts.
pnpm add --save-dev commitpromptnpm install --save-dev commitpromptyarn add --dev commitpromptAdd "commit": "commitprompt", then run it with npm, pnpm, or Yarn.
$ pnpm commit
Select the type of change:
1. feat A new feature
2. fix A bug fix
3. docs Documentation only
Type: 1
Scope: cli
Description: add repository-aware validation
feat(cli): add repository-aware validation
Create this commit? [y/N] yOne small command
No adapter configuration and no package-manager lock-in. Commitprompt stays focused on the moment between staging changes and creating the commit.
Loads the repository’s Commitlint configuration and validates before Git receives the message.
Runs the same through pnpm, npm, or Yarn because validation happens through Commitlint’s API.
Shows the complete message—including body, breaking change, and issue references—before committing.
The whole workflow
The happy path stays short, while every guardrail remains visible and testable.
Ready when the index is
Install it in minutes. Use the included rules or keep your existing configuration.