Help us improve
Share bugs, ideas, or general feedback.
From shiiman-github
GitHub Actions のワークフロー実行エラーを調査し、原因を特定して解決策を提案する。「Actions エラー」「ワークフロー失敗」「CI が落ちた」「ビルド失敗」「テスト失敗」「Actions を調べて」「CI のエラーを見て」などで起動。失敗したジョブのログを分析し、具体的な修正方法を提示。
npx claudepluginhub shiiman/claude-code-plugins --plugin shiiman-githubHow this skill is triggered — by the user, by Claude, or both
Slash command
/shiiman-github:actions-debugThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
GitHub Actions のワークフロー実行エラーを調査し、原因を特定して解決策を提案します。
Inspects GitHub Actions workflow runs using gh CLI: lists runs, checks status, analyzes logs, debugs failures, reruns jobs. Use for CI/CD troubleshooting.
Monitors GitHub Actions workflow runs, identifies failing jobs, extracts error logs, and summarizes diagnostics. Useful for checking CI status after pushes or investigating failures.
Share bugs, ideas, or general feedback.
GitHub Actions のワークフロー実行エラーを調査し、原因を特定して解決策を提案します。
$ARGUMENTS に --help が含まれる場合、以下を表示して終了:
/shiiman-github:actions-debug - GitHub Actions エラー調査
概要:
GitHub Actions のワークフロー実行エラーを調査する。
失敗ジョブの特定、ログ取得、原因分析、修正提案を実行。
使用方法:
/shiiman-github:actions-debug [run番号] [オプション]
オプション:
--help このヘルプを表示
例:
/shiiman-github:actions-debug # 最新の失敗 run を調査
/shiiman-github:actions-debug 12345678901 # 指定 run 番号を調査
$ARGUMENTS に run 番号が指定されている場合: その run を調査# 最新の失敗 run を取得
gh run list --status failure --limit 1 --json databaseId --jq '.[0].databaseId'
# 特定の PR に関連する Run を確認
gh pr checks {pr番号}
gh run view {run_id}
# 失敗したジョブのみ抽出
gh run view {run_id} --json jobs --jq '.jobs[] | select(.conclusion == "failure") | {name, conclusion}'
# 失敗したステップのログを取得
gh run view {run_id} --log-failed
ログから以下を特定:
エラーパターンに基づいて修正を提案:
gh run view {run_id} --log-failed | grep -A 10 "FAIL"
対処法:
gh run view {run_id} --log-failed | grep -A 5 "error"
対処法:
gh run view {run_id} --log-failed | grep -A 5 "npm ERR!"
対処法:
package-lock.json を更新対処法:
## GitHub Actions エラー調査結果
**Run ID**: {run_id}
**ワークフロー**: {workflow_name}
**ステータス**: ❌ failure
### 失敗したジョブ
| ジョブ | ステップ | 原因 |
|--------|----------|------|
| test | Run tests | テスト失敗 |
### エラー詳細
{エラーログの抜粋}
### 修正提案
1. {具体的な修正方法}
### 参考コマンド
{ローカルでの再現コマンド}