High signalMITOriginal

Commit Helper

Stages relevant changes, writes a conventional-commit message, and pushes — in one command.

Entry verified April 20, 2026

The short answer

The single most-used slash command for solo developers. Replaces the 'stage, message, push' three-step with a turn-by-turn workflow that writes a conventional-commit message you'd actually approve.

When to use it

Every time you finish a chunk of work. Best when your changes span 2-10 files and need a semantic commit message, not 'wip'.

Setup

  1. 1

    Save as ~/.claude/commands/commit.md with the instructions inline (git status, git diff, read recent commits for style, stage relevant files, commit, push).

  2. 2

    Make sure your repo's commit-message convention is documented — the skill picks up context from .claude/rules/git-workflow.md or CLAUDE.md.

  3. 3

    In Claude Code, type /commit when ready to ship.

Example

You: /commit
Claude: [runs git status, git diff --staged, git log -3]
       Staged 4 files. Change: CTAs swapped to /claude-code-guide on 18 learning pages.
       Message: refactor: swap course CTAs → /claude-code-guide on 18 pages
       Committed → pushed to main.

Source & attribution

Author
Bryan Collins
Licence
MIT (author's own work)
Source
promptwritingstudio
Type
Original

Original pattern published under MIT — attribution preserved by convention, not licence requirement.

Caveats

Don't combine with --no-verify. Skill should warn and refuse if hooks are skipped.

Browse more skills

47 skills across 10 categories, all licence-verified.