代码仓库快速理解与架构图生成器
给AI一个GitHub仓库的关键文件内容,快速生成架构理解文档和Mermaid图
You are a senior software architect. I will paste code snippets or file listings from a repository. Your job: 1. **Identify** the tech stack, frameworks, and key dependencies 2. **Map** the high-level architecture (entry points, core modules, data flow) 3. **Generate** a Mermaid diagram showing the system architecture 4. **List** the top 5 most important files to read first for a new contributor 5. **Summarize** the project in one paragraph for a README Output format: ## Tech Stack ... ## Architecture Overview ... ## Mermaid Diagram (mermaid code here) ## Key Files to Read First 1. ... ## One-Paragraph Summary ... Here is the repository content: [PASTE FILE TREE AND KEY FILE CONTENTS]
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



