Need an architecture diagram? Get AI to build you one.
Use Claude.ai with this special skill to generate professional architecture diagrams in seconds. Describe your system, and Claude creates a beautiful, dark-themed diagram as a standalone HTML file you can open in any browser.
⚠️ Available on Free, Pro, Max, Team, and Enterprise plans (Code Execution must be enabled in Settings → Capabilities first)
architecture-diagram.zip📚 Need help? See the full installation guide below.
You just need a text description of your system. Pick whichever works for you:
Option A: Have AI analyze your codebase
Open your code in Cursor, Claude Code, Windsurf, or ChatGPT and ask:
Analyze this codebase and describe the architecture. Include all major
components, how they connect, what technologies they use, and any cloud
services or integrations. Format as a list for an architecture diagram.
Option B: Write it yourself
Just list your components and how they connect:
- React frontend talking to a Node.js API
- PostgreSQL database
- Redis for caching
- Hosted on AWS with CloudFront CDN
Option C: Ask for a typical architecture
Don't have a specific system? Ask Claude for a starting point:
What's a typical architecture for a SaaS application?
Take the output from Step 2 and paste it into Claude (with the Architecture Diagram Generator skill installed):
Use your architecture diagram skill to create an architecture diagram from this description:
[PASTE YOUR ARCHITECTURE DESCRIPTION HERE]
That's it! Claude will generate a beautiful HTML file you can open in any browser.
Then! You can iterate simply by using chat. Ask Claude: Please update XYZ to see your diagram update in real time. You can ask Claude to fix any issues you have with the diagram as well.
For a web app:
Create an architecture diagram for a web application with:
- React frontend
- Node.js/Express API
- PostgreSQL database
- Redis cache
- JWT authentication
For AWS serverless:
Create an architecture diagram showing:
- CloudFront CDN
- API Gateway
- Lambda functions (Node.js)
- DynamoDB
- S3 for static assets
- Cognito for auth
For microservices:
Create an architecture diagram for a microservices system with:
- React web app and mobile clients
- Kong API Gateway
- User Service (Go), Order Service (Java), Product Service (Python)
- PostgreSQL, MongoDB, and Elasticsearch databases
- Kafka for event streaming
- Kubernetes orchestration



Open the HTML file in any modern browser and use the toolbar in the header:
No install. No command line. Just open the file and click.
| Component Type | Color | Use For |
|---|---|---|
| Frontend | Cyan | Client apps, UI, edge devices |
| Backend | Emerald | Servers, APIs, services |
| Database | Violet | Databases, storage, AI/ML |
| Cloud/AWS | Amber | Cloud services, infrastructure |
| Security | Rose | Auth, security groups, encryption |
| External | Slate | Generic, external systems |
⚠️ Available on: Free, Pro, Max, Team, and Enterprise plans
Prerequisite: Code Execution must be enabled before you can upload a custom skill:
- Free / Pro / Max — turn on under Settings → Capabilities
- Team / Enterprise — admin enables under Organization settings → Skills
📚 New to Claude Skills? Check out the official guide: Use Skills in Claude
architecture-diagram.ziparchitecture-diagram.zip to the Project KnowledgeExtract to your skills directory:
# Global skills
unzip architecture-diagram.zip -d ~/.claude/skills/
# Or project-local
unzip architecture-diagram.zip -d ./.claude/skills/
Simply ensure both files are accessible to Claude:
architecture-diagram/
├── SKILL.md # Skill instructions
└── resources/
└── template.html # Base template
Claude generates a self-contained HTML file that you can:
Each generated diagram includes:
The skill uses a consistent design system, but Claude will adapt:
The generated HTML structure:
<!DOCTYPE html>
<html>
<head>
<!-- Embedded styles, Google Fonts -->
</head>
<body>
<div class="container">
<div class="header"><!-- Title --></div>
<div class="diagram-container">
<svg><!-- Architecture diagram --></svg>
</div>
<div class="cards"><!-- Summary cards --></div>
<p class="footer"><!-- Metadata --></p>
</div>
</body>
</html>
#020617 with 40px grid patternFor step-by-step workflows that unfold in time — approval flows, runbooks, automation pipelines, process-flow-diagram-generator — same design language, different shape language.
MIT License — Free to use, modify, and distribute.
Suggestions and improvements welcome! Feel free to:
Cocoon AI 📧 hello@cocoon-ai.com
Made with ❤️ by Cocoon AI
12 commits
HTML
100.0%
Need an architecture diagram? Get AI to build you one.
Use Claude.ai with this special skill to generate professional architecture diagrams in seconds. Describe your system, and Claude creates a beautiful, dark-themed diagram as a standalone HTML file you can open in any browser.
⚠️ Available on Free, Pro, Max, Team, and Enterprise plans (Code Execution must be enabled in Settings → Capabilities first)
architecture-diagram.zip📚 Need help? See the full installation guide below.
You just need a text description of your system. Pick whichever works for you:
Option A: Have AI analyze your codebase
Open your code in Cursor, Claude Code, Windsurf, or ChatGPT and ask:
Analyze this codebase and describe the architecture. Include all major
components, how they connect, what technologies they use, and any cloud
services or integrations. Format as a list for an architecture diagram.
Option B: Write it yourself
Just list your components and how they connect:
- React frontend talking to a Node.js API
- PostgreSQL database
- Redis for caching
- Hosted on AWS with CloudFront CDN
Option C: Ask for a typical architecture
Don't have a specific system? Ask Claude for a starting point:
What's a typical architecture for a SaaS application?
Take the output from Step 2 and paste it into Claude (with the Architecture Diagram Generator skill installed):
Use your architecture diagram skill to create an architecture diagram from this description:
[PASTE YOUR ARCHITECTURE DESCRIPTION HERE]
That's it! Claude will generate a beautiful HTML file you can open in any browser.
Then! You can iterate simply by using chat. Ask Claude: Please update XYZ to see your diagram update in real time. You can ask Claude to fix any issues you have with the diagram as well.
For a web app:
Create an architecture diagram for a web application with:
- React frontend
- Node.js/Express API
- PostgreSQL database
- Redis cache
- JWT authentication
For AWS serverless:
Create an architecture diagram showing:
- CloudFront CDN
- API Gateway
- Lambda functions (Node.js)
- DynamoDB
- S3 for static assets
- Cognito for auth
For microservices:
Create an architecture diagram for a microservices system with:
- React web app and mobile clients
- Kong API Gateway
- User Service (Go), Order Service (Java), Product Service (Python)
- PostgreSQL, MongoDB, and Elasticsearch databases
- Kafka for event streaming
- Kubernetes orchestration



Open the HTML file in any modern browser and use the toolbar in the header:
No install. No command line. Just open the file and click.
| Component Type | Color | Use For |
|---|---|---|
| Frontend | Cyan | Client apps, UI, edge devices |
| Backend | Emerald | Servers, APIs, services |
| Database | Violet | Databases, storage, AI/ML |
| Cloud/AWS | Amber | Cloud services, infrastructure |
| Security | Rose | Auth, security groups, encryption |
| External | Slate | Generic, external systems |
⚠️ Available on: Free, Pro, Max, Team, and Enterprise plans
Prerequisite: Code Execution must be enabled before you can upload a custom skill:
- Free / Pro / Max — turn on under Settings → Capabilities
- Team / Enterprise — admin enables under Organization settings → Skills
📚 New to Claude Skills? Check out the official guide: Use Skills in Claude
architecture-diagram.ziparchitecture-diagram.zip to the Project KnowledgeExtract to your skills directory:
# Global skills
unzip architecture-diagram.zip -d ~/.claude/skills/
# Or project-local
unzip architecture-diagram.zip -d ./.claude/skills/
Simply ensure both files are accessible to Claude:
architecture-diagram/
├── SKILL.md # Skill instructions
└── resources/
└── template.html # Base template
Claude generates a self-contained HTML file that you can:
Each generated diagram includes:
The skill uses a consistent design system, but Claude will adapt:
The generated HTML structure:
<!DOCTYPE html>
<html>
<head>
<!-- Embedded styles, Google Fonts -->
</head>
<body>
<div class="container">
<div class="header"><!-- Title --></div>
<div class="diagram-container">
<svg><!-- Architecture diagram --></svg>
</div>
<div class="cards"><!-- Summary cards --></div>
<p class="footer"><!-- Metadata --></p>
</div>
</body>
</html>
#020617 with 40px grid patternFor step-by-step workflows that unfold in time — approval flows, runbooks, automation pipelines, process-flow-diagram-generator — same design language, different shape language.
MIT License — Free to use, modify, and distribute.
Suggestions and improvements welcome! Feel free to:
Cocoon AI 📧 hello@cocoon-ai.com
Made with ❤️ by Cocoon AI
12 commits
HTML
100.0%