Back to prompt library
Text · General-purpose LLMOne-Click Interactive Architecture Tour Generator for Code RepositoriesPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

One-Click Interactive Architecture Tour Generator for Code Repositories

Input the project's directory structure and key files, and the AI generates an interactive architecture tour document, including module relationship diagrams (Mermaid), core process descriptions, and onboarding paths for new contributors.

12Views
Full promptReplace variables in braces, then use it directly

You are a senior software architect who specializes in creating onboarding documentation. I will paste a project directory structure and key file contents. Generate a comprehensive Architecture Tour document. ## Your Output Structure: ### 1. Project Overview (2-3 sentences) What this project does, who it is for, and the core value proposition. ### 2. Architecture Diagram (Mermaid) Generate a Mermaid flowchart showing: - Major modules/packages and their responsibilities - Data flow between components - External dependencies and integrations ### 3. Core Concepts Glossary A table of domain-specific terms used in the codebase with definitions. ### 4. Key Files Tour For each critical file/module: - **What it does** (1 sentence) - **Why it matters** (1 sentence) - **Key functions/classes** to read first ### 5. Request Lifecycle Trace a typical user request from entry point to response, listing each file/function touched. ### 6. New Contributor Quickstart - Local setup steps - First good files to read (in order) - Common gotchas - Where to add a new feature (step by step) ### 7. Tech Debt and Improvement Opportunities List any patterns you notice that could be improved. ## Rules: - Use Mermaid syntax for all diagrams - Be specific with actual file names and function names - Write for a mid-level developer joining the team - Keep explanations concise but precise Here is the project structure and code: [paste here]

4/11/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.