BuilderIO/micro-agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a small command line tool that helps an AI write and fix code for me.

I want to run it from the terminal, give it a task in plain English, and have it create a test first, then keep improving the code until the test passes. It should feel interactive, ask a few questions when needed, and show me what it’s doing as it works. I also want a mode where I can point it at one file and a test command, and it will keep trying until the checks pass.

If it can also do a simple visual matching mode for a local page or component, that would be great, so I can compare the rendered result against a screenshot and nudge it toward the design. Please make it support common AI providers through an API key and let me set the model from config.

Keep it focused and lightweight, since this is meant to be a micro agent, not a full codebase manager.