Skip to content
Productivity
Skill

/architecture-diagram

Generate polished dark-themed architecture diagrams as standalone HTML files with inline SVG, semantic system grouping, and readable connection flows.

From plugin
cowork-os
516157 skills

Claude Code

$ npx -y skills add CoWork-OS/CoWork-OS --skill architecture-diagram --agent claude-code

SKILL.md

architecture-diagram.SKILL.md
name: architecture-diagram
description: "Generate polished dark-themed architecture diagrams as standalone HTML files with inline SVG, semantic system grouping, and readable connection flows."
version: "1.0.0"
license: MIT
metadata:
  author: CoWork OS Contributors <info@coworkosapp.com>
  source-author: "Cocoon AI, ported by CoWork OS"

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`.
Read more
@cowork-os
Ships withcowork-os

Rent the model. Own everything else. Free, open-source AI app for real work.

Stars on GitHub

Momentum

stars in total
516
Star history of CoWork-OS/CoWork-OS on GitHub, a chart by star-history.com

Other skills on cowork-os.

attack-path-analysis

attack-path-analysis

Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security…

@cowork-os@cowork-osInstall Skill
deep-security-scan

deep-security-scan

Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan. Run repeated…

@cowork-os@cowork-osInstall Skill
finding-discovery

finding-discovery

Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate…

@cowork-os@cowork-osInstall Skill
fix-finding

fix-finding

Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the primary trigger…

@cowork-os@cowork-osInstall Skill
security-diff-scan

security-diff-scan

Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other Git-backed…

@cowork-os@cowork-osInstall Skill

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about architecture-diagram.

Which coding agents can use architecture-diagram?
architecture-diagram installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.