mcpbeat Sign in

Commit Messages Skill for Claude

Generates conventional commit messages from staged changes. Use when committing and needing a well-formatted message. Do not use for full PR prep; use pr-prep.

948 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
324
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/athola/claude-night-market --skill commit-messages

The instruction itself

6 sections, as written by the author

Conventional Commit Workflow

When To Use

  • Generating conventional commit messages from staged changes

When NOT To Use

  • Full PR preparation: use sanctum:pr-prep
  • Amending existing commits: use git directly

Steps

  • Gather context (run in parallel):
  • git status -sb
  • git diff --cached --stat
  • git diff --cached
  • git log --oneline -5
  • When sem is available (see leyline:sem-integration):

sem diff --staged --json for entity-level changes

If nothing is staged, tell the user and stop.

When sem output is available, use entity names

(function, class, method) in the commit subject and

body instead of parsing raw diff hunks. For example,

"add function validate_webhook_url" instead of

"add validation logic to notify.py".

  • Classify: Pick type (feat, fix, docs, refactor,

test, chore, style, perf, ci) and optional scope.

  • Draft the message:
  • Subject: <type>(<scope>): <imperative summary> (50 chars max)
  • Body: What and why, wrapped at 72 chars
  • Footer: BREAKING CHANGE or issue refs
  • Slop check: reject these words and replace with plain

alternatives:

| Reject | Use instead |

|--------|-------------|

| leverage, utilize | use |

| seamless | smooth |

| comprehensive | complete |

| robust | solid |

| facilitate | enable |

| streamline | simplify |

| optimize | improve |

| delve | explore |

| multifaceted | varied |

| pivotal | key |

| intricate | detailed |

Also reject: "it's worth noting", "at its core",

"in essence", "a testament to"

4a. Character-level slop check: load shared/output-hygiene.md

(Contract A) and strip these markers. Inline fallback if that

module is absent:

| Marker | Replace with |

|--------|--------------|

| "+" as a prose conjunction | and (keep + in versions/code) |

| em-dash | colon, period, comma, or rewrite |

| -- as prose punctuation | colon or rewrite |

| arrows -> / as connectors | to / into |

| smart quotes “ ” ‘ ’ | straight " and ' |

4b. Subject-matter check (Contract B): describe the change by its

reader-facing effect. Name neither the AI origin nor the specific

marker removed. Do NOT write remove AI slop, de-slop,

AI-generated content, AI phrasing, replace em-dashes, or

remove smart quotes. Test: if the subject only makes sense as "I

cleaned up AI output", rewrite it. For example `docs: clarify the

setup section, not style: replace em-dashes with colons`.

  • Write to ./commit_msg.txt and preview.

Rules

  • NEVER use git commit --no-verify or -n
  • Write for humans, not to impress
  • If pre-commit hooks fail, fix the issues

Exit Criteria

  • [ ] commit_msg.txt written to the working directory containing

the drafted conventional commit message

  • [ ] Subject line follows <type>(<scope>): <summary> format and

is at most 50 characters

  • [ ] Slop word check passes: none of the banned words (leverage,

utilize, seamless, comprehensive, robust, etc.) appear in the

message

  • [ ] Character-level check passes: no em-dashes, no + as prose

conjunction, no smart quotes, no -> as prose connector

  • [ ] If nothing is staged, skill halts immediately and reports

"nothing staged" without producing a commit message

Other skills for the same job

different authors, same section of the catalogue
Receiving Code Review
by ZhanlinCui
×7

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation

2k tokens
Requesting Code Review
by ZhanlinCui
×6

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

2k tokens
Git Commit
by github
vendor ×3

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

799 tokens
Github Code Review
by ComeOnOliver
×3

Comprehensive GitHub code review with AI-powered swarm coordination

13k tokens
Karpathy Guidelines
by hyyhf
×3

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.

629 tokens
Code Reviewer
by google-gemini
vendor ×2

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

795 tokens
Agent MD Refactor
by softaworks
×2

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

4k tokens
Commit Work
by softaworks
×2

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

2k tokens

How to use it

Copy the folder

Take athola/commit-messages from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.