Agent skill
git-commit
意味のある差分をステージングし、WHYに焦点を当てたメッセージでコミットを作成します。エージェントがコード変更をコミットする必要がある場合に使用します。
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 のスラッシュコマンドを実行した時に、使用してください。
規律
- 以下の場合のみコミットする:
- すべてのテストが合格している
- すべてのコンパイラ/リンターの警告が解決されている
- 変更が単一の論理的な作業単位を表している
- コミットメッセージが、コミットに構造的変更または動作的変更が含まれているかを明確に示している
- 大きく頻度の低いコミットではなく、小さく頻繁なコミットを使用する
コミットメッセージ形式
<type>(<scope>): <subject>
<body>
<footer>
Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
Bodyで説明すべき内容:
- 何が変更されたか、そしてなぜ変更されたか
- 問題の背景と解決策の根拠
- 実装の決定事項
- 潜在的な影響
- 72文字で折り返す
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?