ahmedelgabri

generating-commit-messages

@ahmedelgabri/generating-commit-messages
ahmedelgabri
281
17 forks
Updated 1/6/2026
View on GitHub

Generates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.

Installation

$skills install @ahmedelgabri/generating-commit-messages
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathconfig/claude/skills/generating-commit-messages/SKILL.md
Branchmain
Scoped Name@ahmedelgabri/generating-commit-messages

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: generating-commit-messages

<!-- prettier-disable -->

description: Generates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.

<!-- prettier-enable -->

Generating Commit Messages

Instructions

  1. Run command git diff to see changes that will be committed (or command git diff --staged if they have already been staged).
  2. 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.