SKILL

diagram-as-code

Visualize workflows, architecture and business processes as Mermaid/C4/PlantUML with validation. Use for any diagram.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Diagram as Code
  • Quick Start
  • When to Use
  • Best Practices
  • Picking the Type
  • Readability
  • Correctness
  • Rendering

Workflows, architecture and business processes as validated code, not pixels. System architecture and service maps Business processes and approval flows Sequence diagrams for APIs and auth State machines, ER diagrams, C4 models Docs that must stay in sync with code Flowchart: decisions and processes, max 12 nodes per view Sequence: interactions over time, name every actor Class/ER: data models, no methods except key behavior State: explicit initial/final, every transition labeled C4: Context for stakeholders, Container for teams, Component for devs One idea per diagram, split large flows into subgraphs Left-to-right for processes, top-to-bottom for hierarchies Short node labels (3-5 words), details in notes Stable ids in latin, human labels separate Every branch has a condition label No orphan nodes, no crossing arrows without need Actors and services match the real codebase names Version the diagram next to the code it describes Prefer Mermaid for Markdown-native docs C4-PlantUML for enterprise architecture SVG output for docs site, dark + light tested Keep source .mmd in git, render on CI 1. State the single question the diagram answers. 2. Pick the minimal type (flowchart, seque

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
ssrjkk/agent-skills
Source file
.claude/skills/design/diagram-as-code/SKILL.md
Fixed revision
868975614072b553f929cb32c52c5e7dc4ba8734
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: ssrjkk/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T03:01:42.400Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.