Structured Git Commit Messages

•
772
•

Generates professional, Conventional Commit-style git messages with precise shell formatting for clean project histories.

The cc-commit-msg skill automates the creation of high-quality Git commit messages following the Conventional Commits specification. It analyzes code changes to categorize them as feat, fix, refactor, or other types, and generates a clear subject line followed by detailed body bullet points. A key advantage of this skill is its output of a specific 'heredoc' shell command, which ensures that multi-line formatting is perfectly preserved when pasted into a terminal, preventing common formatting errors that occur with standard git commit flags.

主要功能

01Intelligently differentiates between staged changes and full workspace diffs
02Strict adherence to Conventional Commits (feat, fix, refactor, etc.)
03Provides safe heredoc shell commands to preserve terminal formatting
04772 GitHub stars
05Generates structured multi-line messages with clear body bullet points
06Uses simplified Chinese for subjects and bodies while maintaining English type keywords

使用场景

01Standardizing commit history for better maintainability and automated changelog generation
02Drafting detailed commit descriptions for complex pull requests
03Ensuring multi-line commit messages are correctly formatted in Git logs and remote platforms