SKILL

diagramming

Draws architecture and flow diagrams as code — Mermaid, C4, sequence, ER, and state diagrams that stay in version control and do not go stale. Use this whenever the user asks for a diagram, wants to visualise an architecture or flow, mentions Mermaid or C4, or is explaining a system that would be clearer drawn. For the prose around the diagram, use markdown-docs; for charts of quantitative data, use the dataviz guidance.

Target: Software development & testing. 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

  • Diagramming
  • 1. Decide the question, then pick the type
  • 2. Pick one level of abstraction and stay there
  • 3. Keep it under about nine boxes
  • 4. Label the arrows
  • 5. Write it in Mermaid
  • 6. Keep it from going stale
  • Don't set colours

A diagram earns its place by answering one question faster than a paragraph could. A diagram showing everything answers nothing — it is the visual equivalent of a page with no headings. Draw diagrams as code. A Mermaid block in the repository is diffable, reviewable, and edited by whoever changes the system. An exported PNG from someone's laptop is wrong within a month and nobody can fix it. Match the diagram to what the reader is asking: | Reader's question | Diagram | | --- | --- | | What are the pieces and how do they connect? | Component / C4 container | | What happens, in what order, between whom? | Sequence | | What states can this be in, and what moves it? | State | | How is the data shaped and related? | ER | | What are the steps and decisions? | Flowchart | | Who depends on whom for deployment? | Deployment | Choosing wrong is the most common failure. Component diagrams are drawn for questions that are really about ordering, and a sequence diagram would have answered them in half the space. Done when: you can state the one question this diagram answers. Mixing levels is what makes diagrams unreadable — a box for "Payments" next to a box for "validatecard()" gives the reade

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

Source repository
OKHP3/skillz
Source file
community/diagramming/SKILL.md
Fixed revision
7b187777d42ab7bc7bab1e5f2c940cd3139ecebf
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: OKHP3/skillz · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T10:00:54.172Z.

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.