🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Git Commit Message Generator

by @michaelatamuk

Generate conventional commit messages by analyzing staged changes automatically

πŸ“¦ Core Types
βš™οΈ Configuration

Optional: Customize Commit Style

While this skill uses Conventional Commits by default, you can customize the style in your conversation:

"Generate a commit message following Angular style"
"Create a commit using Gitmoji format with emojis"
"Write a detailed commit message with bullet points in the body"

Optional: Set Default Scope

If you're working in a monorepo or specific module:

"Generate commit messages with scope 'frontend' for this session"
"All my commits should have scope 'api'"

Optional: Link to Issue Tracker

If your branch name includes issue numbers:

# Branch: feature/USER-123-add-profile

Generated message will include:

#

feat(user-profile): add user profile component

#

Closes USER-123

πŸ“‹ Tips & Best Practices

For Best Results

1. Stage related changes together: Don't mix features and fixes in one commit 2. Review the generated message: Claude generates smart defaults, but you can refine 3. Add context if needed: Mention "this fixes a race condition" for better descriptions 4. Use meaningful branch names: Branch names help Claude understand context 5. Keep commits atomic: One logical change per commit works best

Tips for Teams

  • Enforce with git hooks: Use husky + commitlint to validate format
  • Document your scopes: Maintain a list of valid scopes for your project
  • Review in PRs: Check commit messages during code review
  • Generate changelogs: Use conventional-changelog to automate release notes
  • Semantic versioning: Use semantic-release to version from commits
  • View on ClawHub
    TERMINAL
    clawhub install git-commit-message-generator

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’