SVG Diagram Expert: Generating and Reviewing SVG Diagrams with Built-in Specifications

Preface

When adding a flowchart or architecture diagram to a document, technical proposal, or report, a common practice is to ask a Large Language Model (LLM) to write SVG directly, or to export from Mermaid and then modify it manually. Generated results often suffer from issues such as misaligned nodes, incorrectly aligned arrows, messy color schemes, and text overflowing the canvas. If you want to check “according to specifications,” you have to create a checklist yourself and compare items one by one.

Here we introduce the SVG Diagram Making Expert (Coordinate @user_82fbf76f/svgbuilder) on SkillHub. It integrates diagram types, coordinate planning, quantifiable rules, and post-generation self-checking into the Skill. This provides the Agent with a consistent basis when drawing, fixing, or reviewing diagrams, eliminating the need for users to repeatedly explain layout requirements every time.

What is this

SVG Diagram Making Expert is a community-sourced (community) Agent Skill. The current version is 1.2.0, categorized under design-media, and maintained by the publisher user_82fbf76f. The tags indicate requires_api_key=false, meaning no additional API Key is needed after installation.

One-sentence positioning: Generate and review SVG diagrams according to built-in design specifications, covering forms such as flowcharts, architecture diagrams, closed-loop/cycle diagrams, Venn diagrams, and table diagrams. It emphasizes that the Agent should proactively enable this Skill when the user wants to draw, generate, fix, or review related diagrams, or when checking alignment, connection lines, arrows, colors, and text layout—meaning it applies even if the user does not explicitly say “according to spec” or “use svgbuilder.”

Official Entry Points:

  • SkillHub Page: https://www.skillhub.cn/skills/user_82fbf76f/svgbuilder
  • API Address: https://api.skillhub.cn/user_82fbf76f/svgbuilder

Core Features

The following capabilities are derived from the public SkillHub profile and can be compared with the webpage.

Diagram Types

Supported SVG types for generation or review according to specifications include:

  • Flowcharts
  • Architecture Diagrams
  • Closed-loop / Cycle Diagrams (including PDCA and other cyclic structures)
  • Venn Diagrams
  • Table Diagrams / Comparison Tables

Specifications and Workflow

The profile explicitly mentions three mechanisms:

  1. Coordinate Planning: Plan the layout and coordinates before writing the SVG to reduce large-scale adjustments later.
  2. 35 Quantifiable Rules: Constrain alignment, connection lines, arrows, colors, and text layout with checkable items, facilitating comparison during generation and review.
  3. Three Rounds of Post-Generation Self-Check and Case Accumulation: Perform multiple rounds of self-checking according to Skill conventions after generation; qualified cases can be accumulated for reference in future similar tasks.

Review Dimensions

In addition to “generating from scratch,” the Skill is oriented towards fixing and reviewing existing SVGs. The inspection items are consistent with the generation side, such as alignment, connection lines, arrows, colors, and text layout.

Installation and Activation

The installation guide provided on the SkillHub page is: Instruct the Agent to read the SkillHub Installation Documentation and install the coordinate @user_82fbf76f/svgbuilder.

1. Verify skillhub CLI

First, check if the CLI exists on your local machine:

command -v skillhub && skillhub --version

If not installed, you can follow the installation documentation to perform a full installation (CLI + Default Skill) or install only the CLI:

# Full installation (CLI + Default Skill, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

# CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install to the current Agent’s skills directory

When installing the skill, you must use --dir to point to the skills directory actually used by the current Agent; installing to the default ./skills/ might not be recognized. Common paths listed in the installation documentation are as follows:

Environment skills Directory
Claude Code ~/.claude/skills/
Cursor ~/.cursor/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project
Windsurf ~/.codeium/windsurf/skills/ or .windsurf/skills/

Example of installing this Skill in Cursor:

skillhub install @user_82fbf76f/svgbuilder --dir ~/.cursor/skills/

You can also search first and then install:

skillhub search svgbuilder
skillhub install @user_82fbf76f/svgbuilder --dir ~/.cursor/skills/

After installation is complete, restart or refresh the Agent according to the requirements of your client so that the Skill is loaded.

Typical Usage

The public materials do not include fixed scripts or example repositories; usage is reflected in the Skill’s trigger instructions and your task descriptions in the dialogue. Below are reproducible interactions consistent with the profile.

Generating New Diagrams

Describe the diagram type and content to the Agent, for example:

  • “Use SVG to draw a three-layer microservices architecture diagram: Gateway, Business Services, Data Layer, with arrows clearly marking the direction of calls.”
  • “Generate an SVG closed-loop diagram of the PDCA cycle, with a one-sentence description for each of the four phases.”

After loading this Skill, the Agent should generate the SVG combining coordinate planning with the 35 rules, and complete three rounds of self-checking.

Fixing or Reviewing Existing SVGs

Hand over the existing SVG code or file to the Agent and explain the intent:

  • “Check the alignment and arrows of this SVG flowchart according to specifications.”
  • “Fix the issues of text overlapping lines and crossing connection lines in this architecture diagram, and output the complete SVG.”

Even if “according to spec” or “svgbuilder” is not written, the Skill instructions still require the Agent to enable this Skill in such scenarios.

Installation Prompt (Original from Official Page)

The installation prompt provided on the SkillHub page is:

Please install `@user_82fbf76f/svgbuilder` based on https://skillhub.cn/install/skillhub.md.

You can send the above sentence directly to an Agent that supports Skills, allowing it to complete the installation according to the documentation.

Applicable Scenarios and Notes

Who is it for

  • Users who need to embed editable, scalable SVGs in Markdown, slides, or web pages but do not want to write coordinates manually every time.
  • Users who want consistent standards for alignment, connection lines, colors, and fonts in architecture diagrams, flowcharts, Venn diagrams, and comparison tables, and are willing to let the Agent self-check according to rules.
  • Users who have rough SVGs and need structured review or repair, rather than redrawing with bitmaps.

Notes

  • The quality of the diagram depends on whether the Agent has correctly installed and loaded the Skill; --dir must point to the current client’s skills directory.
  • The rating displayed on the SkillHub page is 100000, with 1503 downloads (statistics are subject to SkillHub and may change over time).
  • This Skill does not rely on an API Key; if you use other Skills that require keys simultaneously, do not confuse the configurations.
  • Complex business diagrams still require you to clearly write out nodes, relationships, and copy in the dialogue; the Skill constrains layout and specifications, not a replacement for requirement clarification.

Conclusion

The SVG Diagram Making Expert writes “what type of SVG to draw” and “what counts as qualified” into an Agent Skill: coordinate planning, 35 quantifiable rules, three rounds of post-generation self-checking, and case accumulation, covering the complete path from generation to review. If you frequently ask models to generate or modify diagrams in environments like Cursor or Claude Code, you can install @user_82fbf76f/svgbuilder (v1.2.0) via SkillHub.

  • SkillHub: https://www.skillhub.cn/skills/user_82fbf76f/svgbuilder
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye