AgentStack
SKILL verified Apache-2.0 Self-run

Doncheli Diagram

skill-doncheli-don-cheli-sdd-doncheli-diagram · by doncheli

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".

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-doncheli-don-cheli-sdd-doncheli-diagram

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Doncheli Diagram? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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:
  • class: parse class/interface definitions, inheritance, and composition
  • sequence: trace function calls, async flows, and inter-module communication
  • architecture: identify top-level modules, external services, and data flows (C4 Context/Container)
  • erd: parse ORM models, entity fields, and relationships
  • flowchart: follow conditional logic for a specific feature or endpoint
  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

  • Inline Mermaid code blocks (default) — renders in GitHub, GitLab, Notion
  • C4 PlantUML (with --format c4) for advanced architecture docs
  • Save to file with --output

Quality Gate

  • If the analyzed scope yields fewer than 3 nodes, warn the user the diagram may not be useful
  • If source files are not readable (permissions, binary), skip and report which files were skipped
  • Do not use this skill to generate diagrams from memory — always analyze actual source files

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.