wait-for-ci
Installation
SKILL.md
Wait for CI (GitHub Actions)
When waiting for a GitHub Actions run to complete, use gh run watch with flags that minimise stdout and provide a checkable exit code. Do not run plain gh run watch <run-id>; it polls every 3 seconds and prints full pipeline status each time, which wastes context.
Command
gh run watch <run-id> --exit-status --compact
--exit-status: Exits with non-zero status if the run fails. Use the command’s exit code to decide success/failure.--compact: Shows only relevant or failed steps instead of every step, reducing output size.
Optional: reduce poll frequency
To cut down output further, increase the refresh interval (default 3 seconds):