xKarinSan/Code2Docs — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python CLI called Code2Docs that can look at a codebase and create useful documentation from it.

I want someone to run it on a project folder and get plain English docs for functions and methods, API routes, database models, and an auto generated README with the project purpose, tech stack, and setup steps. It should also be able to create a simple architecture diagram or flow overview so people can understand how the project fits together.

Please make it feel practical for solo developers and small teams who hate writing docs. Keep the commands simple, show progress while it scans files, and save the generated docs into a clear output folder. Let the user provide whatever AI key or settings are needed through environment variables or a config file.

Use the existing repo as the starting point and make the CLI actually runnable with setup instructions and basic examples. Look up current docs online if you need to.

Want more depth? Deep Reverse