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
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
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.
Learn more
Check the full skill on Prompt Guide to master this technique from A to Z.
View on Prompt GuideComments
Be the first to comment on this prompt.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Similar Prompts
Create a Complete REST API from A to Z
A complete prompt to generate a professional REST API with authentication, validation, documentation, and integrated tests.
Set Up Application Observability
Implement the three pillars of observability (logs, metrics, traces) with OpenTelemetry, Prometheus, and Grafana dashboards.
Set up vulnerability scanning pipeline
Automate vulnerability scanning
Perplexity Prompt for Generating SQL Queries
Perplexity stands out from traditional search engines by its ability to synthesize technical information from multiple reliable sources. For generating SQL queries, this tool becomes a true development assistant: it can analyze your database schema, understand your business intent, and produce optimized queries based on the official documentation of PostgreSQL, MySQL, or SQL Server. Unlike a simple code generator, Perplexity contextualizes its responses by citing best practices from Stack Overflow, official documentation, and reputable technical blogs. Whether you need a complex join, an aggregation query with windowing, or performance optimization via indexes, Perplexity provides not only the query but also an explanation of each clause. This educational approach makes it a particularly suitable tool for developers who want to improve their SQL skills while delivering production-ready code. The major advantage lies in its ability to consider the specifics of your DBMS and propose alternatives based on available versions.