quick-commit

majiayu000's avatarfrom majiayu000

Create a git commit with a short message (up to 50 characters). Use when the user asks to commit changes with a short/concise message.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026

When & Why to Use This Skill

The Quick Commit skill streamlines the version control workflow by automatically generating and executing concise Git commits. It intelligently analyzes staged changes and repository history to draft professional, 50-character messages that adhere to project-specific patterns, ensuring a clean, readable, and standardized commit log for better codebase maintainability.

Use Cases

  • Rapidly committing small bug fixes or incremental feature updates without manually drafting repetitive commit messages.
  • Maintaining a consistent commit style and tense (e.g., present tense) across a collaborative project to improve repository legibility.
  • Standardizing AI-assisted development workflows by automatically appending required metadata, footers, and co-author attribution to every commit.
  • Ensuring commit messages stay within the recommended 50-character limit for optimal display in Git management tools and CLI logs.
namequick-commit
descriptionCreate a git commit with a short message (up to 50 characters). Use when the user asks to commit changes with a short/concise message.
allowed-toolsBash

Quick Commit Skill

This skill helps create git commits with short, concise messages (up to 50 characters).

Instructions

When the user asks to commit changes with a short message:

  1. Review Changes: Run git status and git diff in parallel to see what changes exist
  2. Review Commit History: Run git log -5 --oneline to see recent commit message style
  3. Draft Message: Create a concise commit message that:
    • Is 50 characters or less
    • Uses present tense ("Add" not "Added")
    • Describes what the change does
    • Follows the project's commit message patterns
  4. Commit: Add files and commit using the heredoc format:
    git add <files> && git commit -m "$(cat <<'EOF'
    Your commit message here.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    EOF
    )"
    
  5. Verify: Run git status to confirm the commit succeeded

Examples

Common patterns for this codebase:

  • "Nalog za prevoz - [feature]"
  • "Add [feature] to [component]"
  • "Fix [issue] in [module]"
  • "Update [entity] with [property]"

Important Notes

  • Always include the Claude Code footer in commits
  • Keep the main message under 50 characters
  • Follow existing commit message patterns in the project