What problem does it solve?
After a pull request is created, developers waste time manually polling CI status and re-running trivial fixes. This Skill automates the watch-and-fix loop: it monitors required GitHub checks, classifies failures as mechanical or semantic, and applies safe patches within strict iteration limits.
Core Features & Use Cases
- CI Watch Loop: Polls
gh pr checks every 30 seconds against the .github/required-checks.yml source of truth, distinguishing required from auxiliary failures, with a 30-minute hard timeout.
- Bounded Auto-Fix: On required-check failure, runs up to 3 patch iterations via a diagnosis subagent, committing each fix as a new commit (force-push prohibited) and escalating semantic failures immediately.
- Use Case: After
/moai sync creates a PR, the skill watches CI, detects a gofmt failure, applies the formatting fix automatically, pushes a new commit, and resumes watching until all required checks pass.
Quick Start
Ask the AI to watch the CI checks for the current pull request and automatically fix any mechanical failures that appear.