| name | monitor-pr |
| description | Monitor the CI checks status of a Pull Request on GitHub, parse logs on failure, and address any non-passing checks. |
Monitor PR Skill
Standardized procedure to track pull request CI checks on GitHub and address any test or linting failures.
When to use this skill
- Use this skill after raising a pull request (e.g., using
raise-pr), or when the user requests to check, monitor, or track the CI/test status of an active PR.
How to use it
Steps
-
Check CI checks status:
gh pr checks
-
Wait for completion (if pending):
If any checks are marked as pending:
- Set a one-shot wakeup timer using the
schedule tool (e.g., 120 seconds).
- Stop calling tools and yield back control while the timer is running.
- Do NOT run a shell
sleep loop or poll continuously.
-
Handle successful runs:
If all checks pass, confirm to the user that CI is green and the PR is ready for review.
-
Diagnose and fix failures:
If any check fails: