Architecture diagramming framework using C4 zoom hierarchy, Richards/Ford visual conventions, Wlaschin bounded context mapping, and Dilger event modeling. Guides format selection (D2, TikZ, Mermaid, PlantUML) and diagram compendium creation.
Ships in preferences-domain-driven-architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Semantic framework for architectural visualization, positioned as the middle layer between the mechanical compilation workflow (text-to-visual-iteration) and the perceptual quality guidance (scientific-visualization).
This skill specifies what to diagram, how to think about diagram content, and which format to use.
It defers to the mechanical layer for how to compile and refine the output artifact.
This skill occupies the middle of a three-layer visualization stack.
The bottom layer is text-to-visual-iteration, which provides the compile-inspect-refine loop, artifact conventions (SVG/PNG/PDF triple output), the post-processing pipeline (svgo, resvg, rsvg-convert), and the toolchain dispatch table.
When a chapter specifies a diagram to produce, conclude with "compile and refine per the text-to-visual-iteration workflow" rather than re-specifying mechanical steps.
The format selection decision tree in this skill determines which toolchain row in the bottom layer's dispatch table applies.
The top layer is scientific-visualization, which provides perceptual and cognitive guidance grounded in Ware (2020) and Schloss (2025).
Most architecture diagrams are structural rather than quantitative, so this layer is advisory rather than routine.
When a diagram contains quantitative data overlays (latency heatmaps, throughput charts, cost distributions), the scientific-visualization colormap guidance takes precedence over the architecture color conventions.
| File | Contents |
|---|---|
| 01-c4-zoom-hierarchy.md | Four-level zoom hierarchy, bounded context placement, representational consistency, C4 level-4 "module" naming |
| 02-visual-conventions.md | Line, color, label, key conventions from Richards/Ford; shapes vocabulary; semantic layers; stencil libraries |
| 03-format-selection.md | Format selection decision tree, D2 as primary tool, TikZ/Mermaid/PlantUML/Graphviz selection criteria, escalation paths |
| 04-diagram-compendium.md | Normative-but-flexible compendium of diagram categories anchored on C4 levels, project context guidance |
| 05-bounded-context-diagrams.md | Trust boundaries, context maps, workflow pipes, event-based decoupling, DTO boundaries, onion architecture |
| 06-infrastructure-adaptations.md | IaC adaptations of C4, event modeling for infrastructure processes, automation/translation boundary, ADR scope thresholds |
Architectural diagrams serve communication, not decoration. The following principles, distilled from Richards/Ford and Wlaschin, govern all diagram production.
Representational consistency requires always showing the containing context before drilling into detail. Never present a subsystem in isolation without indicating where it lives within the broader architecture.
Semantic layers over decorative grouping means using layers to encode meaning (topology, implementation, cross-cutting concerns) rather than merely organizing visual elements. Adding a new perspective means adding a layer, not redrawing the diagram.
Low fidelity first guards against irrational artifact attachment. Produce text-based or minimal diagram-as-code artifacts as the starting point. Reserve polished rendering for validated designs.
Label everything, title everything, include keys. Every element in a diagram must have a title. Every item should be labeled. If any shapes are not self-evident, include a key.
C4 as shared vocabulary means using the four zoom levels (context, container, component, module) as the standard hierarchy for both visual diagrams and code organization.
Bounded context perimeters are trust boundaries. Everything inside is trusted and valid; everything outside is untrusted and potentially invalid. Diagrams must show explicit input and output gates at the boundary.
Format selection follows purpose, not preference. The decision tree in chapter 03 determines the appropriate format based on the diagram's purpose, audience, and available toolchain.
text-to-visual-iteration -- mechanical compilation and refinement layerscientific-visualization -- perceptual quality and colormap guidance for quantitative overlayspreferences-event-modeling -- D2 event modeling conventions (domain-specific extensions of the general D2 conventions here)preferences-documentation/references/adr-conventions.md -- ADR authoring conventions that complement architecture diagrams (when available)preferences-domain-modeling -- bounded context theory and functional domain patternspreferences-bounded-context-design -- context mapping patterns and integration strategiesWhat SKILL.md sets; muted values are Claude Code's defaults
/preferences-domain-driven-architecture:preferences-architecture-diagrammingfrom preferences-domain-driven-architecture
npx claudepluginhub cameronraysmith/vanixiets --plugin preferences-domain-driven-architecture7 skills in this plugin
/preferences-architectural-patternsArchitectural patterns including hexagonal architecture, CQRS, and event-driven design. Load when making architectural decisions or reviewing system design./preferences-bounded-context-designBounded context design including context mapping, integration patterns, and anti-corruption layers. Load when designing service boundaries or system integration./preferences-collaborative-modelingCollaborative modeling techniques including EventStorming and Domain Storytelling. Load when facilitating discovery workshops or modeling domain processes./preferences-discovery-processDiscovery process methodology for exploring problem domains before implementation. Load when starting new projects or investigating unfamiliar domains./preferences-domain-modelingFunctional domain modeling with DDD principles, aggregate design, smart constructors, and validation patterns. Load when designing domain types or business logic./preferences-strategic-domain-analysisStrategic domain analysis for Core/Supporting/Generic subdomain classification. Load when assessing domain boundaries or prioritizing development investment.Other plugins' skills for the same job