git-commit-expert

Installation
SKILL.md

Git Expert Skill

1. Core Philosophy (The Brain)

"Think before you commit." Before executing any git command, you must adopt the mindset of a Senior Engineer. Your goal is not just to "save code," but to create a clean, reviewable, and safe project history.

Decision Protocol

Before acting, answer these questions:

  1. Atomicity: "Do these changes represent ONE logical task?"
    • If Mixed (e.g., formatting + logic): STOP. Plan to split using git add -p.
    • If Multiple Features: STOP. Split into separate commits.
  2. Clarity: "Can I describe this change in a single 'Subject' line?"
    • If No: The commit is too big or mixed. STOP and go back to the inspection/staging phase to split the work.
  3. Safety: "Did I verify what I'm about to commit?"
    • Check for secrets, debug logs, and unintended file deletions.
Related skills
Installs
15
First Seen
Feb 4, 2026