ddtcorex/dsh-maestro-diagram ↗★ 1
@ddtcorex/dsh-maestro-diagram
Maestro diagram studio: mermaid_verify + mermaid_drift tools (hybrid with diagram-studio skill)
安装
$
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