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".
View on GitHubmajesticlabs-dev/majestic-marketplace
majestic-engineer
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/majesticlabs-dev/majestic-marketplace/blob/main/plugins/majestic-engineer/skills/check-ci/SKILL.md -a claude-code --skill check-ciInstallation paths:
.claude/skills/check-ci/# Check CI ## Overview This 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. ## When to Use This Skill Trigger this skill when the user requests: - Checking CI status for a PR - Monitoring CI checks until completion - Waiting for CI to pass before proceeding - Verifying build status - Polling GitHub PR checks with custom intervals or timeouts ## Core Workflow ### 1. Execute CI Polling Run the `check_ci.sh` script to monitor PR checks: ```bash bash scripts/check_ci.sh [PR_NUMBER] [INTERVAL] [TIMEOUT] ``` **Parameters:** - `PR_NUMBER` (optional): PR number to monitor. Auto-detects from current branch if not provided - `INTERVAL` (optional, default: 15): Seconds between polling attempts - `TIMEOUT` (optional, default: 600): Maximum wait time in seconds **Examples:** ```bash # Auto-detect PR from current branch bash scripts/check_ci.sh # Monitor specific PR #123 bash scripts/check_ci.sh 123 # Custom interval (30s) and timeout (15 min) bash scripts/check_ci.sh 123 30 900 ``` ### 2. Interpret Results The script returns three possible outcomes: **✅ Success (exit code 0):** All CI checks passed - Indicate that the PR is green and ready for next steps - Suggest proceeding with merge, review, or deployment **❌ Failure (exit code 1):** One or more CI checks failed - Parse the output to identify specific failing checks - Analyze failure patterns (test failures, lint errors, build issues) - Suggest concrete fixes based on the failure type: - Test failures: Review test output, fix failing tests - Lint errors: Run linter locally, apply fixes - Build failures: Check compilation errors, dependencies - Type errors: Review type definitions, fix type issues **⏰ Timeout (exit code 2):** Polling exceeded timeout limit - Suggest running with longer timeout: `check_ci.sh [PR] [interval] [longer_timeo