Gh CI Investigate
GitHub Actions の CI 失敗を調査するスキル。失敗した run / PR / job の URL(例: https://github.com/OWNER/REPO/actions/runs/RUNID、…/pull/PR、…/job/JOBID)や run_id・PR 番号を貼られて「このCIが失敗している、原因を調査して」「ビルド/テストがコケた、なぜ落ちたか調べて」「workflow が failed、修正案を出して」「job のログを見て」と頼まれたら必ず使う。WebFetch では github.com のログは取れない(PreToolUse hook が差し戻し、HTML しか返らない)ため、gh(`gh run view --log-failed` / `gh run view --job` / `gh pr checks` / `gh api`)で失敗ジョブ・ステップと失敗ステップのログだけを決定論スクリプトで収集し、失敗原因を特定して修正案を提示する。GitHub Actions 以外(GitLab CI 等)や、URL がログではなくソース閲覧目的のときは対象外。GitHub(gh) 前提。`/gh-ci-investigate` で明示起動も可。
Install
/plugin marketplace add yasunori0418/skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add yasunori0418/skills --skill gh-ci-investigategit clone --depth 1 https://github.com/yasunori0418/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/github/gh-ci-investigate ~/.claude/skills/gh-ci-investigatePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# gh-ci-investigate — gh 経由の GitHub Actions 失敗調査 ## このスキルの目的 CI 失敗調査で毎回同じことをする——失敗した run を開き、どのジョブ・ステップが落ちたかを見て、失敗ステップのログから原因を読む——を、決定論スクリプトに寄せて安定させる。 肝は **WebFetch を使わないこと**。github.com への WebFetch は plugin hooks の webfetch-github-guard が差し戻すうえ、通っても Actions 画面の HTML が返るだけでログにならない。失敗ジョブ・ステップと「失敗ステップだけのログ」は `gh` で確実かつ簡潔に取れる。だから run/PR/job の URL を渡された時点で `scripts/gh-ci-investigate.sh` に解決させ、そこから調査に入る(グローバル CLAUDE.md の「GitHub 情報は gh で取得」ルールの具体実装)。 ## 前提 - `gh auth status` でログイン済みであること。private リポジトリのログ取得にはトークンの read 権限が要る。 - 対象は GitHub(github.com / GitHub Enterprise)の **Actions**。GitLab CI 等 gh が扱わない CI は対象外——その場合はこのスキルを使わず該当 CLI を案内する。 - URL がソース閲覧・PR 差分の確認目的(失敗調査でない)なら、無理にこのスキルを通さず通常の gh / Read で足りる。 ## ワークフロー 入力(URL / run_id / #PR / 空)の解釈、run の要約、失敗ログ取得はすべて決定論的なので、gh を手で並べ直さず `scripts/gh-ci-investigate.sh` を使う。`<skill-dir>` はこのファイルのあるディレクトリ。 ### 1. preflight(何が落ちたかを掴む) ```bash bash <skill-dir>/scripts/gh-ci-investigate.sh preflight "<url|run_id|#PR|(空=現在ブランチ最新)>" ``` `=== SECTION ===` 区切りで **対象 repo・認証状態・失敗ジョブとステップ・結論** が出る。ここでまず「どの workflow の・どのジョブの・どのステップが・どの結論(failure / cancelled / timed_out)で落ちたか」をユーザーに提示する。`ERROR:` が出たら(未認証・URL 不正・repo 特定不可など)先にそれを解決する。 PR URL / `#PR` を渡した場合は、その PR の checks 一覧と、失敗している check に対応する run の要約が出る。 ### 2. logs(失敗ステップのログだけ取る) ```bash bash <skill-dir>/scripts/gh-ci-investigate.sh logs "<url|run_id|#PR>" [--job <job_id>] ```
Details
- Skill name
gh-ci-investigate- Repository
- yasunori0418/skills
- Path
skills/github/gh-ci-investigate/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Gh CI Investigate skill do?
GitHub Actions の CI 失敗を調査するスキル。失敗した run / PR / job の URL(例: https://github.com/OWNER/REPO/actions/runs/RUNID、…/pull/PR、…/job/JOBID)や run_id・PR 番号を貼られて「このCIが失敗している、原因を調査して」「ビルド/テストがコケた、なぜ落ちたか調べて」「workflow が failed、修正案を出して」「job のログを見て」と頼まれたら必ず使う。WebFetch では github.com のログは取れない(PreToolUse hook が差し戻し、HTML しか返らない)ため、gh(`gh run view --log-failed` / `gh run view --job` / `gh pr checks` / `gh api`)で失敗ジョブ・ステップと失敗ステップのログだけを決定論スクリプトで収集し、失敗原因を特定して修正案を提示する。GitHub Actions 以外(GitLab CI 等)や、URL がログではなくソース閲覧目的のときは対象外。GitHub(gh) 前提。`/gh-ci-investigate` で明示起動も可。
How do I install the Gh CI Investigate skill?
Claude Code plugin: /plugin marketplace add yasunori0418/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Gh CI Investigate popular?
It lives in yasunori0418/skills, which has 9 GitHub stars and 0 forks.
Related skills
Agent Teams
9yasunori0418/skills
Claude Code の並列エージェント(agent teams・teammate)の後始末と無応答時の打ち切りルール。`name` を付けて Agent を起動するとき、TeamCreate でチームを組むとき、teammate から `idle_notification` が届いたとき、評価ループ等で次のイテレーションのエージェントを起動する前、エージェントの返信が届かないときに参照する。`name` を付けない通常のサブエージェント起動だけなら対象外。
Basic Design
9yasunori0418/skills
spec.md の REQ-# を入力に、機能一覧・モジュール構成・インターフェース・データフローを持つ docs/dev/<対象>/basic-design.md を作成・改訂するスキル。/basic-design <対象名> で明示的に呼び出されたときのみ使用する。
Biz Translate
9yasunori0418/skills
技術的な内容を、技術用語を排したビジネス職向けの平易な説明文に翻訳する。`/biz-translate` と明示的に呼ばれたときのみ実行する。
Census Real Estate
5analyticsariel/tech-in-real-estate
Reference US demographics, household income, and housing-stock data from Census (U.S. Census Bureau, American Community Survey 5-Year Estimates) for real estate investment decisions. Use this skill whenever a user asks about ACS, ACS 5-Year, Census tract data, block-group demographics, median household income, median home value, median gross rent, median owner costs, rent burden, homeownership rate, vacancy rate, housing units, year built, population growth, educational attainment, bachelor's-degree share, labor force participation, B25 housing tables, B19013, B25064, B25077, county-grain dema
Def Done
9yasunori0418/skills
プロジェクトに 1 つの「完成の定義」docs/dev/definition-of-done.md を対話で構築・改訂し、機械判定節と人判定節の二部構成で書き出すスキル。/def-done で明示的に呼び出されたときのみ使用する。
Cohort Analysis
9tarunccet/pm-skills
Perform cohort analysis on user engagement data — retention curves, feature adoption trends, and segment-level insights. Use when analyzing user retention by cohort, studying feature adoption over time, investigating churn patterns, or identifying engagement trends.
Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.