Loading...
Loading...
Diagnose CI failures for a PR using the GitHub CLI, extract error logs, and generate a plan to fix them. Use when the user asks to check CI status, pull CI issues, triage test failures, or investigate PR build failures.
npx skill4agent add warpdotdev/common-skills diagnose-ci-failures# Get current branch
git branch --show-current
# Check for PR
gh --no-pager pr view <branch-name> --json number,title,url,statecreate-prgh pr view <branch-name> --json statusCheckRollupgh run view <run-id> --log-failedcargo fmtcargo clippycreate_planfix-errorsfix-errorsFormatting + Clippy (MacOS)Formatting + Clippy (Linux)Run MacOS testsRun Linux testsRun Windows testsCheck CI resultsWASM buildgh --no-pager pr view --json number,title,state,statusCheckRollupgh run view 12345678 --log-failedgh run view 12345678 --log-failed 2>&1 | grep -A 5 "error:"