commit

Installation
SKILL.md

Git Commit Command

Create atomic git commits following Conventional Commits.

Flow

  1. Check state: git status --porcelain

    • Empty → STOP, report "No changes to commit"
    • Merge conflict markers → STOP, report conflict
  2. Verify .gitignore excludes: secrets/.env, build artifacts, OS files (.DS_Store), IDE configs

  3. Stage: git add -A (or specific files for atomic commits)

  4. Analyze: git diff --cached --stat and git diff --cached

    • If unrelated changes exist, split into separate commits via git reset HEAD <file>
  5. Commit: Use Conventional Commits format

Related skills
Installs
16
First Seen
Feb 1, 2026