ワンクリックで
github-ci-failure-diagnosis
Systematically diagnose GitHub PR CI check failures using gh CLI with a simple 3-step workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Systematically diagnose GitHub PR CI check failures using gh CLI with a simple 3-step workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Orchestrate Birdhouse child agents to investigate PR review feedback in parallel, classify it as strengthened, weakened, or invalidated, then address approved items serially with fixes or threaded replies.
Create isolated working directories using git worktrees without affecting the main workspace. Use when you want to use worktree, git worktree, worktree workflow, isolated development, work in worktree, create worktree, or worktree best practices.
Reply to GitHub PR review comments as threaded responses using the GitHub API replies endpoint.
Generate release notes from git branch commit history and analyze changes. Use when you want to generate release notes, prepare release notes, prep for a PR, find what changed in this branch, or get branch change summary.
Create GitHub pull requests using gh CLI with proper formatting for multi-line descriptions. Use when you want to create a pr, submit a pr, pull request, create a pull request, submit a pull request, open a pr, or new pr.
Core software development principles: code for readability and changeability, apply DRY wisely, test for confidence, and crash loudly on unexpected conditions.
| name | github-ci-failure-diagnosis |
| description | Systematically diagnose GitHub PR CI check failures using gh CLI with a simple 3-step workflow. |
| trigger_phrases | ["github checks failing","diagnose github CI failures","investigate CI failures"] |
| tags | ["git","github","ci"] |
When asked to investigate CI failures on a GitHub pull request, use this simple workflow with the GitHub CLI.
gh is installed and authenticatedUse gh pr checks to get a quick visual summary of all check statuses:
gh pr checks <PR_NUMBER> --repo <OWNER>/<REPO>
What this shows:
Start here. This is often enough to spot a formatter, lint, or test failure immediately.
If you need workflow run ids or more structured detail, use:
gh pr view <PR_NUMBER> --repo <OWNER>/<REPO> --json statusCheckRollup
What this shows:
FAILURE, SUCCESS, and SKIPPEDKey fields to look for:
conclusion: FAILUREdetailsUrlnameIf more than one check failed, list them and work through the most actionable one first.
Once you have the run id for the failed check, get the logs:
gh run view <RUN_ID> --repo <OWNER>/<REPO> --log
What this shows:
Look for the first meaningful error. Later errors are often cascading noise.
# 1. Quick overview
gh pr checks 1886 --repo myorg/myrepo
# 2. Get detailed status if needed
gh pr view 1886 --repo myorg/myrepo --json statusCheckRollup
# 3. Fetch logs for a failed run
gh run view 19084697022 --repo myorg/myrepo --log
When you report back, include: