Detalle del Skill
architecture-diagrams
Creates animated software architecture and infrastructure diagrams.
Revisar antes de usar
La revisión automática comprueba relevancia, no seguridad ni respaldo. Lee las instrucciones de la fuente antes de usar este Skill.
SKILL.md
Este extracto es una copia guardada durante la revisión. La fuente externa contiene la versión completa y actual.
---
name: architecture-diagrams
description: >
Create professional software architecture diagrams with animated reveals using
the Excalimate MCP server. Use when asked to visualize system architecture,
microservices, cloud infrastructure, API gateways, service meshes, layered
architectures, or any system design — even if the user doesn't explicitly say
"architecture diagram."
---
# Architecture Diagrams Skill
Create professional animated software architecture diagrams using the Excalimate MCP server.
## Workflow
1. **Identify Components**: Determine system elements (services, databases, clients, queues, etc.)
2. **Choose Layout Pattern**: Select from 3-tier, microservices, event-driven, or hexagonal
3. **Create Scene**: Use `create_scene` with components positioned on 250×180px grid
4. **Animate Layer-by-Layer**: Reveal architecture progressively with `add_keyframes_batch`
5. **Set Camera & Clip**: Position camera and set clip range for optimal viewing
## Component Vocabulary
Use these standard components with consistent styling and bound labels:
- **Service Box**: `{"type":"rectangle","width":180,"height":80,"backgroundColor":"#a5d8ff","strokeColor":"#1971c2"}`
- **Database**: `{"type":"rectangle","width":140,"height":70,"backgroundColor":"#b2f2bb","strokeColor":"#2f9e44"}`
- **Message Queue**: `{"type":"rectangle","width":200,"height":60,"backgroundColor":"#ffd8a8","strokeColor":"#f08c00"}`
- **Load Balancer**: `{"type":"diamond","width":120,"height":100,"backgroundColor":"#99e9f2","strokeColor":"#0c8599"}`
- **Client**: `{"type":"rectangle","width":120,"height":70,"backgroundColor":"#ffec99","strokeColor":"#f08c00"}`
- **Cache**: `{"type":"ellipse","width":130,"height":80,"backgroundColor":"#d0bfff","strokeColor":"#6741d9"}`
- **API Gateway**: `{"type":"rectangle","width":180,"height":80,"backgroundColor":"#99e9f2","strokeColor":"#0c8599"}`
All components include `"boundElements":[{"id":"label_id","type":"text"}]` for labels.
## Layout Grid
- **Horizontal spacing**: 250px between component centers
- **Vertical spacing**: 180px between layer centers
- **Boundary frames**: Use rectangles with transparent fill for system boundaries
- **Canvas size**: 1600×1200px recommended for complex architectures
## Color Coding
| Layer Type | Background | Border | Usage |
|------------|------------|--------|--------|
| Client | #ffec99 | #f08c00 | Users, frontend apps, mobile |
| API | #99e9f2 | #0c8599 | Gateways, load balancers, proxies |
| Services | #a5d8ff | #1971c2 | Business logic, microservices |
| Data | #b2f2bb | #2f9e44 | Databases, storage, caches |
| External | #d0bfff | #6741d9 | Third-party services, external APIs |
## Animation Timing
Standard layer-by-layer reveal pattern:
1. **L1 Components** fade in: 0-500ms
2. **L1→L2 Arrows** draw on: 500-1500ms
3. **L2 Components** fade in: 1500-2000ms
4. **L2→L3 Arrows** draw on: 2000-3000ms
5. **L3 Components** staggered: 3000-4500ms
6. **L4 Components** fade in: 5500-6000ms
**Clip Range**: 0-7000ms for complete reveal
## Complete Example: 3-Tier Architecture
```json
// create_scene call
{
"elements": [
{
"id": "client",
"type": "rectangle",
"x": 400, "y": 100,
"width": 120, "height": 70,
"backgroundColor": "#ffec99",
"strokeColor": "#f08c00",
"boundElements": [{"id": "client_label", "type": "text"}]
},
{
"id": "client_label",
"type": "text",
"x": 460, "y": 135,
"text": "Client App",
"fontSize": 16
},
{
"id": "gateway",
"type": "rectangle",
"x": 400, "y": 280,
"width": 180, "height": 80,
"backgroundColor": "#99e9f2",
"strokeColor": "#0c8599",
"boundElements": [{"id": "gateway_label", "type": "text"}]
},
{
"id": "gateway_label",
"type": "text",
"x": 490, "y": 320,
"text": "API Gateway",
"fontSize": 16
},
{
"id": "service1",
"type": "rectangle",
"x": 250Leer la fuente completa en GitHub (abre una página externa)