원클릭으로
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: