Design
/Beginner
Diagram as Code
Produces Mermaid diagrams from plain descriptions or existing code: flowcharts for logic and processes, sequence diagrams for request flows, entity relationship diagrams from models or migrations, state and C4-style context views, with valid syntax, readable labels and a legend. Use when the user needs a diagram for docs, a README, a design review or pull request, or wants to visualize how parts of a system interact.
Preview
# Diagram as Code Diagrams in text live next to the code, render in GitHub and most docs tools, and get reviewed in pull requests. This skill picks the right diagram type, derives it from the code or description, and writes Mermaid that renders on the first t
Related skills