Dynamic-Archify: Generate Exportable HTML Architecture Diagrams Using Natural Language or Mermaid

Preface

When writing design documents, review materials, or operations runbooks, diagrams are often more practical than long paragraphs: system boundaries, call sequences, data flows, state machines—many things can be clarified with a single diagram instead of repeated explanations. Common approaches include hand-drawing, using draw.io, or writing Mermaid and then pasting it into Markdown. Mermaid is fast, but the layout and the aesthetic of an “architecture diagram” may not be consistent; hand-drawing takes time.

Below we introduce dynamic-archify on SkillHub (identifier @user_ab5ae6ee/dynamic-archify-unclecheng, current version 1.0.6). It lets the Agent generate standalone HTML diagram pages with embedded SVG based on your description or existing Mermaid code. It includes a light/dark theme toggle and supports exporting to PNG, JPEG, WebP, and SVG; the page summary also mentions exporting animated GIFs. The tag requires_api_key=false indicates that no additional API key is required after installation.

What is this

dynamic-archify is a community-sourced (community) Agent Skill in the design-media category, published by SkillHub user user_ab5ae6ee (displayed as Uncle城). Its positioning can be summarized as: turning requirements for “architecture diagrams, flowcharts, sequence diagrams, data flow diagrams, lifecycle/state diagrams,” etc., into an archify style layout, outputting a single-file HTML + SVG rather than merely pasting a block of code in the conversation that cannot be directly delivered.

Compared with “generating Mermaid text only inside a chat window,” it emphasizes a finished, openable page with one-click export of bitmaps/vector graphics, making it more suitable for Wiki, PPT, or review attachments.

Core features

All the following capabilities are taken from SkillHub’s official summary and page description, verified to be consistent.

  1. Diagram types: architecture diagrams, workflows, sequence diagrams, data flow diagrams, lifecycle/state diagrams; the use-case description also covers infrastructure and cloud architecture, security and network topology, approvals and CI/CD flows, API call sequences, data pipelines and ETL/ELT, PII boundaries and data lineage, state machines and state transitions, etc.
  2. Input methods: natural language descriptions, or paste Mermaid (supports flowchart, sequenceDiagram, stateDiagram); the Skill will lay it out from scratch in archify style, and can also “transform/beautify” existing Mermaid.
  3. Deliverables: a standalone HTML file with embedded SVG graphics.
  4. Interaction and export: built-in dark/light theme toggle; one-click export PNG / JPEG / WebP / SVG; the Chinese description also mentions GIF export.
  5. Dependencies: requires_api_key=false, no mandatory third-party keys.

SkillHub page statistics (at the time of scraping): rating 100000, downloads 2221; category design-media.

Installation and activation

Follow the general SkillHub documentation for installation: first confirm whether the skillhub CLI exists on your machine, then install the Skill into the skills directory actually read by the current Agent (if installed to the wrong directory, the Agent will not load it).

1. Check or install the SkillHub CLI

command -v skillhub && skillhub --version

If it is not installed, run the official installation script (full installation or CLI-only, per https://skillhub.cn/install/skillhub.md):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install dynamic-archify

Map the package name and skills directory to your environment. For example, the common directory for Cursor is ~/.cursor/skills/:

skillhub install @user_ab5ae6ee/dynamic-archify-unclecheng --dir ~/.cursor/skills/

Claude Code commonly uses: ~/.claude/skills/. Codex commonly uses: ~/.codex/skills/ or .agents/skills/ under the project. For other clients’ paths, see Section 4 of https://skillhub.cn/install/skillhub.md.

You can also send the following prompt to an AI that supports Skill installation and let the Agent complete installation using the same documentation:

Please install `@user_ab5ae6ee/dynamic-archify-unclecheng` according to https://skillhub.cn/install/skillhub.md.

After installation, refresh or restart as required by your client so the new Skill is loaded.

Typical usage

The Skill’s trigger conditions are listed in the official summary: when the user wants system/infrastructure/cloud/security/network-topology architecture diagrams, or workflows, approvals, runbooks, CI/CD, API sequences, data pipelines, state machines, or requests to transform or beautify Mermaid, the Agent should enable this Skill. Below are conversational patterns you can reproduce directly (output is an HTML file path and export operations, as actually executed by the Agent).

Drawing from scratch using natural language

Please use dynamic-archify to draw a three-tier web architecture: CDN, load balancer, two application instances, master/replica database; mark the HTTPS entry and that read-only queries go to the replica. Generate a standalone HTML, and explain how to export PNG.

Paste Mermaid and then beautify

Below is a Mermaid flowchart; please re-layout it in archify style as a standalone HTML, keep the node semantics, and support light/dark theme switching:

flowchart LR
  A[Client] --> B[API Gateway]
  B --> C[Service]
  C --> D[(DB)]

Sequence and state diagrams

Use sequenceDiagram to describe: user login → auth service verifies → issue token → business API accesses with token. Output HTML and export SVG.
Order state machine: pending payment, paid, shipping, completed, cancelled; mark legal transitions. Use stateDiagram or natural language; deliver HTML.

After the above steps, you should obtain HTML that can be opened in a browser; switch themes within the page and choose PNG/JPEG/WebP/SVG (and GIF per the summary, if supported in this version) to complete export.

Use cases and cautions

Who it suits: developers, architects, and technical writers who need to produce “ready-to-deliver” architecture and flow diagrams quickly without tuning Mermaid themes and layouts from scratch; it is also useful when you have a Mermaid draft and want to unify it into archify visual style.

Cautions:

  • For complex diagrams, it is still recommended to clearly specify boundaries, component names, and data directions in the prompt to reduce the chance that the Agent misses or merges nodes.
  • Mermaid is officially stated to support only flowchart / sequenceDiagram / stateDiagram; compatibility with other Mermaid diagram types depends on actual generation results.
  • The installation directory must correspond to the current Agent (see skillhub install --dir); official documentation warns that installing into the default ./skills/ may not be recognized.
  • Page statistics and version will change as SkillHub updates; before installation, you can confirm the version on the Skill page (currently 1.0.6).

Conclusion

dynamic-archify consolidates architecture, workflow, sequence, data flow, and state diagrams into shareable HTML/SVG outputs with theme switching and multi-format export; input can be colloquial descriptions or Mermaid snippets. For installation or documentation, open the SkillHub Skill page:

  • https://www.skillhub.cn/skills/user_ab5ae6ee/dynamic-archify-unclecheng
  • https://api.skillhub.cn/user_ab5ae6ee/dynamic-archify-unclecheng
羽毛球分组比赛记分
小程序二维码

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

Xiaoye