Introduction¶
In system design and reviews, architecture diagrams often undergo repeated revisions: as soon as a module is added or removed, layouts and connections must be aligned within draw.io, PPT, or Mermaid. If you prefer having an Agent directly produce a finished diagram viewable in a browser based on natural language descriptions—rather than writing DSL and rendering it yourself—the “Architecture Diagram Generator” on SkillHub takes a different path: it outputs a single .html file that can be viewed with a double-click.
The following section introduces the positioning, capabilities, and installation methods of this Skill.
What is this¶
The Architecture Diagram Generator (Coordinate @user_7f8c14e8/architecture-diagram) is a community Skill on SkillHub, categorized under design-media. The current version is 1.0.0, published by user_7f8c14e8 (listed as author 超哥CHG on the SkillHub page). It is designed for requirements such as “drawing architecture diagrams, system architectures, or module relationship diagrams”: the Agent generates HTML according to the conventions in the Skill’s SKILL.md, rather than relying on external drawing APIs.
The Skill tags indicate requires_api_key=false, meaning no additional API Key configuration is required after installation.
Core Features¶
Based on the official SkillHub description, the verified capabilities include:
- Trigger Scenarios: When a user asks to draw an architecture diagram, system architecture, or module relationship diagram, or mentions phrases like “draw a diagram,” “architecture diagram,” “system diagram,” or “module diagram,” the Agent should activate this Skill.
- Deliverable: A single
.htmlfile that can be opened directly in a browser. - Visual Style: Warm minimalist style, referencing the Paper.design aesthetic.
- Diagram Elements: Support for common architecture diagram elements such as layering, grouped cards, arrow connections, user roles, and legends.
Installation and Activation¶
The Skill follows the standard SKILL.md format. Before installing on SkillHub, ensure you have the skillhub CLI; official installation instructions can be found at SkillHub Installation and Priority Source Configuration.
Check or Install CLI¶
First, confirm whether skillhub is already installed on your machine:
command -v skillhub && skillhub --version
If it is not installed, you can use the official script (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent may not be able to recognize.
skillhub install user_7f8c14e8/architecture-diagram --dir <skills directory>
Common skills paths for various clients (excerpted from official installation docs):
| Environment | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ |
Alternatively, you can send the prompt below to an AI that supports Skills to have it complete the installation according to the documentation:
Please install `@user_7f8c14e8/architecture-diagram` based on https://skillhub.cn/install/skillhub.md.
After installation is complete, follow your Agent’s instructions to refresh or restart so the new Skill takes effect.
Typical Usage¶
Once the Skill is activated, simply describe the system boundaries and module relationships in natural language; the Agent will generate the HTML file according to the Skill rules. The following expressions are consistent with the official trigger descriptions and can be used as starting points:
Help me draw an architecture diagram for an e-commerce system: users access the API gateway via Web, followed by three services—Order, Inventory, and Payment—with MySQL and Redis at the bottom. I need layering and a legend.
Draw a module relationship diagram explaining the call direction between the frontend, BFF, and Microservices A/B. Use grouped cards to represent each layer.
After generation, locate the .html file at the path provided by the Agent and open it in a browser to verify that the layout and connections meet your expectations. If adjustments are needed, continue the conversation to add modules or modify relationships, allowing the Agent to update the same file or regenerate it.
Applicable Scenarios and Notes¶
Who is it for
- Those who need to produce diagrams quickly for reviews, documentation appendices, or internal sharing, and who accept HTML as the delivery format.
- Those who want to minimize the maintenance of Mermaid/PlantUML source code and prefer the Agent to handle layout directly based on descriptions.
Limitations and Notes
- The output is static HTML; complex interactions or templates strictly bound to enterprise drawing standards may still require manual or professional tool post-processing.
- The quality of the diagram depends on how clearly you describe the layering, modules, and connections; the Skill does not provide an independent drawing service, but rather relies on the Agent executing logic according to
SKILL.md. - The installation path must point exactly to the current Agent’s skills directory; otherwise, the Skill will not load.
SkillHub page statistics (based on crawled data): Rating 100000, Downloads 22524, Installs 194; Source: community.
Conclusion¶
The Architecture Diagram Generator consolidates “describing system structure” and “obtaining a viewable architecture diagram” into a single step: no API Key required, single-file HTML output, and complete support for common architecture diagram elements. If you frequently need to create system diagrams in environments like Cursor, you can install @user_7f8c14e8/architecture-diagram as described above and iterate on the diagram surface via conversation.
Official Entries:
- SkillHub Display Page: https://www.skillhub.cn/skills/user_7f8c14e8/architecture-diagram
- API Coordinate Page: https://api.skillhub.cn/user_7f8c14e8/architecture-diagram