commit-message
Installation
SKILL.md
Commit Message
Generate a high-quality commit message from staged changes following Conventional Commits format.
Context Reuse (Step 0)
See _shared/context-reuse.md for the context reuse protocol.
If DIFF_CONTEXT or RAW_DIFF is already provided, use it directly to save time and tokens.
Read Staged Diff (Step 1)
Run git diff --cached to read staged changes.
If staged diff is empty, tell user to stage files first (e.g., git add <file>), then stop.