Commit

/commitGit

You say /commit and walk away. Claude reads the diff, writes a clear message, stages the right files, and commits. No more writing commit messages at the end of a long session.

Stages changes, drafts a conventional commit message based on what changed and why, and creates the commit. Follows your project's commit style by reading recent git log. Never commits secrets or unrelated files.

When it runs

User types /commit or asks Claude to commit their changes.

Examples

Prompt

/commit

Outcome

Staged all modified files, wrote commit message 'feat: add /skills page with category filters and detail pages', committed.

Prompt

commit this but skip the test files

Outcome

Staged only src/ changes, created commit 'fix: correct API response shape for /api/v1/skills'.

Install

Already built in to Claude Code. Type /commit.
gitcommitsworkflow

Machine-Readable

This skill is available as structured JSON via the API.

GET /api/v1/skills/commit

Do-Nothing Score

Find out how close you are to Ghost CEO.

Take the quiz
← Back to Skill LibraryUpdated 2026-03-18