halflength-ampleness75

Commit Message — Git skill for Claude Code

Git community

Generate a conventional commit message from staged changes.

How to install Commit Message

Installs to ~/.claude/skills/halflength-ampleness75-claude-code-recipes-commit-message/SKILL.md

Terminal
mkdir -p ~/.claude/skills/halflength-ampleness75-claude-code-recipes-commit-message && curl -fsSL https://raw.githubusercontent.com/halflength-ampleness75/claude-code-recipes/HEAD/commands/commit-message.md -o ~/.claude/skills/halflength-ampleness75-claude-code-recipes-commit-message/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Commit Message does


model: haiku description: Generate a conventional commit message from staged changes allowed-tools:

  • Bash

Generate a well-structured conventional commit message from the currently staged git changes.

Step 1 — Get the Staged Diff

Run `git diff --cached` to see what is staged. Also run `git diff --cached --stat` for a file summary.

If nothing is staged, inform the user: "No changes are staged. Run `git add` first, then invoke this command again." Then stop.

Step 2 — Determine

Alternatives in Git

  • Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
  • Commit Msg — 生成 Git Commit Message 1k ★
  • Fix GitHub Issue — by jeremymailen - Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue detai 708 ★

Full documentation available on GitHub

View Source Repository