P
💻DeveloppementIntermediateAll AIs

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 :

  1. Identifie les composants principaux du système, leurs responsabilités et leurs interactions.
  2. Représente clairement les flux de données entre les composants (protocoles, formats).
  3. Distingue les services internes des services externes (APIs tierces, bases de données, files de messages).
  4. Ajoute une légende expliquant les symboles et conventions utilisés.
  5. Sous le diagramme, fournis un tableau récapitulatif avec : nom du composant, technologie suggérée, rôle, et dépendances.
  6. Si le type choisi est C4, respecte strictement les niveaux Context → Container → Component.
  7. 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

Answer 3 questions and Léa tailors the prompt to your situation.

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

Document a new project architecture before developmentCreate diagrams for an architecture review or ADRQuickly generate a deployment diagram for cloud infrastructureProduce architecture visuals for a client presentation or onboarding

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 Optimizer

Comments

Be the first to comment on this prompt.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

💻DeveloppementIntermediateGemini

Gemini Prompt for Generating SQL Queries

Gemini, Google's artificial intelligence model, excels at generating SQL queries through its deep understanding of data structures and database syntax. Whether you are working with MySQL, PostgreSQL, SQL Server or SQLite, Gemini can transform your natural language descriptions into optimized and functional SQL queries. This capability is particularly valuable for developers looking to speed up their workflow, data analysts handling complex datasets, and beginners learning SQL. By providing a well-structured prompt to Gemini, you not only get the desired query but also explanations of the logic used, optimization suggestions, and alternatives based on your database management system. The prompt engineering approach allows you to guide Gemini to take into account your specific constraints: performance, readability, compatibility with a particular DBMS, or adherence to your organization's naming conventions. Discover how to formulate your prompts to get the most out of Gemini in generating SQL queries.

0146
💻DeveloppementAdvancedAll AIs

Create Async Workers and Jobs with AI

A complete prompt to design and implement async workers and jobs with queuing, retry, monitoring and deployment.

057
💻DeveloppementBeginnerChatGPT

Install and Configure PostgreSQL for a Project

Install and configure PostgreSQL from scratch with database creation, users, application connection, and first SQL queries.

14328
💻DeveloppementAdvancedAll AIs

Prompt to Create Optimized Serverless Functions

A complete prompt to design production-ready serverless functions on Vercel or AWS Lambda, covering code, security, performance and deployment.

00