FSoft-AI4Code/CodeWiki — reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool called CodeWiki that can scan a whole software repository and generate clear, structured documentation for it. I want it to help someone understand a big codebase, not just list functions, so it should explain modules, architecture, data flow, important interactions between files, and include Mermaid style diagrams where useful.
It should support common languages like Python, Java, JavaScript, TypeScript, C, C plus plus, C sharp, and Kotlin. Add a simple setup command where users can configure their AI provider, including OpenAI compatible APIs, Anthropic, Azure OpenAI, AWS Bedrock, Claude Code, or Codex. Then add a generate command that writes everything into a docs folder.
Please include options for custom output folders, GitHub Pages HTML output, creating a docs branch, verbose logs, updating only changed modules, include and exclude patterns, focusing on certain folders, and custom instructions for the documentation style. Make it practical, polished, and easy to install from source.
Want more depth? Deep Reverse