conventional-commit · git:20261116.4d7760d · 2026-11-16 · sha256 dbc21d40f9a40334

conventional-commit git:20261116.4d7760dA

Immutable. This exact content never changes and is served at /api/v1/blob/dbc21d40f9a40334.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_jmqleknaakygyefp/dbc21d40f9a403348ed992688288cf0edb239356ed2212284231ff1a372521d0.json

Then /plugin install conventional-commit@markdownregistry-jmqleknaakygyefp in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: conventional-commit
description: >
  Create well-formatted git commits using Conventional Commits format.
  Use when committing changes, reviewing commit messages, or splitting
  changes into atomic commits.
---

# Conventional Commits

Create atomic, well-formatted commits following the Conventional Commits spec.

## Format

```
type(scope): description
```

- **Under 72 characters**
- **Imperative mood** - "add feature" not "added feature"
- **Focus on "why"** not "what"

## Types

| Type | When to use |
|------|-------------|
| `feat` | New feature |
| `fix` | Bug fix |
| `refactor` | Code change (no new feature/fix) |
| `docs` | Documentation only |
| `style` | Formatting, whitespace |
| `test` | Adding/updating tests |
| `chore` | Maintenance, dependencies |
| `perf` | Performance improvement |
| `ci` | CI/CD changes |

## Scope

Optional. Derive from primary directory/module changed.

Examples: `auth`, `api`, `ui`, `build`, `deps`

## Atomic Commits

Split changes if they touch:
- Different concerns (unrelated code areas)
- Different types (feature + fix + refactor mixed)
- Different file patterns (source vs config vs docs)

Each commit should be independently revertable.

## Examples

**Good:**
```
feat(auth): add JWT refresh token rotation
fix(api): handle null response in user endpoint
refactor: extract validation logic to shared util
chore: update dependencies
docs(readme): add setup instructions
```

**Bad:**
```
updated stuff                              # vague
Fixed the bug in the authentication        # past tense, too long
WIP                                        # meaningless
feat: add login and fix signup and update deps  # not atomic
```

## Breaking Changes

For breaking changes, add `!` after type/scope:

```
feat(api)!: change response format for user endpoint
```

Or add `BREAKING CHANGE:` in commit body.