d-padmanabhan

Code Commit — Git skill for Claude Code

Git community

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

Terminal
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 Repository