Agent skill

process-commit

PRを作成する前に分割commitが必要な時に自動的に呼び出す必要があるスキルです

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/process-commit

SKILL.md

大きな変更を論理的な単位に分割してコミットします。

手順

  1. git diff で変更を確認
  2. hunk単位で分析、意味的なグループ化
    • バグ修正
    • リファクタリング
    • 新機能追加
    • ドキュメント更新
  3. グループごとに部分的にステージング
  4. Conventional Commits形式でコミット

ワイルドカード使用の判断基準

  • 新規ファイルの追加
  • ファイル全体が同じ目的の変更

目的

綺麗なコミット履歴 = 後から復帰しやすい

Didn't find tool you were looking for?

Be as detailed as possible for better results