npx claudepluginhub sean-sunagaku/claude-code-plugin --plugin ci-fixThis skill uses the workspace's default tool permissions.
CI 失敗の検出 → ログ取得 → 修正 → push → 再検証のループを自動実行する。
Diagnoses and fixes GitHub Actions CI failures in pull requests by fetching job logs, identifying root causes like build or test errors, and proposing targeted code changes.
Monitors GitHub CI workflows with gh CLI, fetches failure logs, diagnoses root causes including flaky tests, fixes issues, and adds systematic preventions. Useful for failing checks, broken builds, or tests.
Inspects GitHub PR checks using gh CLI, fetches failing GitHub Actions logs, summarizes root causes, proposes fix plans, and implements code changes after user approval. Ideal for debugging PR CI/CD failures.
Share bugs, ideas, or general feedback.
CI 失敗の検出 → ログ取得 → 修正 → push → 再検証のループを自動実行する。
1. check-ci.sh で CI 状態を確認
2. 失敗あり → ログを分析して原因特定
3. コードを修正
4. commit & push
5. wait-ci.sh で CI 完了を待機
6. まだ失敗 → 1 に戻る
| Script | 用途 |
|---|---|
scripts/check-ci.sh [PR番号] | CI 状態確認 + 失敗ログ取得 |
scripts/wait-ci.sh [PR番号] [最大秒数] | CI 完了まで待機(デフォルト 300s) |
PR 番号省略時は現在のブランチの PR を自動検出する。
bash <skill-path>/scripts/check-ci.sh
出力の RESULT: 行で分岐:
all_passed → 完了。ユーザーに報告して終了pending → wait-ci.sh で待機してから再度 check-ci.shfailed → Step 2 へcheck-ci.sh の出力に失敗ログが含まれる。ログが不十分な場合:
gh run view <run-id> --log-failed
エラーの種類を特定:
分析結果に基づきコードを修正する。修正前に関連ファイルを読んで変更の影響を理解する。
git add <修正ファイル>
git commit -m "fix: <修正内容の要約>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
git push
bash <skill-path>/scripts/wait-ci.sh
all_passed → 完了。ユーザーに報告failed → Step 1 に戻る(最大 3 回まで)timeout → check-ci.sh で現状を確認してユーザーに報告修正→再検証のループは 最大 3 回 まで。3 回で解決しない場合はユーザーに状況を報告して判断を仰ぐ。