HitkarMiglani/nl2sql_agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app that lets a non technical user ask questions in plain English and get answers from a read only SQLite database.

I want it to translate the question into SQL, run the query safely, and then show the results in a clean dashboard with the SQL, a data table, a simple chart when it makes sense, and a short business friendly summary. If the question is unclear or the schema does not match, it should give a helpful message instead of breaking. It should also handle basic retry and self correction when the SQL fails.

Please include a small demo database for an HR style dataset, a query history view, a status indicator while it is working, and a way to edit and rerun the SQL. Make it easy to run locally, and if possible make it work in Docker too. If you need to look up current docs or best practices online while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab