Skip to content
Skill

Commit style

Guides the agent to write git commit messages and PR titles in a concise house style

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

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

Similar skills

About Commit style

This skill sets conventions for commit subject lines, component prefixes, and commit bodies, along with the verb choices that go with them. It asks the agent to keep subjects short, usually under 50 characters, and to pick specific verbs such as avoid, extract, introduce or roll over generic ones like fix, refactor or update. It also covers how to format prefixes for classes, methods, paths and features, and when to leave a prefix off entirely.

The body guidance focuses on background the diff cannot show, such as the reason for a change or the behavior that motivated it, wrapped at about 72 characters. Pull request titles follow the same subject rules, and single-commit branches reuse the commit message as the description. The skill also forbids test plans, QA checklists and task lists in PR descriptions. It notes that project-specific conventions take priority over these defaults.

The skill is a plain instruction file with no scripts. It has no required inputs or tools beyond the agent's ability to write commit and PR text, and the guidance is in English.

When your agent uses it

This skill should be used when writing git commit messages, creating git commits, composing pull request titles and descriptions, or when the user asks to "commit", "git commit", "write commit message", "pull request", or "PR description". Provides conventions for subject lines, prefix patterns, body content, and verb choices.

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 (5 KB) on GitHub on 4 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 sorah-guides plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add sorah/config
/plugin install sorah-guides@sorah-marketplace

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commit-style &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/commit-style" ~/.claude/skills/commit-style &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commit-style &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/commit-style" ~/.agents/skills/commit-style &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commit-style &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/commit-style" ~/.cursor/skills/commit-style &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/commit-style 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/sorah/config.git --path claude/marketplace/plugins/sorah-guides/skills/commit-style

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commit-style &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/commit-style" ~/.copilot/skills/commit-style &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/sorah/config.git

Then copy config/claude/marketplace/plugins/sorah-guides/skills/commit-style into your agent's skills folder as commit-style. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Subject line rules
Lowercase imperative subjects, no trailing period, and a target length under 50 characters.
Prefix formatting
Patterns for prefixing subjects with class names, method references, paths, or feature names.
Verb selection
Preferred specific verbs such as avoid, extract, introduce, and gains over generic terms.
Commit body guidance
Explains what belongs in a body, focusing on context the diff does not show.
Pull request titles and descriptions
Covers title length and whether to use the commit message or a summary for multi-commit branches.
Shortening long subjects
Techniques such as using ampersands and dropping redundant qualifiers to fit the length limit.

Good for

  • Write a commit message for staged changes
  • Compose a pull request title and description
  • Shorten a long commit subject to under 50 characters
  • Choose a precise verb for a commit that prevents a bug
  • Describe a dependency update in a commit

Commit style FAQ

When does Commit style trigger?

It is meant to be used when writing git commit messages, creating commits, or composing pull request titles and descriptions, or when the user asks to commit or write a PR description.

Does Commit style override project conventions?

No. The skill states that project-specific conventions always take priority over its defaults.

Does Commit style require scripts or external tools?

No scripts are included. The skill is a single SKILL.md file that gives written guidance only.

Can Commit style write test plans in pull requests?

No. The skill tells the agent never to include test procedures, test plans, QA checklists, or TODO checkboxes in PR descriptions.

How do I install Commit style in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/commit-style to use it in all your projects, or to .claude/skills/commit-style in one project. Or install the sorah-guides plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-guides@sorah-marketplace.

Does Commit style 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 Commit style?

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 Commit style?

The closest alternatives to Commit style are Git commit, Conventional commits, Git commit, Code commit and Commit.

Where this comes from

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

More from sorah/config

  1. Guides an agent through maintaining sorah's aptly-managed APT repositories and their

    • Open source
    • 31 GitHub stars
    • Cloud and infrastructure
  2. Runs a chief-of-staff session that watches your coding agents and keeps work on track

    • Open source
    • 31 GitHub stars
    • Developer tools
  3. Applies language-agnostic coding conventions to code writing and review

    • Open source
    • 31 GitHub stars
    • Developer tools
  4. Guides an agent through building and testing Rails apps on Aurora DSQL

    • Open source
    • 31 GitHub stars
    • Developer tools
  5. Writes English text in the author's terse, direct technical voice for GitHub and email

    • Open source
    • 31 GitHub stars
    • Developer tools
  6. Guides an agent through writing and reviewing secure GitHub Actions CI and release

    • Open source
    • 31 GitHub stars
    • Developer tools