skills/bkircher/skills/git-commit-message

git-commit-message

SKILL.md

Create a commit message summarizing the changes just made. Only take staged changes into account.

Scan for what is staged

Use the context to construct a good message but make sure to only address the scope that is currently staged in git.

List files that are staged (in the index): git diff --cached --name-only

Show the full diff of staged changes: git diff --cached

Rules

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line
  6. Wrap the body at 72 characters
  7. Use the body to explain what and why vs. how
Weekly Installs
3
Repository
bkircher/skills
GitHub Stars
10
First Seen
Jan 26, 2026
Installed on
github-copilot3
codex3
cursor3
opencode2
gemini-cli2
claude-code2