Commit message generator
Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/daisuke897/commit-message-generator
Generate appropriate commit messages based on Git diffsFrom its SKILL.md
npx -y skills add ComeOnOliver/skillshub --skill commit-message-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.5 KB, 305 tokens by cl100k_base, as published. Nobody here has run it
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
- Run
git statusto check modified files - Retrieve diffs with
git difforgit diff --cached - Analyze the diff content and determine if changes should be split into multiple commits
- 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>"
- 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 commitorgit push - Only suggest commands; execution is entirely at user's discretion
- Users must explicitly perform commits and pushes themselves
What ships with it
9.1 KB alongside SKILL.md
GitHub clipped this repository’s file list, so this is at least 1 file and may be more.
- skill-report.json9.1 KB