git-commit

Installation
SKILL.md

Git Commit

Overview

Create atomic commits by staging the right files, analyzing the staged diff, composing a conventional commit message, and optionally pushing or using Graphite.

Workflow

0) Pre-flight checks

  • Verify inside a git worktree: git rev-parse --is-inside-work-tree
  • Verify not detached: git symbolic-ref HEAD
  • Verify not in rebase/merge/cherry-pick state: check for .git/rebase-merge, .git/MERGE_HEAD, .git/CHERRY_PICK_HEAD
  • If any check fails, stop with a clear error and suggested fix.

1) Collect context

Related skills

More from paulrberg/dot-claude

Installs
2
GitHub Stars
73
First Seen
Jan 24, 2026