Loop/Prompt Library / Loops from builders on X
๐ Make every provider behave the same
When your app supports several services that do the same job, one shared test suite checks them all, and a helper fixes any that behave differently.
Use it when: Your app connects to several similar services and each one acts a little differently.
๐ Stops when: Every provider passes the shared tests, or the round limit is hit.
Copy this loop
My app supports these providers: [list]. Write one shared set of tests describing how every provider must behave: [key behaviors]. Run the tests against each provider and show me a table of pass and fail. Then, one provider at a time, fix the failures in its code, not in the shared tests. Re-run all providers after each fix to make sure nothing else broke. Never change the shared tests without asking me. Stop when every provider passes, or after [5] rounds per provider. Show me the final table.
Review every change the agent makes before you keep it. Set a budget or round limit โ the prompt includes one.
Found on X ยท by @atharva_ajit. Prompt rewritten in plain English by FixKit AI.
More loops like this
One useful thing every night
You give the AI a short mission, and each night it picks one task that moves you closer and leaves it for you to check in the morning.
Two watchers keep your agent healthy
Two separate AI helpers read your main agent's logs, find what broke, and must both agree on a fix before it is used.
Weekly skill cleanup
Once a week, the AI grades every saved skill or saved prompt it uses, removes the dead ones, and merges the repeats.
Overnight drafts that learn from results
Each night the AI drafts tomorrow's post from your content plan, and reads your notes about what worked before it writes the next one.
Split the work, keep only what passes
Splits a big job across several AI helpers working side by side, checks each one's work, and keeps only the work that passes.
Practice a website task until it's reliable
The AI tries a website chore, learns from each failed try, and keeps adjusting until it has steps that work every time.
