Commit Compact — Git skill for Claude Code
Create a git commit.
How to install Commit Compact
Installs to ~/.claude/commands/coder-mux-commit-compact.md
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 RepositoryRelated Skills
Generate Build Report
Reconstruct how this repo was built from Claude Code session logs + git history and write a single BUILD_REPOR
Session Brief
Catch up on the current session — issue link, branch, PR, CI, review threads awaiting you, what was in flight,
Compact Comments
@../../.github/prompts/compact-comments.prompt.md
Commit Commands
Git commit workflows: commit, push, and PR creation
Get Commit Details
git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID]
Commit Msg
生成 Git Commit Message
Related Agents
Doc Harvester
Mines a repository's issue replies, pull request review comments, and commit message bodies for explanations t
Collector
Spawned by /playbook:learn-project Phase 1 to gather raw material for one collector role: git-history, code-st
Flow Git
Use this agent for git operations — atomic commits, rebase, history cleanup, and style detection. Flow detects