Doncheli diagram

From doncheli/don-cheli-sdd · View interactive version

Doncheli diagram is an AI agent skill from the GitHub repository doncheli/don-cheli-sdd. Auto-generate Mermaid or C4 diagrams from code analysis. Activate when user mentions "diagram", "mermaid", "architecture diagram", "C4", "class diagram", "sequence diagram", "ERD", "flowchart", "visualize code".

How to use this skill

Skill file

Don Cheli: Diagram Generator

Instructions

  1. Determine the diagram type from the request or flag: class, sequence, architecture, erd, flowchart
  2. Identify the scope: specific file, module, feature, or full project
  3. Analyze the relevant source files:
  1. Build the Mermaid diagram — validate syntax mentally before outputting
  2. Keep diagrams readable: maximum 20 nodes, split into subdiagrams if larger
  3. Never invent relationships not present in the code
  4. Add a generation timestamp as a Mermaid comment
  5. Offer to embed the diagram in the target file (README, spec doc, ADR)

Supported Outputs

Quality Gate

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.