Architecture

From KhaiTrang1995/agentic-awesome-kits · View interactive version

Architecture is an AI agent skill from the GitHub repository KhaiTrang1995/agentic-awesome-kits. Generate system architecture .drawio diagrams — client, service, database, external systems with standard icons and clear connections.

How to use this skill

Skill file

/architecture — Generate Architecture Diagram (draw.io)

When to use

Visualize system architecture (microservice, layered architecture, network topology) for design docs, ADRs, or stakeholder presentations.

Input examples

/architecture TOPO system: Angular SPA → API Gateway → 3 microservices (Container, Booking, Auth) → SQL Server
/architecture --cloud azure deploy architecture: App Service, Azure SQL, Blob Storage, Front Door
/architecture integration flow with Customs system via REST API

Workflow

Phase 1 — Identify components & trust boundaries

List components by group:

Identify trust boundaries (internet ↔ DMZ ↔ internal) — draw with container boxes dashed=1;fillColor=none;.

Phase 2 — Layout (L3 preview)

Print a block diagram as table/ASCII before generating XML — confirm which groups sit inside which boundaries and the data-flow direction.

Phase 3 — Generate XML

Use _templates/architecture.drawio as the frame:

Phase 4 — Approval L1 → Write

Mandatory rules

Output

docs/diagrams/{feature}/architecture-{slug}.drawio

See also

Need real vendor icons (AWS/Azure/GCP, not core shapes), auto-layout for >15 components, draw from real Terraform/K8s/docker-compose, or export PNG/SVG/PDF → use /diagram (more powerful, requires draw.io desktop CLI).

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.