FixKit AI

Loop/Prompt Library / Build and ship it yourself

๐Ÿ’ฌ AI prompt: Fix flaky tests and broken builds

My CI keeps going red and I waste hours figuring out why.

Copy this prompt

Here are logs from a failing CI run and the last passing run: [logs]. Classify each failure as real bug, flaky test, or environment issue, with evidence. For flaky tests, rerun them 5 times and report pass rate. Propose fixes on a new branch. Don't disable tests, skip checks or merge โ€” stop after opening the branch.

How to use it

  1. Open Claude (or Claude Code in your project folder).
  2. Paste the prompt and fill in every [bracket].
  3. Read what it changed or wrote before you keep it.

Not medical, legal or financial advice. The AI drafts; you decide and you press send.

Full recipe โ†’

More prompts like this

Build an app by describing it

I want to describe an app in plain English and get something working.

An AI coding agent for your real codebase

I already have code and want an agent that edits, runs and fixes it.

Take payments (cards or crypto)

How do I get paid for the thing I built?

Refactor code safely with an AI agent

This code works but it's a mess, and I'm scared to touch it.

Turn a bug report into a tested fix

A user reported a bug and I don't know where to start.

Give your AI agent a memory that lasts

My agent forgets everything between sessions and I keep re-explaining my project.