Skip to content
Agentmart
Submit a tool

conventional-commits-gatekeeper

Enforce and author Conventional Commits messages, validate commit history, and map commit types to semantic-version bumps.

Skill by anton-abyzov

IndexedMIT
Write a review

Chalk Labs

Need help deploying conventional-commits-gatekeeper?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/anton-abyzov-conventional-commits-gatekeeper

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Enforce and author Conventional Commits messages, validate commit history, and map commit types to semantic-version bumps.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/conventional-commits-gatekeeper

What's inside

Skill name
conventional-commits-gatekeeper
Description
Enforce and author Conventional Commits messages, validate commit history, and map commit types to semantic-version bumps.
License
MIT
Instructions
93 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# conventional-commits-gatekeeper

Write, validate, and enforce [Conventional Commits](https://www.conventionalcommits.org)
so that history is machine-readable and releases can be automated.

## The format

```
<type>(<optional scope>)<optional !>: <description>

<optional body>

<optional footer(s)>
```

Example:

```
feat(auth): add refresh-token rotation

Rotates the refresh token on every use to limit replay windows.

Closes #482
BREAKING CHANGE: refresh tokens issued before this release are invalidated.
```

## Allowed types

| Type       | Use for                                          | SemVer bump |
|------------|--------------------------------------------------|-------------|
| `feat`     | a new user-facing feature                        | minor       |
| `fix`      | a bug fix                                         | patch       |
| `perf`     | a performance improvement                         | patch       |
| `refactor` | code change that neither fixes a bug nor adds one| none        |
| `docs`     | documentation only                               | none        |
| `test`     | adding or fixing tests                           | none        |
| `build`    | build system or dependencies                     | none        |
| `ci`       | CI configuration                                 | none        |
| `chore`    | housekeeping with no src/test change             | none        |
| `revert`   | reverts a previous commit                        | varies      |

A `!` after the type/scope **or** a `BREAKING CHANGE:` footer forces a **major**
bump.

## Validation rules

When checking a commit message, fail it if any of these are true:

1. The header does not match `^(\w+)(\([\w/-]+\))?(!)?: .+`.
2. The type is not in the allowed list above.
3. The description starts with a capital letter or ends with a period.
4. The description is in past tense (`added`, `fixed`) — prefer imperative
   (`add`, `fix`).
5. The header exceeds 72 characters.
6. A body line exceeds 100 characters (footers exempt).

## Regex you can reuse

```
^(feat|fix|perf|refactor|docs|test|build|ci|chore|revert)(\([a-z0-9/-]+\))?(!)?: [a-z].{1,70}$
```

## commitlint config

Drop this into `commitlint.config.js` to enforce the same rules in CI:

```js
module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'header-max-length': [2, 'always', 72],
    'subject-case': [2, 'always', 'lower-case'],
    'subject-full-stop': [2, 'never', '.'],
    'type-enum': [2, 'always', [
      'feat','fix','perf','refactor','docs',
      'test','build','ci','chore','revert',
    ]],
  },
};
```

Wire it to a `commit-msg` hook (via husky or `core.hooksPath`) so bad messages
never land.

## Agent guidance

- When asked to commit, infer the smallest correct `type` from the diff, not
  from the user's wording.
- One logical change per commit. If a diff mixes a feature and a fix, split it.
- Put issue references in footers (`Closes #123`), never in the header.
- For releases, aggregate commit types to compute the next version: any `feat`
  → minor, only `fix`/`perf` → patch, any breaking marker → major.

From anton-abyzov/vskill-test-public-skills-826, MIT.

More from anton-abyzov/vskill-test-public-skills-826

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 10, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from anton-abyzov

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get conventional-commits-gatekeeper running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying conventional-commits-gatekeeper?

CallGet help
Cite this page

conventional-commits-gatekeeper skill. Agent Mart. https://agentmart.dev/skills/anton-abyzov-conventional-commits-gatekeeper (last updated 2026-10-24)