Generate Software Architecture Diagrams with AI
Generate professional software architecture diagrams in Mermaid, PlantUML or D2 from a functional description of your system.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Tu es un architecte logiciel senior spécialisé en modélisation et documentation technique. Génère un diagramme d'architecture pour le système suivant :
Projet : [NOM_DU_PROJET]
Description fonctionnelle : [DESCRIPTION_DU_SYSTEME]
Type de diagramme souhaité : [TYPE_DIAGRAMME : diagramme de composants / diagramme de séquence / diagramme C4 (Context, Container, Component) / diagramme de déploiement / diagramme de flux de données]
Format de sortie : [FORMAT : Mermaid / PlantUML / ASCII art / D2]
Niveau de détail : [NIVEAU : vue d'ensemble / détaillé / exhaustif]
Consignes :
- Identifie les composants principaux du système, leurs responsabilités et leurs interactions.
- Représente clairement les flux de données entre les composants (protocoles, formats).
- Distingue les services internes des services externes (APIs tierces, bases de données, files de messages).
- Ajoute une légende expliquant les symboles et conventions utilisés.
- Sous le diagramme, fournis un tableau récapitulatif avec : nom du composant, technologie suggérée, rôle, et dépendances.
- Si le type choisi est C4, respecte strictement les niveaux Context → Container → Component.
- Propose une version alternative simplifiée du diagramme pour une présentation non technique.
Le diagramme doit être copiable directement dans un fichier pour rendu immédiat.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
<p>This prompt transforms a functional description of your project into a structured, immediately usable architecture diagram. It builds on modeling best practices (notably Simon Brown's <strong>C4 Model</strong>) to produce clear representations at different levels of granularity.</p><p>To use it effectively, describe your system functionally rather than technically: who are the actors, the main features, the external integrations. The AI will propose a coherent architecture. Choose the <strong>output format</strong> suited to your tools: Mermaid integrates natively in GitHub, GitLab and Notion, PlantUML is ideal for Java projects, and D2 offers modern rendering with automatic layout.</p><p>The summary table generated below the diagram provides a solid foundation for your <strong>technical documentation</strong> or ADRs (Architecture Decision Records). The simplified version allows communicating with non-technical stakeholders without losing precision.</p>
Use Cases
Expected Output
A complete architecture diagram in the chosen format (Mermaid, PlantUML, D2 or ASCII), ready to be visually rendered, accompanied by a legend, a component summary table and a simplified version for non-technical communication.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pour des suggestions plus réalistes, précisez les technologies déjà en place et les contraintes (cloud, sécurité, budget). Si le système est complexe, demandez d'abord un diagramme C4 niveau Context, puis affinez par des allers-retours. Enfin, exigez un glossaire des acronymes ou un texte explicatif associé au diagramme, surtout pour la présentation non technique.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Generate Mocks and Fixtures for Your Automated Tests
A prompt to automatically generate realistic mocks, stubs and data fixtures adapted to your test framework and use cases.
Mistral Prompt to Generate JavaScript Code
Mistral, the language model developed by the French startup Mistral AI, has quickly established itself as a powerful alternative for code generation. Thanks to its optimized architecture and training on vast code source corpora, Mistral particularly excels at producing clean, functional, and well-structured JavaScript code. Whether you are developing a web application, a Node.js script, or a front-end library, knowing how to formulate the right prompt is key to obtaining professional-quality code. A well-constructed prompt allows Mistral to precisely understand your technical need, execution context, performance constraints, and coding conventions to follow. In this guide, we offer optimized and tested prompts to get the most out of Mistral for your JavaScript projects. Each prompt is designed to produce maintainable, commented code that follows modern JavaScript development best practices, including error handling, modularity, and ES6+ compatibility.
Progressive Rollout Strategy
Progressive deployment of a new model
Debug a CrashLoopBackOff
Debug Kubernetes pod crashes