# Commit style

> Commit style is an open-source agent skill for developer tools. Guides the agent to write git commit messages and PR titles in a concise house style. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/sorah/config/tree/master/claude/marketplace/plugins/sorah-guides/skills/commit-style
- **Repository:** https://github.com/sorah/config
- **GitHub stars:** 31
- **License:** MIT
- **Skill name:** commit-style
- **Collection:** https://github.com/sorah/config
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/commit-style)
- [License: MIT](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/commit-style)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Git commit](https://ai-powered.com/skills/git-commit-ivy00johns): Git commit is an open-source agent skill for developer tools.
- [Conventional commits](https://ai-powered.com/skills/conventional-commits): Conventional commits is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-eduardo-sl): Git commit is an open-source agent skill for developer tools.
- [Code commit](https://ai-powered.com/skills/code-commit): Code commit is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit): Commit is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit-nexadevapp): Conventional commit is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit-denysdovhan): Commit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/commit-style
