How this skill is triggered — by the user, by Claude, or both
Slash command
/him0-git-ops:auto-fixThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
/auto-fix # CI 失敗とレビューコメントを1回修正
/auto-fix --ci-only # CI 失敗のみ対象
/auto-fix --reviews-only # レビューコメントのみ対象
/auto-fix --watch # /loop で5分間隔の継続監視モード
--watch または -w が指定された場合、/loop 5m /him0-git-ops:auto-fix を呼び出して継続監視モードに入る。以降のステップは実行しない。
以下のコマンドを並列実行:
gh pr view --json number,headRefName,state,url で現在のブランチに紐づく PR を確認git status でワーキングツリーがクリーンか確認PR が見つからなければ停止してユーザーに通知する。
以下のコマンドを並列実行:
gh pr checks で CI チェックステータスを取得gh api repos/{owner}/{repo}/pulls/{number}/comments でインラインレビューコメントを取得gh pr view --json reviews,comments で PR レベルのコメントを取得結果を分類:
全チェック通過 & 未対応コメントなし → 成功を報告して終了。
CI チェックが pending 中 → "CI 実行中" と報告して終了。次の /loop で再チェックされる。
--reviews-only の場合はスキップ)失敗したチェックごとに:
gh pr checks --json name,state,link から run ID を取得gh run view <run-id> --log-failed で失敗ログを取得--ci-only の場合はスキップ)未対応のレビューコメントごとに:
/him0-git-ops:commit --push を呼び出して修正をコミット&プッシュする。
修正内容のサマリーを報告:
npx claudepluginhub him0/him0-claude-marketplace --plugin him0-git-opsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.