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

  • Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
  • Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★

Full documentation available on GitHub

View Source Repository