Skip to content
Skill

Conventional commit

Guides the agent to write Conventional Commits, splitting mixed changes into several

Conventional commit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Conventional commit

This skill turns the agent into a commit message assistant. It reviews the working tree and staged changes with git, decides whether they belong in one commit or should be split by purpose, and drafts each header using the Conventional Commits type and optional scope set. The skill walks through type selection, scope choice, imperative descriptions, optional body and footer content, and enforces header and line length limits.

Before running anything, the agent presents a summary and the proposed commits, then waits for the user to confirm or change them. Once approved, it stages only the files for each commit and commits using a heredoc so the message formatting is preserved. It is instructed not to add auto-generated trailers such as co-author lines.

The skill relies on git being available and on the agent's Bash, Read, Edit and question tools. It ships as a single SKILL.md with no scripts or reference files.

When your agent uses it

Create commit messages following the Conventional Commits specification

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 1 file (4 KB) on GitHub on 3 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

Copy the skill folder to ~/.claude/skills/conventional-commit to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/conventional-commit &&
cp -R "$tmp/.claude/skills/conventional-commit" ~/.claude/skills/conventional-commit &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/conventional-commit &&
cp -R "$tmp/.claude/skills/conventional-commit" ~/.cursor/skills/conventional-commit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/conventional-commit 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/k1-c/linear-tui.git --path .claude/skills/conventional-commit

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/conventional-commit &&
cp -R "$tmp/.claude/skills/conventional-commit" ~/.copilot/skills/conventional-commit &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/k1-c/linear-tui.git

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

The SKILL.md format

What it does

Commit type selection
Maps changes to standard types such as feat, fix, docs, refactor, test and chore.
Splitting mixed changes
Groups unrelated edits into separate commits and orders them so foundational changes come first.
Scope and header formatting
Adds an optional scope and keeps headers lowercase, imperative and within length limits.
Body and footer guidance
Explains when to add a body on motivation and when to include breaking change or issue footers.
Confirm before committing
Shows the proposed commits and files for approval before any git commit runs.
Staged per-commit execution
Stages only the files for each commit and commits with a heredoc message.

Good for

  • Write a commit message for my staged changes
  • Split my unrelated edits into logical commits
  • Check my commit header follows Conventional Commits
  • Commit a fix and its test as one coherent change
  • Add a breaking change footer to my commit

Conventional commit FAQ

Does Conventional commit add co-author or generated-with footers?

No. The skill tells the agent not to include auto-generated footers such as Generated with Claude Code or Co-Authored-By.

Will Conventional commit commit without asking?

No. It presents a summary and the proposed commits first and waits for confirmation or changes before executing.

What tools does Conventional commit use?

It is allowed to use Bash, Read, Edit and AskUserQuestion, and runs git commands such as git status and git diff.

Does Conventional commit include scripts?

No. The folder contains only the SKILL.md file.

How do I install Conventional commit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/conventional-commit to use it in all your projects, or to .claude/skills/conventional-commit in one project.

Does Conventional commit 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?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Conventional commit?

The closest alternatives to Conventional commit are Conventional commit, Conventional commits, Conventional commit review, Git commit and Autocommit.

Where this comes from

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

More from k1-c/linear-tui

  1. Gives the agent a quick reference of Rust-specific naming, error handling and async rules

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Guides an agent through building Rust command-line tools with clap, config layers

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Guides the agent through Rust ownership, borrow and lifetime compiler errors

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Guides an agent in choosing Rust smart pointers like Box, Rc, Arc, Weak and RefCell

    • Open source
    • 21 GitHub stars
    • Developer tools
  5. Guides a Rust agent through E0596/E0499/E0502 borrow errors and interior mutability

    • Open source
    • 21 GitHub stars
    • Developer tools
  6. Guides Claude through generics, traits, static vs dynamic dispatch and related Rust

    • Open source
    • 21 GitHub stars
    • Developer tools