← ClaudeAtlas

dev-git-commit-messagelisted

Generates conventional commit messages from git diffs. Use when you need well-formatted commit messages following Conventional Commits.
vasilyu1983/AI-Agents-public · ★ 90 · Code & Development · score 83
Install: claude install-skill vasilyu1983/AI-Agents-public
# Git Commit Message Generator **Auto-generates conventional commit messages from git diffs with tiered format enforcement** ## Purpose Analyze staged git changes and generate concise, meaningful commit messages following a tiered Conventional Commits specification. This skill examines file modifications, additions, and deletions to infer the type and scope of changes, producing commit messages that match the importance of the change - from detailed documentation for critical features to concise messages for minor updates. **Key Innovation**: Three-tier format system that balances thoroughness for critical commits (feat, fix, security) with efficiency for routine changes (docs, chore, style). ## When This Skill Activates - When `/commit-msg` command is invoked - When invoked from a `commit-msg`/`prepare-commit-msg` hook (if installed) - When user requests commit message suggestions - When analyzing changes before creating a commit ## Core Capabilities **1. Diff Analysis** - Parse `git diff --staged` output - Identify modified, added, and deleted files - Analyze code changes (additions, deletions, modifications) - Detect patterns across multiple files **2. Change Classification** - Determine commit type from changes: - `feat`: New features or functionality - `fix`: Bug fixes - `security`: Security fixes or hardening - `refactor`: Code restructuring without behavior change - `docs`: Documentation changes - `style`: Formatting, whitespace, code style - `te