commit-message

Installation
SKILL.md

Git Commit Message Generator

Generate concise, descriptive and intent-driven Git commit messages in English.

Process

  1. Run git diff --cached directly to check for staged changes
  2. If staged changes exist: generate commit message based on staged changes only
  3. If no staged changes: run git diff directly and git status directly to view unstaged and untracked files
  4. For untracked files, intelligently assess which need content review (code/config files) vs which can be inferred from filename (assets, dependencies)
  5. Combine the diff with the intent supported by the conversation context; do not invent motivation that is not evident
  6. Generate a single-line commit message that prioritizes known intent, then observable outcome, then the concrete change

Output

Output ONLY the commit message — a single line, no explanation, no code block fencing.

Format

Installs
48
Repository
ycs77/skills
First Seen
Feb 1, 2026
commit-message — ycs77/skills