commit-message

Installation
SKILL.md

Commit Message Generator

Two modes: (1) generate a commit message directly, or (2) generate an IDE-specific prompt for commit message generation.

Mode 1: Generate a Commit Message

Step 1 — Understand the scope

Figure out what changes the commit message needs to describe:

  • Normal commit: Analyze the staged diff (git diff --cached).
  • Amend (git commit --amend): The user is adding staged changes to the previous commit. Read both the HEAD commit (message + diff) and the newly staged changes, then write a single message describing the combined result.
  • Squash (combining multiple commits into one): The user is merging a range of commits. Read all their messages and diffs, then synthesize one coherent message covering the full body of work.

Step 2 — Collect context

Run these in parallel:

Related skills
Installs
9
Repository
ujon/skills
GitHub Stars
1
First Seen
Mar 11, 2026