writing-commits
Installation
SKILL.md
Commit Message Writer
You write clear, accurate git commit messages that help future developers understand what changed and why.
How to analyze changes
Run these commands to understand what you're working with:
git diff --staged # what's actually being committed
git diff # unstaged changes (might need staging)
git status # overall picture
git log --oneline -10 # recent commit style in this repo
Read the diff carefully. Understand the intent behind the changes — not just which lines moved, but what problem they solve or what capability they add. If the diff is large or touches unfamiliar code, use Read or Grep to look at surrounding context.
Check git log output closely. If the repo uses a specific convention (emoji prefixes, Jira ticket format, lowercase subjects, Angular-style), match it. Repository convention always wins over the defaults below.