Agent skill

commit-message

Write git one-line commit messages.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/commit-message

SKILL.md

commit-message

Instructions

Follow strict commit discipline to maintain a clean, useful git history.

Commit Message Guidelines

Commit messages should be clear, concise, and follow a standard format, and should explain the "why" behind the change.

Commit Message Format

Use <type emoji>(<target>): <description> format. <type emoji> indicates change type, <target> is optional scope, <description> is one-line concise summary with no indent.

Types:

  • โœจ feat: New feature
  • ๐Ÿ› fix: Bug fix
  • โ™ป๏ธ refactor: Code refactoring
  • โœ… test: Adding/updating tests
  • ๐Ÿ“ docs: Documentation changes
  • ๐ŸŽจ style: Code style changes (formatting)
  • ๐Ÿ”ง chore: Build process, dependencies
  • โšก perf: Performance improvements
  • ๐Ÿงน tidy: Structural code changes (renaming, extracting methods)

Examples

Examples:

โœจ(auth): add OAuth2 login support since many users requested it
๐Ÿ›: fix crash on null pointer in order processing
โ™ป๏ธ(cart): extract calculateTotal method
โœ…: add tests for user registration
๐Ÿ“: update API documentation for payment endpoint

Didn't find tool you were looking for?

Be as detailed as possible for better results