commit-message-generator
Generate appropriate commit messages based on Git diffs
Best use case
commit-message-generator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate appropriate commit messages based on Git diffs
Teams using commit-message-generator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/commit-message-generator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How commit-message-generator Compares
| Feature / Agent | commit-message-generator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate appropriate commit messages based on Git diffs
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## Prerequisites - This Skill retrieves Git diffs and suggests meaningful commit messages - Message format should follow Conventional Commits - Commit messages should have a one-line Conventional Commits header, an optional blank second line, and from the third line onward include a bulleted list summarizing the changes - Commit messages should be in English - **Never perform Git commit or Git push** ## Steps 1. Run `git status` to check modified files 2. Retrieve diffs with `git diff` or `git diff --cached` 3. Analyze the diff content and determine if changes should be split into multiple commits 4. For each logical group of changes: - List the target files - Generate a message in English compliant with Conventional Commits - Suggest the command: `git add <files> && git commit -m "<message>"` 5. If changes are extensive and should be split, provide: - Rationale for the split - Multiple commit suggestions with their respective target files and messages ## Commit Splitting Guidelines - Split commits when changes span multiple logical concerns (e.g., feature + refactoring) - Group related files that serve the same purpose - Keep each commit focused on a single, atomic change ## Notes - **This Skill must never execute `git commit` or `git push`** - Only suggest commands; execution is entirely at user's discretion - Users must explicitly perform commits and pushes themselves
Related Skills
Research Proposal Generator
Generate high-quality academic research proposals for PhD applications following Nature Reviews-style academic writing conventions.
Paper Slide Deck Generator
Transform academic papers and content into professional slide deck images with automatic figure extraction.
window-function-generator
Window Function Generator - Auto-activating skill for Data Analytics. Triggers on: window function generator, window function generator Part of the Data Analytics skill category.
website-generator
Use when the user asks to create a website, build a site, generate a landing page, or mentions B12. Trigger phrases: "create a website", "build me a site", "website for my business", "generate a landing page", "B12 website". Trigger with 'website', 'generator'.
webhook-receiver-generator
Webhook Receiver Generator - Auto-activating skill for API Integration. Triggers on: webhook receiver generator, webhook receiver generator Part of the API Integration skill category.
vulnerability-report-generator
Vulnerability Report Generator - Auto-activating skill for Security Advanced. Triggers on: vulnerability report generator, vulnerability report generator Part of the Security Advanced skill category.
vue-component-generator
Vue Component Generator - Auto-activating skill for Frontend Development. Triggers on: vue component generator, vue component generator Part of the Frontend Development skill category.
user-story-generator
User Story Generator - Auto-activating skill for Enterprise Workflows. Triggers on: user story generator, user story generator Part of the Enterprise Workflows skill category.
typeorm-entity-generator
Typeorm Entity Generator - Auto-activating skill for Backend Development. Triggers on: typeorm entity generator, typeorm entity generator Part of the Backend Development skill category.
torchserve-config-generator
Torchserve Config Generator - Auto-activating skill for ML Deployment. Triggers on: torchserve config generator, torchserve config generator Part of the ML Deployment skill category.
svg-icon-generator
Svg Icon Generator - Auto-activating skill for Visual Content. Triggers on: svg icon generator, svg icon generator Part of the Visual Content skill category.
status-report-generator
Status Report Generator - Auto-activating skill for Enterprise Workflows. Triggers on: status report generator, status report generator Part of the Enterprise Workflows skill category.