Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

common-architecture-diagramming

Skill by HoangNguyen0403

Draws architecture diagrams as editable draw.io files from a JSON spec, using a fixed house style. It is for developers and architects who need C4, data flow, sequence, ERD or deployment diagrams.

  • Score 80
  • 596 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install common-architecture-diagramming

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard /tmp/agent-skills-standard && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills-standard/skills/common/common-architecture-diagramming ~/.claude/skills/common-architecture-diagramming

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install common-architecture-diagramming in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill produces architecture diagrams as editable draw.io files. The assistant writes a semantic spec.json, validates it, and runs a renderer. The scripts own every visual decision, so the output stays consistent across authors and repositories. The assistant is told never to hand-write mxGraph XML.

The skill covers system context, container, component, deployment, data flow, sequence, state and ERD diagrams. ERDs can be generated from a SQL schema file. Existing ASCII or Mermaid diagrams can be redrawn. The skill also exports a PNG when a draw.io MCP tool or the bundled export script is available. It is aimed at developers and architects who need diagrams that follow one house style.

Written from the project's SKILL.md and checked against it.

What it can do

  • Spec-driven renderingWrites spec.json and renders a .drawio file with the bundled renderer instead of hand-written XML.
  • C4 level diagramsProduces context, container or component diagrams, with one C4 level per diagram.
  • Multiple diagram typesCovers deployment, data flow, sequence, state and ERD diagrams in addition to C4 views.
  • ERD from SQLGenerates an ERD spec from a SQL schema file using schema_to_spec.py.
  • Spec validationChecks the spec with validate_spec.py before rendering.
  • Layout checksRenders in strict mode, where a layout finding exits with code 2 so the spec can be fixed.
  • Evidence-tagged shapesMarks shapes with evidence or confidence, such as assumed or unverified, to show design uncertainty.
  • Image exportExports PNG through a draw.io MCP tool or the export_drawio.py script when available.
  • View manifest validationValidates a view-manifest.json for related diagram views using validate_manifest.py.

What you need

  • Python 3 to run the bundled scripts

Try asking

  • Draw a C4 container diagram for this service from its docs/architecture notes
  • Generate an ERD from db/schema.sql as a draw.io file
  • Redraw this Mermaid sequence diagram as an editable draw.io file

Good to know

  • Exec-audience diagrams are capped at 12 nodes; larger views should be split.
  • Manual edits to generated XML are refused unless acknowledged, and changes should go back into the spec.
  • Official icons exist only for gcp and aws; other vendors use generic cloud shapes and Azure has no logos in the bundle.
  • Strict validation cannot confirm that labels and edges are legible, so the exported image must be inspected.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/common/common-architecture-diagramming/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • assets/fixtures/component.drawio8 KB
  • assets/fixtures/component.spec.json4 KB
  • assets/fixtures/container.drawio13 KB
  • assets/fixtures/container.spec.json3 KB
Show all 65 files
  • assets/fixtures/context.drawio10 KB
  • assets/fixtures/context.spec.json2 KB
  • assets/fixtures/dataflow.drawio12 KB
  • assets/fixtures/dataflow.spec.json2 KB
  • assets/fixtures/deployment.drawio18 KB
  • assets/fixtures/deployment.spec.json2 KB
  • assets/fixtures/erd.drawio10 KB
  • assets/fixtures/erd.spec.json2 KB
  • assets/fixtures/evidence/component-view.md476 B
  • assets/fixtures/evidence/orders_api.py395 B
  • assets/fixtures/evidence/orders_retry.py427 B
  • assets/fixtures/evidence/orders_schema.sql169 B
  • assets/fixtures/schemas/orders.entity.ts729 B
  • assets/fixtures/schemas/orders.entity.ts.expected.json2 KB
  • assets/fixtures/schemas/orders.prisma451 B
  • assets/fixtures/schemas/orders.prisma.expected.json2 KB
  • assets/fixtures/schemas/orders.sql427 B
  • assets/fixtures/schemas/orders.sql.expected.json2 KB
  • assets/fixtures/schemas/orders_models.py834 B
  • assets/fixtures/schemas/orders_models.py.expected.json3 KB
  • assets/fixtures/sequence.drawio10 KB
  • assets/fixtures/sequence.spec.json1 KB
  • assets/fixtures/state.drawio9 KB
  • assets/fixtures/state.spec.json1 KB
  • assets/fixtures/view-manifest.json1 KB

And 35 more files on GitHub.

Alternatives to common-architecture-diagramming

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

common-architecture-diagramming: common questions

Does this write draw.io XML by hand?

No. The skill says to write a JSON spec and run the renderer, because the scripts own style, legend and title block.

What happens if no image export tool is available?

The skill ships the .drawio file and states that the image was not exported.

Can it turn a database schema into a diagram?

Yes. For an ERD, the source says to generate the spec with schema_to_spec.py from a SQL schema file.

How do I install common-architecture-diagramming?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is common-architecture-diagramming free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is common-architecture-diagramming safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to common-architecture-diagramming?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

common-architecture-diagramming Install

Add to stack

Loading.