agentleFS
ai-enhanced-engineerai-enhanced-engineer/aiee-skills/skills/arch-diagrams/SKILL.md

arch-diagrams

Skill4 starsChanged 5 months agoMITView on GitHub

Architecture visualization patterns using Mermaid and ASCII diagrams. Use for service flows, sequence diagrams, C4 models, decision matrices, or expressing architectural ideas visually.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Group related: - Use subgraphs for logical boundaries

    line 40
  2. Distinctive:

    Use ASCII art for spatial layouts (UI wireframes, page structure) and Mermaid for sequential flows (user journeys, data flow).

    line 44
  3. Distinctive:

    Sequenced tables disambiguate better than taxonomic ones: when commands or concepts feel interchangeable.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Architecture Diagrams

Patterns for expressing architectural ideas visually.

Diagram Selection

Need to ShowUseTool
Service dependenciesFlowchartMermaid
Request/response timingSequenceMermaid
System boundariesC4 ContextMermaid
Internal architectureC4 ContainerMermaid
Quick inline sketchASCII BoxText
Option comparisonDecision MatrixTable

Quick Syntax Reference

Mermaid Flowchart: flowchart TD → A[Node] --> B[Node]

Mermaid Sequence: sequenceDiagram → A->>B: Message

C4 Model: C4Context or C4Container → Person(), System(), Container()

ASCII Box: ┌───┐ │ │ └───┘ with ───▶ arrows

Best Practices

  1. Start simple - ASCII first, Mermaid if complexity warrants
  2. Label everything - Unlabeled arrows are ambiguous
  3. Show data flow - Arrows indicate who initiates
  4. Group related - Use subgraphs for logical boundaries

Hybrid ASCII + Mermaid

Use ASCII art for spatial layouts (UI wireframes, page structure) and Mermaid for sequential flows (user journeys, data flow). Each tool applied to its strength — ASCII shows position, Mermaid shows order.

See reference.md for complete syntax, examples, and advanced patterns.

Table Patterns for Multi-Command Workflow Docs

Tables are a distinct visualization tool from diagrams, and picking the right shape changes how fast cold readers parse a system.

Table shapeWhat it revealsUse for
Taxonomic (flat category list)Completeness of a setListing alternatives, feature matrices
Sequenced (temporal ordering)"What comes when"Disambiguating workflow commands, phased rollouts, lifecycle stages
Artifacts (producer → consumer)Hidden dependency chains and silent failure modesMulti-command workflows, data pipelines, agent handoffs

Sequenced tables disambiguate better than taxonomic ones when commands or concepts feel interchangeable. Reframing three ambiguous options as "session → weekly review → housekeeping" clicks faster than a flat category list.

Artifacts tables (3 columns: artifact / producer / consumers) make it explicit when skipping one step silently degrades downstream steps. For workflow docs where commands hand state off to each other, this is often the single most useful table in the document — it surfaces failure modes that prose buries. Pair with a sequence diagram (Mermaid) when the temporal order also matters.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.