AIniverse Get the App

CI Failure Watcher

Automation by loops! by elorm

Poll CI on an interval, investigate failures when checks go red, and push fixes until green.

Prompt

Step 1 — Check CI status
Check the latest CI run for the current branch using gh CLI.

Check: `gh run list --branch $(git branch --show-current) --limit 1`

Step 2 — Investigate failure
If CI failed, read logs, identify the root cause, and apply the smallest fix.

Step 3 — Verify locally
Run the failing CI step locally before pushing again.

Step 4 — Repeat until done
Repeat the steps above until: Latest CI run conclusion is success

Check with: `gh run list --branch $(git branch --show-current) --limit 1 --json conclusion -q '.[0].conclusion'`

Stop after 12 iterations and report what is blocking.
Platforms
CLAUDE

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Automation prompts

Security Audit Weekly

Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.

Knip Until Clean

Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.

Ship PR Until Green

Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.

Ralph Story Executor

Fresh-context loop: pick one incomplete story from prd.json, implement it, run backpressure checks, commit, and updat...