Skip to content

docs(git-commit): スキルが自動発火しやすいよう description を強化する#371

Merged
rito528 merged 1 commit into
mainfrom
improve/git-commit-skill-description
May 19, 2026
Merged

docs(git-commit): スキルが自動発火しやすいよう description を強化する#371
rito528 merged 1 commit into
mainfrom
improve/git-commit-skill-description

Conversation

@rito528
Copy link
Copy Markdown
Owner

@rito528 rito528 commented May 19, 2026

概要

  • config/agents/skills/git-commit/SKILL.md の description が「何をするスキルか」しか書かれておらず、エージェントの内蔵 commit 手順が優先されてスキルが自動発火しない事象があった
  • 発火フレーズ、発火タイミング、内蔵手順より優先する旨、git commit 直前の必須参照、を明記して description を書き直す
  • 特定エージェント名(Claude Code 等)を出さず、すべての対応エージェントに通る汎用表現に統一する

確認事項

  • description テキストのみの変更で、スキル本体の手順や home.nix などの配備定義に影響しないことを確認
  • home-manager 経由で ~/.claude/skills/git-commit/SKILL.md および ~/.agents/skills/git-commit/SKILL.md に反映される配置になっているため、ビルドや switch は不要と判断

補足

  • 効果(実際に自動発火頻度が上がるか)は次回以降のコミット時に観測する。期待通りにならなければ empirical-prompt-tuning で更に詰める想定

🤖 Generated with Claude Code

エージェントの内蔵 commit 手順が優先され git-commit スキルが自動起動しない
ケースがあったため、発火フレーズ・タイミング・優先度・参照タイミングを明示し、
特定エージェント名に依存しない汎用表現で description を書き直す。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@rito528 rito528 merged commit 75e8f86 into main May 19, 2026
3 checks passed
@rito528 rito528 deleted the improve/git-commit-skill-description branch May 19, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant