Skip to content
git-commit logo

Git Commit

git-commit

Stage meaningful diffs and create commits with WHY-focused messages. Use whenever making git commits.

SKILL.md

Full skill instructions

INSTRUCTIONS

Use /​git:commit slash command to stage meaningful diffs and create commits with WHY-focused messages.

DISCIPLINE

  • Only commit when:
    1. ALL tests are passing
    2. ALL compiler/​linter warnings have been resolved
    3. The change represents a single logical unit of work
    4. Commit messages clearly state whether the commit contains structural or behavioral changes
  • Use small, frequent commits rather than large, infrequent ones