Diagrams Generator plugins for C4 and Mermaid diagram generation from Feature Design Documents
Generate C4 diagrams from a Feature Design Document (FDD). Usage: /generate-c4 <path-to-fdd.md> [output-folder] [--no-images]
Generate Mermaid diagrams from a Feature Design Document (FDD). Usage: /generate-mermaid <path-to-fdd.md> [output-folder]
Use this agent when the user needs to generate C4 diagrams (System Context, Container, Component, and Code levels) in PlantUML format from a Feature Design Document (FDD) or similar technical documentation. The agent should be invoked in scenarios such as: <example> Context: User has completed writing an FDD and wants to visualize the architecture. user: "I just finished the payment-processing FDD. Can you generate the C4 diagrams for it?" assistant: "I'll use the c4-diagram-generator agent to analyze your FDD and create the complete set of C4 diagrams." <agent_invocation> Agent: c4-diagram-generator Task: Generate C4 diagrams from the payment-processing FDD located at docs/payment-processing-fdd.md </agent_invocation> </example> <example> Context: User mentions a feature documentation file and needs architectural visualization. user: "Look at the user-authentication feature doc in the docs folder and create the architecture diagrams" assistant: "I'll launch the c4-diagram-generator agent to process the authentication feature documentation and generate the C4 diagrams." <agent_invocation> Agent: c4-diagram-generator Task: Read docs/user-authentication feature doc and generate C4 diagrams </agent_invocation> </example> <example> Context: User has a folder with multiple FDDs and wants diagrams for a specific one. user: "Generate C4 diagrams for the notification-service FDD" assistant: "I'll use the c4-diagram-generator agent to locate and process the notification-service FDD." <agent_invocation> Agent: c4-diagram-generator Task: Find and process notification-service FDD to generate C4 diagrams </agent_invocation> </example> The agent should be used proactively when: - A user completes or updates an FDD - A user mentions needing architecture visualization - A user asks about documenting system design - A user references a feature design document without explicitly requesting diagrams
Use this agent when you need to generate technical diagrams for Feature Design Documents (FDDs) or similar technical specifications. Examples: <example> Context: User has written a Feature Design Document describing a new payment processing system and wants visual diagrams to enhance understanding. user: "I've finished writing the FDD for our new payment gateway integration. Can you help me create diagrams to illustrate the architecture?" assistant: "I'll use the mermaid-diagram-generator agent to analyze your FDD and create relevant Mermaid diagrams that enhance comprehension." <Task tool call to mermaid-diagram-generator agent with the FDD content> </example> <example> Context: User is working on a technical design document and mentions the need for visual representation. user: "This design doc explains our event-driven notification system with multiple fallback mechanisms. I think it needs some diagrams to make the flow clearer." assistant: "Let me launch the mermaid-diagram-generator agent to create focused, meaningful diagrams for your notification system design." <Task tool call to mermaid-diagram-generator agent> </example> <example> Context: User has completed a logical section of architecture documentation and the agent proactively suggests diagram generation. user: "Here's the complete architecture section describing how our microservices communicate through the message broker, including retry logic and circuit breakers." assistant: "Your architecture section would benefit from visual diagrams. I'm going to use the mermaid-diagram-generator agent to create clear Mermaid diagrams that illustrate the communication patterns and failure handling mechanisms." <Task tool call to mermaid-diagram-generator agent> </example>
Uses power tools
Uses Bash, Write, or Edit tools
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uma coleção de plugins para o Claude Code voltados à arquitetura de software e à documentação de design. Os plugins automatizam tarefas como registrar decisões arquiteturais, gerar diagramas, analisar a arquitetura de projetos e produzir guias de desenvolvimento por linguagem.
Este marketplace oferece quatro plugins para documentação e análise arquitetural:
| Plugin | Descrição | Comandos |
|---|---|---|
| ADRs Management | Análise, geração e vinculação de Architecture Decision Records (ADRs) | /adrs-management:adr-map, :adr-identify, :adr-generate, :adr-link |
| Diagrams Generator | Geração de diagramas C4 (PlantUML) e Mermaid a partir de Feature Design Documents (FDDs) | /diagrams-generator:c4-generate, :mermaid-generate |
| Project Analyzer | Análise arquitetural completa, análise profunda de componentes e auditoria de dependências | /project-analizer:generate-architectural-report, :run-dependency-audit |
| Development Guidelines | Geração de guias de desenvolvimento abrangentes e específicos por linguagem | /development-guidelines:guidelines-generate |
Todos os comandos abaixo são executados dentro do Claude Code no terminal (rode
claude). Em outros ambientes (extensões/IDE) o comando/pluginpode não estar disponível.
/plugin marketplace add Lucassamuel97/claude-plugins
Esse comando registra o repositório do GitHub como uma fonte de plugins. Você verá: Successfully added marketplace: lucassamuel-plugins.
O identificador do marketplace (
lucassamuel-plugins) é o camponamedefinido em .claude-plugin/marketplace.json — não é o nome do repositório.
Instale apenas os que for usar (ou todos):
/plugin install adrs-management@lucassamuel-plugins
/plugin install diagrams-generator@lucassamuel-plugins
/plugin install project-analizer@lucassamuel-plugins
/plugin install development-guidelines@lucassamuel-plugins
Após instalar, os comandos não ficam ativos imediatamente. Recarregue:
/reload-plugins
Se os comandos ainda não aparecerem após o
/reload-plugins, feche e reabra o Claude Code (saia e rodeclaudenovamente).
Os comandos dos plugins são namespaced pelo nome do plugin, no formato /<plugin>:<comando>:
/diagrams-generator:mermaid-generate docs/features/FDD_Rate_Limiter.md
/adrs-management:adr-map
/project-analizer:generate-architectural-report
/development-guidelines:guidelines-generate Python
Dica: digite
/e comece a escrever o nome do comando (ex.:/merou/diagrams) para o autocomplete mostrar o nome/namespace exato com que cada comando foi registrado.
Para navegar pelos plugins instalados e seus comandos a qualquer momento:
/plugin
Os comandos usam o prefixo do plugin (
/<plugin>:<comando>). Se preferir, digite/e use o autocomplete para localizá-los.
Documente decisões arquiteturais de forma sistemática, seguindo um fluxo de 3 fases (mapear → identificar → gerar) com vinculação ao final:
/adrs-management:adr-map # Fase 1: mapeia a base de código em módulos lógicos
/adrs-management:adr-identify AUTH DATA # Fase 2: identifica ADRs em potencial nos módulos
/adrs-management:adr-generate BILLING # Fase 3: gera ADRs formais no formato MADR
/adrs-management:adr-link # Vincula os ADRs com relacionamentos bidirecionais
Os ADRs podem ser gerados em vários idiomas (en, pt-BR, es, fr, de). O plugin aplica filtragem rigorosa — apenas cerca de 5% das descobertas viram ADRs — e usa o histórico do git para enriquecer o contexto temporal.
Crie documentação visual a partir de Feature Design Documents (FDDs):
/diagrams-generator:c4-generate docs/features/FDD_Rate_Limiter.md # Diagramas C4 (C1–C4) em PlantUML
/diagrams-generator:mermaid-generate docs/features/FDD_Rate_Limiter.md # Diagramas Mermaid (sequência, fluxo, classe, ER)
O idioma dos diagramas é detectado automaticamente a partir do FDD, mantendo os termos técnicos em inglês (Service, Gateway, Redis etc.). Nenhum diagrama é inventado quando o FDD não tem informação suficiente.
Este repositório já inclui um FDD de exemplo em docs/features/FDD_Rate_Limiter.md (um SDK de rate limiting em Go) para você testar os comandos imediatamente.
Analise a arquitetura e as dependências do projeto (somente leitura — não modifica o código):
npx claudepluginhub lucassamuel97/claude-plugins --plugin diagrams-generatorDevelopment Guidelines plugin for generating comprehensive language-specific development guideline documents
Project Analyzer plugins for comprehensive architectural analysis, component deep analysis, and dependency auditing
ADRs Management plugins for Architecture Decision Records analysis, generation, and linking
Ultra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Unified capability management center for Skills, Agents, and Commands.