ddtcorex/dsh-maestro-diagram ↗★ 1
@ddtcorex/dsh-maestro-diagram
Maestro 架构图工作室:提供 mermaid_verify 和 mermaid_drift 工具,支持 Mermaid 语法的校验、渲染与导出。
AI 分析
核心用途是辅助 AI 智能体在设计文档中编写和验证 Mermaid 架构图。适合需要自动生成技术图表、进行架构设计的开发任务。支持校验语法并导出为 SVG/PNG/PDF。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ddtcorex/dsh-maestro-diagram說明文件
閱讀完整 README ↗Usage (agent)
- Load
diagram-studioskill — it selectsflowchartvssequenceDiagramvsclassDiagramvserDiagramvsstateDiagramby semantic pattern. - State
type, size (85%/100%), what will be cut due to budget (density 4/10)and wait for redirect (confirm-before-drawing). - Write Mermaid to
docs/specs/*-design.md(ordocs/architecture.md §1.1), callmermaid_verify— fix untilok:true. - If
audience: client, also render editorial HTML:mermaid-cli -i .mmd -o .svg→ embed inline SVG intodocs/diagrams/.htmlper audience table, thenchrome --screenshot→ PNG and--print-to-pdf→ deck. Hide source/tokens/footer for client. - Before PR, run
mermaid_drift --diagram docs/architecture.md --roots packages/*,govard,maestro-skills— fixmissingInCodeby patching doc or code.
CLI fallback (no plugin): node maestro-skills/skills/diagram-studio/scripts/verify-mermaid.mjs docs/architecture.md