More screenshots
Works with the AI Agents you already use
Editorial SVG Diagram Compiler
Turn Mermaid code and JSON architecture specs into crisp, 4px-grid editorial SVGs with orthogonal connectors, WCAG contrast tokens, and automated geometry linting.
$15
Editorial SVG Diagram Compiler
Example session with this skill installed
Compile the Mermaid flowchart in system_design.md into a light-theme editorial SVG and lint the output for 4px grid alignment.
- Read your context and instructions
- Compiled the editorial svg diagram
I have processed system_design.md, extracted the Mermaid flowchart, and compiled it into a publication-grade SVG. The output has been validated against the 4px grid and WCAG 2.1 contrast standards.
Compiled Architecture Diagram
<svg width="400" height="240" viewBox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#ffffff" />
<g id="connectors">
<!-- Orthogonal rounded-elbow path: Load Balancer to API Gateway -->
<path d="M 120 80 L 160 80 Q 168 80 168 88 L 168 120" fill="none" stroke="#24292f" stroke-width="2" />
</g>
<g id="nodes">
<!-- Load Balancer Node: 4px snapped -->
<rect x="20" y="60" width="100" height="40" rx="4" fill="#f6f8fa" stroke="#24292f" stroke-width="2" />
<text x="70" y="85" text-anchor="middle" font-family="sans-serif" font-size="12" fill="#24292f">Load Balancer</text>
<!-- API Gateway Node -->
<rect x="116" y="120" width="100" height="40" rx="4" fill="#f6f8fa" stroke="#24292f" stroke-width="2" />
<text x="166" y="145" text-anchor="middle" font-family="sans-serif" font-size="12" fill="#24292f">API Gateway</text>
</g>
</svg>
Next steps
- Review the generated
system_design.svgin your browser to verify node placement. - Run
node scripts/lint-diagram.mjs --input system_design.svgto see the full geometry report. - Update the Markdown file to reference the new SVG asset instead of the raw Mermaid block.
Connects securely to your tools. The creator never sees your data.
About this skill
Standard Mermaid output often looks cluttered, uses diagonal lines, and lacks consistent branding for professional documentation. This skill converts raw Mermaid code and JSON specs into crisp, publication-grade editorial SVGs that align to a strict 4px grid.
What it does
- Multi-engine compilation translates structured JSON or Mermaid into seven specific styles including architecture, sequence, and waterfall.
- Strict grid alignment ensures every node, gap, and radius snaps to a deterministic 4px spatial grid for perfect visual symmetry.
- Orthogonal routing replaces messy diagonal lines with axis-aligned connectors and 8px rounded-elbow paths.
- WCAG 2.1 compliance automatically applies light and dark hex tokens that guarantee at least 4.5:1 text contrast.
- Report automation scans entire Markdown files to compile every fenced Mermaid block into standalone SVG assets.
- Geometry linting validates generated files for node overlaps, security risks, and grid violations before final delivery.
How it works
- Spec Input: Provide a Mermaid file, a Markdown report with code fences, or a structured JSON diagram specification.
- Engine Selection: Choose from supported types such as
architecture-deltafor migrations orquadrantfor analysis. - Compilation: Run the compiler script to generate a standalone SVG or HTML file with embedded assets.
- Validation: Execute the linter to verify geometry, contrast tokens, and grid snapping.
Frameworks & tools
Built for Node.js (version 18 or higher). It produces standalone SVGs compatible with GitHub, VS Code, Notion, LaTeX, and standard PDF exporters.
Why this beats prompting it yourself
Generic LLM prompts often generate SVGs with overlapping labels, inconsistent padding, and non-accessible colors. This skill enforces a deterministic "Visual Contract" that guarantees layout precision and professional aesthetics without manual CSS tweaking.
Use cases
- Generating Before/After system migration diagrams for ADRs and RFCs.
- Converting complex Mermaid flowcharts into clean assets for slide decks.
- Bulk processing technical documentation to replace code blocks with high-resolution visuals.
- Auditing existing SVG architecture diagrams for accessibility and alignment errors.
Known limitations
Does not support Mermaid styling directives like classDef or linkStyle. Limits primary diagrams to 9 nodes and 12 connectors to prevent cognitive overload.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
Does not support Mermaid styling directives like classDef or linkStyle. Limits primary diagrams to 9 nodes and 12 connectors to prevent cognitive overload.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago