Generate architecture diagrams, ER diagrams, sequence diagrams, flowcharts, and class diagrams from codebases using Mermaid.js. Use when users ask to visualize code structure, draw architecture diagrams, create ER diagrams from database models, generate sequence diagrams from API flows, or produce any diagram from source code. Triggers on: 'draw architecture', 'generate diagram', 'visualize code', 'ER diagram', 'sequence diagram', 'class diagram', 'flowchart from code', 'module dependency graph'.
$npx -y skills add dp-archive/archive --skill code-to-diagramInstalls into the current project.
Run `npx skills use "https://github.com/dp-archive/archive" --skill "dp-archive/archive/code-to-diagram"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dp-archive/archive" that are relevant to the current task. Run `npx skills add "https://github.com/dp-archive/archive"` and select the relevant skills, then follow their instructions.