commit-message-generator
Installation
SKILL.md
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
Related skills
More from daisuke897/dotfiles
forgejo-cli-ops
Use the Forgejo CLI (fj) to authenticate and operate on a Forgejo instance (issues, PRs, repositories) with correct host handling.
18aws-sso-login
Authenticate to AWS using Single Sign-On (SSO). Use when AWS CLI operations require SSO authentication or when SSO session has expired.
7assume-cloudformation-role
Assume AWS IAM role for CloudFormation operations and set temporary credentials as environment variables. Use when working with CloudFormation stacks or when authentication setup is needed before AWS CloudFormation operations.
5