mpsk

Detailed Commit — Git skill for Claude Code

Git community

Create a detailed commit message for all staged and unstaged changes.

How to install Detailed Commit

Installs to ~/.claude/skills/mpsk-claude-base-detailed-commit/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mpsk-claude-base-detailed-commit && curl -fsSL https://raw.githubusercontent.com/mpsk/claude-base/HEAD/commands/detailed-commit.md -o ~/.claude/skills/mpsk-claude-base-detailed-commit/SKILL.md

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

What Detailed Commit does

Create a detailed commit message for all staged and unstaged changes.

Steps

  1. Check for local changes first: run git status --porcelain and git diff HEAD --stat.
    • If there ARE local changes, proceed with the steps below as normal (commit message for the working tree diff).
    • If there are NO local changes (clean tree), do not silently do nothing and do not silently assume scope. Ask the user via AskUserQuestion what to describe, e.g.:
      • The commits already on this bran

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