Code Commit — Git skill for Claude Code
Format, pre-commit, stage safely, propose commit message, commit and push (HITL gated).
How to install Code Commit
Installs to ~/.claude/skills/d-padmanabhan-agent-engineering-handbook-code-commit/SKILL.md
mkdir -p ~/.claude/skills/d-padmanabhan-agent-engineering-handbook-code-commit && curl -fsSL https://raw.githubusercontent.com/d-padmanabhan/agent-engineering-handbook/HEAD/commands/code-commit.md -o ~/.claude/skills/d-padmanabhan-agent-engineering-handbook-code-commit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Commit does
description: Format, pre-commit, stage safely, propose commit message, commit and push (HITL gated)
CODE COMMIT MODE ACTIVATED
You are running the **`/code-commit`** workflow to prepare a clean commit and push it to `origin`.
[!IMPORTANT] This workflow includes **remote writes** (`git push`) and is **HITL gated**. Do not commit or push until the user explicitly approves.
Step 0: Repo safety and context
If you are not sure which repo you are in, STOP and ask the user
Alternatives in Git
- Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
- Linting — Run rm -rf .mypy_cache && pre-commit run --all-files and fix the issues 3.1k ★
- Commit Msg — 生成 Git Commit Message 1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Check Progress
Fix issues, summarize progress, run pre-commit, propose commit message (no staging/commit)
Pvc Git Commit Message Local
Claude Code skill that writes a git commit message in the PVC format (vX.Y.Z headline plus one bullet per real
Git Commit Conventions
Commit message format and git workflow conventions
Quick Commit
Stage all changes and commit with a descriptive message
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Husky
by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st
Related Agents
Commit All
Stage every change in the repo, write a commit message from the actual diff, make one commit, and push. Use wh
Cap Agent
Commit and push workflow. Use when the user says 'cap', 'commit and push', 'ship it', or 'ready to push'. Runs
Hooks
Configures and maintains Lefthook hooks for format/lint, tests, and commit message generation via llmc.