DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to draw a flowchart or architecture diagram as lint-clean SVG with SVG Diagram

Have your agent hand-place an SVG diagram in the house style and confirm it with svg-lint.

Short answer: Run npx skills add bybit-exchange/svg-diagram -g to install the skill for your agents; then start a new session and ask your agent for a diagram of your system, confirming it announces it is using SVG Diagram; run node ~/.claude/skills/svg-diagram/tools/svg-lint/bin/svg-lint.mjs diagram.svg (this path applies to a Claude Code install). All steps.

  • Top pick
  • Software and DevOps
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA developer writing a README or docs page who needs a diagram that matches a consistent style and renders on GitHub.

The problemAuto-layout tools choose positions you did not pick, and hand-written SVG drifts in spacing, fonts and arrowheads.

The outcomeA plain SVG file with every coordinate chosen and annotated, reported by svg-lint as 0 errors and 0 warnings.

What you need first

  • Node.js, since svg-lint is plain Node with no packages
  • A coding agent that loads skills, such as Claude Code, Codex, Cursor or Gemini CLI
  • npx, to run the skills install command

Steps

  1. Run npx skills add bybit-exchange/svg-diagram -g to install the skill for your agents.
  2. Start a new session and ask your agent for a diagram of your system, confirming it announces it is using SVG Diagram.
  3. Run node ~/.claude/skills/svg-diagram/tools/svg-lint/bin/svg-lint.mjs diagram.svg (this path applies to a Claude Code install).
  4. Fix each finding using its repair line, then rerun the linter until the output shows 0 errors, 0 warnings.

Prompt for your agent

Using the svg-diagram skill from bybit-exchange/svg-diagram, draw an architecture diagram of <system> as diagram.svg. Run node tools/svg-lint/bin/svg-lint.mjs diagram.svg and fix every finding until it reports 0 errors and 0 warnings.

Caveat. The linter is a maintainer tool that nothing runs for you, so you must invoke it yourself before handing a diagram over.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for bybit-exchange/svg-diagram and "Draw a flowchart or architecture diagram as lint-clean SVG"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer