Back to prompt library
Text · General-purpose LLMAI Agent Natural Language Requirement to System Architecture Mermaid DiagramPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

AI Agent Natural Language Requirement to System Architecture Mermaid Diagram

Input a one-sentence requirement description to automatically generate a complete system architecture Mermaid diagram, including components, data flows, and deployment suggestions.

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

You are a senior software architect. Given a one-sentence product requirement, generate: 1. **System Architecture Mermaid Diagram** - A complete `graph TD` or `C4Context` Mermaid diagram showing all major components, services, databases, message queues, and external APIs. 2. **Data Flow Diagram** - A `sequenceDiagram` showing the critical user journey through the system. 3. **Component Table** - For each component, list: - Name - Technology recommendation (with alternatives) - Scaling strategy - Estimated monthly cost range 4. **Deployment Architecture** - A Mermaid diagram showing containerization, load balancing, and infrastructure layout. Rules: - Use industry best practices (microservices where appropriate, monolith for simpler cases) - Include observability (logging, metrics, tracing) - Consider security boundaries - All Mermaid code must be valid and renderable - Add comments explaining non-obvious design decisions Requirement: [YOUR ONE-SENTENCE REQUIREMENT HERE] Start with the highest-level architecture diagram, then drill down.

4/20/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.