This skill monitors PR CI checks by polling GitHub status until completion or timeout. Use when the user requests to check CI status, wait for CI to pass, monitor PR checks, or verify build status. Applicable for queries like "check my CI", "wait for CI to pass", "is my PR green", or "monitor CI checks".
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/check_ci.shThis skill provides automated monitoring of GitHub Pull Request CI checks. It polls PR check status at regular intervals and reports when checks pass, fail, or timeout, enabling continuous integration workflow automation.
Trigger this skill when the user requests:
Run the check_ci.sh script (located in this skill's scripts/ folder) to monitor PR checks:
./scripts/check_ci.sh [PR_NUMBER] [INTERVAL] [TIMEOUT]
Parameters:
PR_NUMBER (optional): PR number to monitor. Auto-detects from current branch if not providedINTERVAL (optional, default: 15): Seconds between polling attemptsTIMEOUT (optional, default: 600): Maximum wait time in secondsExamples:
# Auto-detect PR from current branch
./scripts/check_ci.sh
# Monitor specific PR #123
./scripts/check_ci.sh 123
# Custom interval (30s) and timeout (15 min)
./scripts/check_ci.sh 123 30 900
The script returns three possible outcomes:
✅ Success (exit code 0): All CI checks passed
❌ Failure (exit code 1): One or more CI checks failed
⏰ Timeout (exit code 2): Polling exceeded timeout limit
check_ci.sh [PR] [interval] [longer_timeout]Structure the response as follows:
## CI Polling Results for PR #[number]
### Final Status
[✅ All checks passed / ❌ Checks failed / ⏰ Polling timed out]
### Polling Summary
- Duration: [time]
- Final state: [description]
- Specific failures: [if applicable]
### Next Steps
[Specific actions based on results]
For PR auto-detection to work:
gh) must be authenticatedNo PR found:
gh pr viewGitHub CLI issues:
gh is installed and authenticatedThis skill complements:
Bash script that performs the actual CI polling. The script:
gh pr checks at configurable intervalsThe script can be executed directly without loading into context, making it token-efficient for repeated CI monitoring operations.