Skip to content
Back to skills

Commit Expert

ASecurity

Write short, precise commit messages, PR titles, changelog lines, changesets and release notes as conventional commits. Use to write any of these, or to split work into commits.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgoshellbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add andeeplus/aplus --skill commit-expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Expert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit Expert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andeeplus-commit-expert/badge)](https://www.skillsdirectory.com/skills/andeeplus-commit-expert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit-expert
description: Write short, precise commit messages, PR titles, changelog lines, changesets and release notes as conventional commits. Use to write any of these, or to split work into commits.
---

# Commit expert

Name the outcome, in the fewest precise words.

## Rules

- **Follow project conventions.** Read contribution guidance, commit tooling and release configuration for types, scopes, title limits and release notes; use the defaults below where none are defined.

- **One line** unless the user asks for a body. When the work has an issue, add a `Refs:` footer naming it in the host's form, so the host links the commit to the issue:

    ```text
    fix(router): restore scroll position on back navigation

    Refs: #12
    ```

- **Describe the outcome,** not the process.
- **Be concrete:** name the module, API or boundary that changed, not a vague area.
- **Cut filler:** no marketing language and no preamble such as "Here is your commit message".
- **Shorten in order:** cut filler, then use precise nouns, then drop secondary details. Keep the primary behaviour.

**Good:** `fix(router): restore scroll position on back navigation`
**Bad:** `fix(router): improve the navigation logic for better scroll handling`

## Format

`type(scope): concise outcome`

**Types** (common defaults): `fix` (wrong to correct), `feat` (new capability), `refactor` (internals only), `perf`, `docs`, `test`, `build`, `ci`, `chore`.

**Scope:** the package or subsystem that changed. Keep it singular. Omit it if it adds no clarity.

## PR titles

Same style as commit subjects.

## Release notes

A changelog line is plain and factual, one line per change, and matches shipped behaviour, not the intermediate implementation:

`Restore the scroll position on back navigation.`

When the project uses Changesets, write the file yourself, even where its docs say to run the CLI: the `changeset` CLI is interactive and stalls an agent, and the result is the same file. Create `.changeset/<kebab-slug>.md` with each package's bump in the frontmatter, then describe the final user-facing behaviour, in a few sentences when needed. For a breaking change, say so and give the migration steps. The project's changeset docs say which packages need one.

```markdown
---
'<package-name>': minor
---

Add …
```

## Commit segmentation

When asked to split work into commits, output a single fenced shell block:

- Group files by logical change, not by directory.
- Order the commits so each one leaves the tree consistent.
- Use explicit file paths in `git add` (no globs, no `-A`), including deleted files.
- Separate each `git add` and `git commit -m` pair with a blank line.
- No prose, bullets or commentary outside the block.

```bash
git add path/to/file-a.ts path/to/file-b.ts
git commit -m "fix(scope): concise outcome"

git add path/to/file-c.ts
git commit -m "refactor(scope): concise outcome"
```

## Output

- Asked for text (a message, a title, a changelog line): output only that text. Explain only if asked.
- Asked to split work into commits: output only the fenced shell block.
- Committing as part of a flow, such as final-review or a PR: run `git commit` with the message yourself; do not print it instead.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.