genericmilk/docudoodle — reverse-engineered prompt
Reverse engineered prompt
Build me a PHP tool for Laravel that can look through an existing codebase and automatically write clear Markdown documentation for it using AI. I want it to be useful for old projects where nobody really knows what the code does anymore.
It should have a simple command I can run from the terminal, then it scans the folders I choose, skips folders like vendor, tests, cache, and node modules, and creates documentation files that explain what each PHP or YAML file is doing. It should not rewrite docs that already exist unless the source file changed.
Please include smart caching so repeat runs are cheaper and faster, and clean up docs when the original source file is deleted. Let me configure the AI provider, with support for OpenAI, Claude, Gemini, Azure OpenAI, and local Ollama. Also let me choose the model, token limit, output folder, file types, and skipped directories.
Add tests and a clear README with install, setup, and usage instructions.
Want more depth? Deep Reverse