agentsclimarketplace

Commit message

Skill kevinxo328/agent-skills/skills/commit-message

This repository is a collection of high-quality AI agent skills.

Install
npx -y skills add kevinxo328/agent-skills --skill commit-message

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Write high-quality Git commit messages following the Conventional Commits specification. Use this skill whenever the user commits code, provides a git diff, describes code changes, or asks for help writing a commit message. Triggers include: commit, commit files, commit staged files, commit all, commit changes, commit this, write a commit, commit message, git commit, git add and commit, stage and commit, how do I commit this, what should my commit say, or when the user pastes a diff or describes what they changed. Always use this skill proactively when the user is about to commit — even if they only describe what changed or simply say "commit" without explicitly asking for a message.

SKILL.md

3.1 KB, as published. Nobody here has run it

Commit Message Skill

Write commit messages following Conventional Commits v1.0.0. Always capture What changed and Why — not just a summary of the diff.

Format

<type>[optional scope]: <subject>

[optional body]

[optional footer(s)]

type (required):

TypeDescription
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no logic change
refactorRestructure, not a feat or fix
perfPerformance improvement
testAdding or updating tests
choreBuild process or tooling
revertReverting a previous commit
ciCI/CD pipeline changes
buildBuild system changes

scope (optional) — area affected, e.g. auth, api, db, or package name in a monorepo.

subject (required) — max 50 chars, imperative mood (add not added), no trailing period.

body (optional) — blank line after subject, wrap at 72 chars. Explain why, not just what.

footer (optional) — issue refs (Closes #123), or breaking changes:

  • BREAKING CHANGE: <description> in footer, or
  • append ! to type/scope: feat!: / feat(api)!:

Output Rules

  1. Draft the commit message.
  2. Strip AI signatures — pipe the draft through strip-ai-signature.sh before presenting it:
    echo "$MSG" | ./skills/commit-message/strip-ai-signature.sh
    
    This removes Co-Authored-By: lines for Claude, Copilot, GPT, Gemini, and Anthropic.
  3. Output the cleaned message in a code block.
  4. If context is insufficient, produce a best-guess then ask for adjustments.
  5. If changes cover unrelated concerns, flag it and suggest splitting into separate commits.

Examples

fix(auth): redirect to login when session token expires

Previously crashed with an unhandled promise rejection. Now
gracefully redirects and clears the stale session data.

Closes #234
feat(api): add pagination to GET /users endpoint

Refs #189
feat(db)!: replace Prisma with Drizzle ORM

BREAKING CHANGE: All database query APIs have changed.
See docs/migration-drizzle.md for the migration guide.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.