Back to MD Exchange
    Claude Code Skillsgitcommitautomationconventional-commitsdx

    Git Commit Message Generator

    Analyzes staged changes and generates semantic, conventional commit messages. Understands context, breaking changes, and co-authorship.

    K
    keygroup|March 25, 2026|Updated Oct 8
    0 downloads0 stars

    Uploaded markdown content, not a verification of tool compatibility or results. Review the raw text, commands, and permissions before using it. Stars require an account.


    name: smart-commit
    description: Generate perfect commit messages from diffs


    Git Commit Message Generator

    Reads your staged changes and writes meaningful commit messages following Conventional Commits.

    Features

    • Analyzes diff context, not just file names
    • Detects breaking changes automatically
    • Groups related changes into logical commits
    • Supports conventional commit format (feat/fix/refactor/docs/test)
    • Adds scope based on affected modules
    • Includes co-author attribution

    Usage (illustrative custom-wrapper commands)

    These are not built-in Claude Code subcommands. They require a custom wrapper; consult the wrapper's documentation before use.

    # Generate commit message for staged changes
    claude commit
    
    # Generate and commit directly
    claude commit --execute
    
    # Split staged changes into multiple logical commits
    claude commit --split
    

    Example

    feat(auth): add OAuth2 login with Google and GitHub
    
    - Implement OAuth2 flow with PKCE
    - Add session management with refresh tokens
    - Create login/callback route handlers
    - Add provider icons to login page
    
    Closes #142