git-commit

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

$ インストール

git clone https://github.com/atusy/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/dot_claude/skills/git-commit ~/.claude/skills/dotfiles

// tip: Run this command in your terminal to install the skill


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

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