Install any skill in seconds. Free to start, no credit card required.
Get Started Free →modu-ai/moai-workflow-ci-loop
Unified CI watch + auto-fix loop skill. Polls gh pr checks after /moai sync PR creation, classifies required vs auxiliary failures, attempts safe automated patches (max 3 iterations), and escalates semantic failures to the user.
Passed 16 of 19 test cases with the skill, and 6 of 19 without it.
and 14 more in the full report
12 fixed6 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
What git commit message pattern should be used when pushing an auto-fix patch for an import-order failure on iteration 2 of PR #63?
| Checked | Without skill | With skill |
|---|---|---|
| Formats commit message as fix(ci): auto-fix <classification> failure (iter <N>) | Missed | Passed |
The instructions your model reads when the skill loads.
moai-workflow-ci-loop)Unified CI watch + auto-fix loop. The orchestrator invokes this skill after /moai sync
Phase 4 (gh pr create) returns a PR number. The skill polls required checks, classifies
failures into mechanical vs semantic, attempts safe patches up to 3 iterations, and
escalates semantic failures via AskUserQuestion.
Trigger: /moai sync Phase 4 PR-create returns a PR number, or an existing PR needs
CI monitoring.
Two phases, one skill:
gh pr checks every 30s, classify required vs auxiliary via
.github/required-checks.yml SSoT; exit on green/fail/timeout.One-liner:
MOAI_CIWATCH_GH=gh sh scripts/ci-watch/run.sh <PR_NUMBER> <BRANCH>
Exit codes:
0 — all required passed → ready-to-merge AskUserQuestion1 — fatal error → surface remediation2 — required failure → JSON handoff → auto-fix phase3 — 30-min hard timeout → blocker message, return controlHARD invariants:
manager-develop (cycle_type=autofix) subagent MUST NOT call it.--force, -f, --force-with-lease all banned)..env*, credentials, .claude/settings*.json, .github/required-checks.yml,
scripts/ci-watch/run.sh.test cases passed, vs 6 / 19 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.