What do you want to do?
3 use cases
-
Draw a flowchart or architecture diagram as lint-clean SVG
Have your agent hand-place an SVG diagram in the house style and confirm it with svg-lint.
View prompt
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.
-
Lint an existing SVG and read findings as JSON
Run svg-lint on a diagram and get each violation with its check id and repair line.
View prompt
In the svg-diagram repo, run node tools/svg-lint/bin/svg-lint.mjs <path/to/file.svg> --json and list each finding's check id and repair line. Confirm the file reports 0 errors and 0 warnings before calling it clean.
-
Draw a sequence or data-flow diagram with CJK labels
Get an agent to size Chinese, Japanese or Korean labels correctly so text stays inside its boxes.
View prompt
Using the svg-diagram skill from bybit-exchange/svg-diagram, draw a sequence diagram of <process> with CJK labels in diagram.svg, sizing each label from the CJK width table. Run the linter and confirm 0 errors and 0 warnings, with no text overflow findings.
Quick start with SVG Diagram
- Check you have what it needs: 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.
- Open bybit-exchange/svg-diagram on GitHub and read the README and license.
- Run
npx skills add bybit-exchange/svg-diagram -gto install the skill for your agents. - 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). - Fix each finding using its repair line, then rerun the linter until the output shows 0 errors, 0 warnings.
These steps come from our top use case, Draw a flowchart or architecture diagram as lint-clean SVG, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bybit-exchange/svg-diagram
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeBest AI repos for Software and DevOps · Compared in: Best open-source AI repos for drawing diagrams with AI
About this repo
- Who it is forDevelopers and technical writers who need SVG diagrams drawn by an agent in one consistent, lint-checked style.
- Why it is hot662 stars on GitHub as of Nov 6, 2026, launched Aug 13, 2026
- LanguageJavaScript
- Sourcegithub.com/bybit-exchange/svg-diagram · Back to Hot repos
Requirements
- 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
Add this badge to your README
Maintain SVG Diagram? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/bybit-exchange-svg-diagram/?utm_source=github&utm_medium=badge&utm_campaign=bybit-exchange-svg-diagram)
HTML
<a href="https://dedupedai.com/use-cases/bybit-exchange-svg-diagram/?utm_source=github&utm_medium=badge&utm_campaign=bybit-exchange-svg-diagram"><img src="https://dedupedai.com/badge/bybit-exchange/svg-diagram.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about SVG Diagram
What is SVG Diagram?
A house style and zero-dependency linter that lets a coding agent hand-place SVG diagrams and check them against fixed layout, font, colour and arrow rules. It is an open-source project on GitHub: https://github.com/bybit-exchange/svg-diagram.
How do I use SVG Diagram?
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). The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is SVG Diagram for?
Developers and technical writers who need SVG diagrams drawn by an agent in one consistent, lint-checked style.
What can I do with SVG Diagram?
3 use cases so far, for example: Draw a flowchart or architecture diagram as lint-clean SVG; Lint an existing SVG and read findings as JSON; Draw a sequence or data-flow diagram with CJK labels. Each has steps and a copy-paste agent prompt.
What do I need to run SVG Diagram?
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.
What are alternatives to SVG Diagram?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is SVG Diagram safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.