GH Fix CI
Use this skill to diagnose failing GitHub Actions checks on a PR and propose a fix plan.
Workflow
- •Verify auth:
- •
gh auth status -h github.com
- •
- •Identify the PR:
- •
gh pr view --json number,title,url - •If no PR is found, ask for the PR URL.
- •
- •List checks:
- •
gh pr checks
- •
- •For GitHub Actions failures, fetch logs:
- •
gh run view <run-id> --log - •If you only have a job id:
gh run view --job <job-id> --log
- •
- •Summarize the root cause and impacted files.
- •Propose a fix plan and get user approval before changing code.
- •For external checks (non-GitHub Actions), report the details URL and mark as out of scope.
Notes
- •Do not rerun CI unless the user asks.
- •Keep the failure summary concise and actionable.