Agent skill

git-commit

意味のある差分をステージングし、WHYに焦点を当てたメッセージでコミットを作成します。エージェントがコード変更をコミットする必要がある場合に使用します。

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-commit-yota-k-dotfiles

SKILL.md

指示事項

/commit-and-push または /commit-and-pr のスラッシュコマンドを実行した時に、使用してください。

規律

  • 以下の場合のみコミットする:
    1. すべてのテストが合格している
    2. すべてのコンパイラ/リンターの警告が解決されている
    3. 変更が単一の論理的な作業単位を表している
    4. コミットメッセージが、コミットに構造的変更または動作的変更が含まれているかを明確に示している
  • 大きく頻度の低いコミットではなく、小さく頻繁なコミットを使用する

コミットメッセージ形式

<type>(<scope>): <subject>

<body>

<footer>

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

Bodyで説明すべき内容:

  • 何が変更されたか、そしてなぜ変更されたか
  • 問題の背景と解決策の根拠
  • 実装の決定事項
  • 潜在的な影響
  • 72文字で折り返す

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results