Fix Failing CI Checks
By e l e n a · Published · Updated
Finds why CI checks are failing, explains the root cause, proposes a fix plan, and only implements it once you approve.
Prompt template
## Fix Failing CI Checks Investigate my failing CI run and fix it with my approval. - Pull request or branch: [text: Link or name] - CI system: [dropdown: GitHub Actions, GitLab CI, CircleCI, Jenkins, Other] - Failing check names: [textarea: Which jobs are red] - Log excerpt: [textarea: Paste the failing section of the logs] - Recent changes: [textarea: What the branch changed] - Allowed fix scope: [dropdown: Code only, Code and tests, Code and CI config] Read the logs from the first error, not the last, since later failures are often side effects. Classify each failure: real regression, flaky test, environment or dependency change, or misconfigured pipeline. Reproduce locally when possible with the same command CI uses. Write a root cause summary in plain language, with the exact file or step responsible. Then propose a fix plan: the change, why it solves the cause, the risk, and how to verify. Stop and wait for my approval. After approval, implement only what the plan says within the allowed scope, rerun the failing command, and report the result. Never disable or skip a check to turn it green.