archdiagram

Generate architecture diagrams from code or conversation in multiple formats.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rahulrajaram/rahulskills --skill archdiagram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archdiagram
Source: https://github.com/rahulrajaram/rahulskills/tree/main/skills/archdiagram
Command: npx skills add https://github.com/rahulrajaram/rahulskills --skill archdiagram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you understand and document complex systems by automatically generating architecture diagrams from code or conversational context, reducing the need for manual drawing and ensuring accuracy.

Core Features & Use Cases

  • Diagram Generation: Creates various types of diagrams (component, sequence, class, etc.) in multiple formats (ASCII, Mermaid, PlantUML, D2, DOT).
  • Contextual Awareness: Diagrams can be based on the current conversation or specific project files.
  • Deep Architectural Review: Optionally performs a holistic analysis of the architecture before diagramming, identifying key patterns and potential issues.
  • Use Case: When discussing a new feature, you can ask the AI to generate a component diagram of the relevant services and their interactions.

Quick Start

Generate an ASCII component diagram of the current project's architecture.

Frequently Asked Questions about archdiagram

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate architecture diagrams from code automatically?

To generate architecture diagrams from code, you can analyze your codebase or conversational context to automatically produce component, sequence, class, and deployment diagrams.

Can I output Mermaid and PlantUML diagrams from my existing codebase?

Yes, you can output diagrams in Mermaid and PlantUML formats, alongside ASCII, D2, and DOT, directly from your codebase or conversational context.

What is the best way to document complex system architecture without manual drawing?

The best way to document complex system architecture without manual drawing is to automatically generate visual diagrams from codebase analysis, ensuring accuracy and reducing manual effort.

Does this approach support sequence and deployment diagrams for code visualization?

Yes, this code visualization approach supports multiple diagram types, specifically including sequence and deployment diagrams, as well as component and class diagrams.

How does deep architectural review work before diagram generation?

Deep architectural review performs a holistic analysis of your architecture before diagramming, identifying key patterns and potential issues to ensure comprehensive visual documentation.

Do I need to manually specify diagram formats when visualizing architecture?

No, you do not need to manually specify formats when visualizing architecture; you can automatically generate outputs in ASCII, Mermaid, PlantUML, D2, or DOT based on your needs.