Unnamed Skill
Generates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.
$ インストール
git clone https://github.com/ahmedelgabri/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/config/claude/skills/generating-commit-messages ~/.claude/skills/dotfiles// tip: Run this command in your terminal to install the skill
SKILL.md
name: generating-commit-messages
description: Generates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.
Generating Commit Messages
Instructions
- Run
command git diffto see changes that will be committed (orcommand git diff --stagedif they have already been staged). - Suggest a commit message with:
- A subject of 72 characters or less in Conventional Commits format (eg. "docs: add migration notes" or "fix: avoid double-render in list component").
- A detailed description, wrapped to 72 characters, using basic Markdown syntax.
Best practices
- Subjects should start with a type (eg. "docs", "fix", "feat", "chore" etc) following by a statement beginning with a verb (eg. "add", "remove", "rename" etc).
- Explain what and why, not how.
- Note alternatives which were considered but not implemented.
- Include references to previous commits or other artifacts (documentation, PRs) that are relevant.
Repository

ahmedelgabri
Author
ahmedelgabri/dotfiles/config/claude/skills/generating-commit-messages
281
Stars
17
Forks
Updated3d ago
Added1w ago