--- id: CoWork-OS/CoWork-OS/architecture-diagram version: "c04af6eb" license: MIT install: manual updated: 2026-07-27 --- # architecture-diagram — Architecture Diagram transforms system descriptions into standalone, browser-ready HTML files with embedded SVG visuals. It handles technical architecture, infrastructure, deployment topology, and data-flow diagrams with semantic grouping and clear connection flows, outputting polished dark-themed artifacts you can open directly without external tools. Publisher: CoWork-OS · Stars: 406 · Updated: 2026-07-27 Install (manual): `git clone https://github.com/CoWork-OS/CoWork-OS` ## Decision gist - What it does: Architecture Diagram generates self-contained HTML architecture diagrams with inline SVG from your system description. - Install: `npx skillfed install CoWork-OS/CoWork-OS/architecture-diagram` · manual: `git clone https://github.com/CoWork-OS/CoWork-OS` → `cp -r CoWork-OS/resources/skills/architecture-diagram ~/.claude/skills/architecture-diagram` - Use it when: Yes. - Use it when: Yes. - Similar skills: Cocoon-AI/architecture-diagram-generator/architecture-diagram, NousResearch/hermes-agent/architecture-diagram, moltis-org/moltis/architecture-diagram, mateaix/mateclaw/architecture-diagram, unclecatvn/agent-skills/flow-diagram - Verify: Read SKILL.md below before installing ## SKILL.md # Architecture Diagram ## Purpose Turn an architecture description or inspected codebase into a self-contained HTML diagram with inline SVG that opens directly in any modern browser. ## Routing - Use when: Use when the user asks to create a technical architecture diagram, infrastructure map, deployment topology, security/data-flow visual, or a polished system diagram artifact they can open in a browser. - Do not use when: Do not use for text-only summaries, requests that require Mermaid or another explicit diagram format, or non-technical visual design tasks such as UI mockups and marketing graphics. - Outputs: A standalone HTML architecture diagram plus supporting plan and summary artifacts. - Success criteria: The final HTML is readable, self-contained, faithful to the described or inspected system, and free of obvious layout collisions. ## Trigger Examples ### Positive - Create an architecture diagram for this SaaS stack and give me an HTML file. - Turn this codebase into a polished cloud architecture diagram. - Make a system topology diagram showing services, databases, queues, and auth. - Use the architecture-diagram skill for this request. ### Negative - Summarize this architecture in bullets only. - Draw this as Mermaid so I can paste it into Markdown. - Design a landing page hero illustration for our product. - Create a wireframe for the settings screen. ## Parameters | Name | Type | Required | Description | |---|---|---|---| | system_name | string | No | Short system or project name for the header | | diagram_brief | string | No | Structured architecture description | | diagram_type | select | No | Diagram emphasis: auto, system-overview, cloud-infrastructure, deployment, data-flow, security, network-topology, microservices | | output_path | string | No | Workspace-relative or absolute HTML output path | ## Workflow Notes - Start from `assets/template.html`. Do not freehand the outer page shell unless the request explicitly needs a very different composition. - Read `references/full-guidance.md` before major layout work. It contains the spacing, legend placement, component taxonomy, and arrow-order rules that keep the diagrams readable. - If the request is based on a local codebase, inspect the code first and derive components conservatively. Missing certainty is better than invented systems. - Prefer a slightly taller or wider SVG over cramped placement. Expanding the `viewBox` is cheap; unreadable overlaps are not. - When updating an existing diagram, preserve the established visual language unless the user asks for a redesign. - In the final assistant response, include a standalone `::html{...}` directive that points at the generated HTML file so the main conversation view can render the diagram inline. ## Reference Map - `references/full-guidance.md`: design system, layout heuristics, and output checklist - `assets/template.html`: starter HTML/SVG template to customize - `LICENSE.txt`: upstream MIT license carried with the bundled port ## Runtime Prompt - Runtime prompt is defined directly in `../architecture-diagram.json`. [View on SkillFed](https://skillfed.io/CoWork-OS/CoWork-OS/architecture-diagram) · [View on GitHub](https://github.com/CoWork-OS/CoWork-OS)