Skip to content
Skill

Conventional commit review

Drafts Conventional Commits messages from staged changes, matched to repo history

Conventional commit review is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Conventional commit review

This skill turns a staged diff into a commit message that follows the Conventional Commits format of type, optional scope and subject. Before drafting, the agent reads recent subject lines from the repository's git log and measures whether the project uses prefixes, how long subjects usually run, and whether scopes appear consistently, so the output fits local habits rather than a fixed template.

The workflow classifies the change into a type, suggests splitting the work into separate commits when the diff mixes unrelated concerns, and adds a body only when the reason for the change is not visible from the code. Breaking changes are marked with an exclamation point and a BREAKING CHANGE footer. The skill's instructions treat git output as data and ask for confirmation before running git commit when the user has not already authorized it.

It relies on git being available in the working directory and works from staged changes, falling back to unstaged diffs when nothing is staged. No scripts are bundled; the agent runs the git commands itself.

When your agent uses it

Reviews staged changes and drafts a Conventional Commits-compliant commit message with the right type, scope, and length. Use before committing, or when the user asks to write, fix, or review a commit message.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (5 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/conventional-commit-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/conventional-commit-review &&
cp -R "$tmp/.agents/skills/conventional-commit-review" ~/.claude/skills/conventional-commit-review &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/conventional-commit-review inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/conventional-commit-review to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/conventional-commit-review &&
cp -R "$tmp/.agents/skills/conventional-commit-review" ~/.agents/skills/conventional-commit-review &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/conventional-commit-review inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/conventional-commit-review to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/conventional-commit-review &&
cp -R "$tmp/.agents/skills/conventional-commit-review" ~/.cursor/skills/conventional-commit-review &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/conventional-commit-review inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/conventional-commit-review

Or copy the folder to ~/.gemini/skills/conventional-commit-review yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/conventional-commit-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/conventional-commit-review &&
cp -R "$tmp/.agents/skills/conventional-commit-review" ~/.copilot/skills/conventional-commit-review &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/conventional-commit-review inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/conventional-commit-review into your agent's skills folder as conventional-commit-review. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Conventional type selection
Chooses a Conventional Commits prefix such as feat, fix, docs or refactor based on the staged change.
Repository history matching
Reads recent subject lines to match the project's prefix use, subject length and scope habits.
Scope inference
Derives a scope from the changed directory or package when the history uses scopes.
Split suggestions for mixed diffs
Recommends separate commits when one diff combines unrelated concerns.
Breaking change handling
Marks breaking changes with an exclamation point and a BREAKING CHANGE footer.
Confirmation before committing
Presents the drafted message and runs git commit only within existing user authorization.

Good for

  • Write a commit message for my staged changes
  • Check whether my commit message follows Conventional Commits
  • Fix a vague commit message like 'update files'
  • Split a mixed diff into separate commits with proper messages
  • Draft a summary line for a pull request

Conventional commit review FAQ

When does Conventional commit review trigger?

It activates before committing or when the user asks to write, fix or review a commit message, and when a larger workflow such as a refactor or release needs a commit produced.

Does Conventional commit review need any scripts or extra tools?

No scripts are bundled. It uses git commands such as git diff --staged and git log to read the change and the repository's history.

Does Conventional commit review commit automatically?

No. It presents the drafted message and runs git commit only within the user's existing authorization, asking for confirmation otherwise.

Does Conventional commit review enforce a fixed subject length?

No. It measures the typical subject length from the repository's recent history instead of using a hardcoded number.

How do I install Conventional commit review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/conventional-commit-review to use it in all your projects, or to .claude/skills/conventional-commit-review in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Conventional commit review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Conventional commit review?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Conventional commit review?

The closest alternatives to Conventional commit review are Conventional commit, Git commit, Commit message storyteller, Commit and Commit.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments