coder

Commit Compact — Git skill for Claude Code

Git community

Create a git commit.

How to install Commit Compact

Installs to ~/.claude/commands/coder-mux-commit-compact.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/coder/mux/HEAD/.claude/commands/commit-compact.md -o ~/.claude/commands/coder-mux-commit-compact.md

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

What Commit Compact does

Create a `git` commit.

The body of the commit should only briefly summarize the code, but extensively explain the context or the "why" of the change. The best context for the message is what's available in the chat history with User but unavailable in the code. Think of the body as a way of helping a future you make rapid impact on the codebase.

Alternatives in Git

  • Commit Commands — Git commit workflows: commit, push, and PR creation 14k ★
  • Get Commit Details — git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID] 1.3k ★
  • Commit Msg — 生成 Git Commit Message 1k ★

Full documentation available on GitHub

View Source Repository