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
- 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 RepositoryRelated Skills
Generate Build Report
Reconstruct how this repo was built from Claude Code session logs + git history and write a single BUILD_REPOR
Squad Save State
Write this session's state on GitHub before a /compact (agent-squad)
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
Husky
by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st
/commit
by evmts - Creates git commits using conventional commit format with appropriate emojis, following project sta
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