ddtcorex/dsh-maestro-diagram1

@ddtcorex/dsh-maestro-diagram

Maestro diagram studio: mermaid_verify + mermaid_drift tools (hybrid with diagram-studio skill)

AI 分析

核心用途是辅助 AI 智能体在设计文档中编写和验证 Mermaid 架构图。适合需要自动生成技术图表、进行架构设计的开发任务。支持校验语法并导出为 SVG/PNG/PDF。

パッケージ
@ddtcorex/dsh-maestro-diagram
バージョン
0.1.0
最終更新
2026/08/28

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ddtcorex/dsh-maestro-diagram

ドキュメント

README 全文を読む ↗

Usage (agent)

  1. Load diagram-studio skill — it selects flowchart vs sequenceDiagram vs classDiagram vs erDiagram vs stateDiagram by semantic pattern.
  2. State type, size (85%/100%), what will be cut due to budget (density 4/10) and wait for redirect (confirm-before-drawing).
  3. Write Mermaid to docs/specs/*-design.md (or docs/architecture.md §1.1), call mermaid_verify — fix until ok:true.
  4. If audience: client, also render editorial HTML: mermaid-cli -i .mmd -o .svg → embed inline SVG into docs/diagrams/.html per audience table, then chrome --screenshot → PNG and --print-to-pdf → deck. Hide source/tokens/footer for client.
  5. Before PR, run mermaid_drift --diagram docs/architecture.md --roots packages/*,govard,maestro-skills — fix missingInCode by patching doc or code.

CLI fallback (no plugin): node maestro-skills/skills/diagram-studio/scripts/verify-mermaid.mjs docs/architecture.md