architecture-diagrams
Skill0 starsChanged 3 months agoMITView on GitHub
Use when the deliverable is a physical diagram artifact (.svg/.png) — C4 models, dense class diagrams, network topology rendered via PlantUML. Not for diagrams embedded in Markdown (use Mermaid there).
8 other projects use a version of this.
Adopted by
Most recently taken up by
- excalimate/excalimatetheir own version, first seen Oct 31, 2026
- microsoft/hve-coretheir own version, first seen Oct 13, 2026
- quangdangle/architecture-diagrams-skilltheir own version, first seen Sep 25, 2026
- craig-ai-tooling/claude-skillstheir own version, first seen Jul 10, 2026
- nctiggy/claude-skillstheir own version, first seen Jul 10, 2026
- bharathgnana/archdiagramtheir own version, first seen Jun 22, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- microsoft/hve-core★ 1.6ksame name
- excalimate/excalimate★ 99same name
- nilecui/SkillsBase★ 27same name
- vishalc412/Architecture-ClaudeSkill★ 5same name
- bharathgnana/archdiagram★ 3same name
- craig-ai-tooling/claude-skills★ 1same name
- nctiggy/claude-skills★ 1same name
- quangdangle/architecture-diagrams-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository110 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-bootstrap/templates/agents.mdAGENTS.md
- a11y-auditSkill
- agentic-ragSkill
- agent-reachSkill
- ai3d-genSkill
- ai-coding-dictionarySkill
- ai-toolsSkill
- animation-directionSkill
- api-specSkill
- architectureSkill
- ascii-artSkill
- ask-bundleSkill
- binary-triageSkill
- bragSkill
- brag-slimSkill
- career-opsSkill
- code-reviewSkill
- computer-useSkill
- context7Skill
- context-hygieneSkill
- creative-engineeringSkill
- cu-realtimeSkill
- data-analystSkill
- databaseSkill
- dead-wireSkill
- debuggingSkill
- deploySkill
- devin-configSkill
- dispatching-parallel-agentsSkill
- dmaSkill
- dockerSkill
- drift-reportSkill
- e2e-testingSkill
- edge-casesSkill
- executionSkill
- fact-checkSkill
- finishing-a-development-branchSkill
- firmware-probeSkill
- frontend-designSkill
- gatesSkill
- ghidraSkill
- ghSkill
- github-actionsSkill
- git-workflowsSkill
- grillingSkill
- handoffSkill
- humanizerSkill
- hyperframesSkill
- i18nSkill
- image-forensicsSkill
- impeccableSkill
- implement-layaSkill
- intakeSkill
- jiraSkill
- knowledge-modelingSkill
- laya-orchestratorSkill
- learn-modeSkill
- mcp-governanceSkill
- media-toolsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
If the user wants a diagram inside a Markdown doc → Mermaid.
- Very specific: line 37
Write the PlantUML source to a file (e.g.
- Very specific: line 54
Verify ok: true in the JSON output, then open the artifact for the user.
- Distinctive: line 55
If the server returns a syntax-error image (non-SVG body), read the error it reports, fix the source, re-check, re-render.
- Distinctive: line 60
Use the C4-PlantUML stdlib — always remote-include, never vendor:
- Very specific: line 79
Every element gets alias, label, technology, description (4 args).
- Distinctive: line 81
Keep aliases stable across levels so diagrams stay cross-referenceable.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architecture Diagrams (PlantUML)
Generates physical diagram artifacts via the public PlantUML server — no Java required. Renders C4 models, dense class diagrams, and network topologies that Mermaid cannot express well.
Tool boundary — Mermaid vs PlantUML
Mermaid for diagrams embedded in Markdown — sequence, flow, state,
gitgraph, mindmap, ER — quick logic inside docs, wikis (obsidian-workflow),
and reports. Validated inline by the validate-mermaid hook.
PlantUML exclusively for physical artifacts (.svg/.png files):
- C4 models (Context / Container / Component / Deployment)
- Dense class diagrams (many entities, relations, generics)
- Network / deployment topology
If the user wants a diagram inside a Markdown doc → Mermaid. If they want a file they can open, print, or attach → PlantUML via this skill.
Where it is
- Renderer:
extensions/diagram-tools/plantuml_renderer.py(installed at%APPDATA%\devin\extensions\diagram-tools\) — stdlib-only; Deflate + PlantUML modified-Base64 + GET toplantuml.com/plantuml/{svg,png}/.
Flow
- Write the PlantUML source to a file (e.g.
.devin/scratch/diagram.pumlor a path the user chooses). Never render from a heredoc — keep the source file as the editable artifact. Syntax sanity before the network (mandatory):
python extensions/diagram-tools/plantuml_renderer.py --check diagram.pumlFix all reported errors before proceeding.
Render:
python extensions/diagram-tools/plantuml_renderer.py diagram.puml # .svg python extensions/diagram-tools/plantuml_renderer.py diagram.puml --format pngVerify
ok: truein the JSON output, then open the artifact for the user.- If the server returns a syntax-error image (non-SVG body), read the error it reports, fix the source, re-check, re-render.
C4 model rules
Use the C4-PlantUML stdlib — always remote-include, never vendor:
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Person(user, "User", "End user")
System_Boundary(sys, "System") {
Container(app, "App", "Python", "Does X")
ContainerDb(db, "DB", "SQLite", "Stores Y")
}
Rel(user, app, "Uses")
Rel(app, db, "Reads/Writes")
@enduml- Layer
!includeby depth:C4_Context.puml⊂C4_Container.puml⊂C4_Component.puml;C4_Deployment.pumlfor topology. - One diagram per abstraction level — do not mix Context and Component.
- Every element gets
alias,label,technology,description(4 args). Rel(a, b, "verb")for every arrow; direction = call order.- Keep aliases stable across levels so diagrams stay cross-referenceable.
Gotchas
- The public server requires network — if offline, say so and keep the
.pumlsource; it renders later unchanged. - Server-side syntax errors return an image containing the error — the script detects this and exits non-zero. Treat it as a fix-and-retry.
- PlantUML is whitespace/keyword-sensitive:
@enduml(not@end uml), arrows are-->/..>not->. - Large C4 models hit URL limits (~8KB encoded); split into per-level files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

