AgentStack
SKILL verified MIT Self-run

Draw Mermaid Diagrams

skill-junfengran-dev-env-draw-mermaid-diagrams · by JunfengRan

>-

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add skill-junfengran-dev-env-draw-mermaid-diagrams

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-junfengran-dev-env-draw-mermaid-diagrams)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
today

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Draw Mermaid Diagrams? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

绘制 GitHub 兼容的 Mermaid 图

dev-env 仓库的 Markdown 中编写 Mermaid 时,遵循本 skill,并在提交前运行验证。

工作流

  1. 确定图类型:flowchart / sequenceDiagram / stateDiagram-v2 / erDiagram / gantt
  2. 按兼容性规则编写(见下文)
  3. 本地验证npm run validate:mermaid
  4. 提交:CI 工作流 .github/workflows/validate-mermaid.yml 会自动复检

GitHub 兼容性规则(必须遵守)

通用

| 规则 | 说明 | |------|------| | 节点 ID | 用 camelCase,无空格:userService,不用 user_service | | 保留字 | 不用 endsubgraphgraphloop 作节点/参与者 ID | | 特殊字符 | @ / ( ) # 等必须包在引号内:A["@scope/pkg"] | | 多词标签 | 一律加引号:B["AI SDK streamText"] | | 不用 emoji | GitHub 渲染器可能拒绝 | | 不用 \n | 用实际换行或缩短标签,勿写 \n 转义 |

flowchart

  • 边标签含特殊字符时加引号
  • subgraph 标题加引号
  • 避免 @pkg/name 裸写在 []

sequenceDiagram

  • 参与者 ID 不能与 loop/alt 等关键字冲突
  • 多词显示名必须引号

验证命令

npm install
npm run validate:mermaid
npm run validate:mermaid -- --render

输出格式

````markdown

flowchart LR
    A[Step A] --> B[Step B]

````

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.