rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xuedipiaofei/dsh-ai-diagrams
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Editorial diagrams for DeepSeek Harness. Ask in plain words and the agent draws one self-contained HTML file with inline SVG; it renders directly in the chat, and you can export HTML, SVG or PNG. 50 diagram types, redraws existing draw.io / Mermaid / Excalidraw / PlantUML diagrams, and can match a website's brand.
Built on the MIT-licensed cathrynlavery/diagram-design skill (© Cathryn Lavery), vendored unmodified apart from the DeepSeek Harness tools section.
Links — npm · Marketplace PR · Workshop PR

dsh plugin add dsh-ai-diagrams
Or install from the marketplace / a local checkout.
Say what you want a diagram of, then publish it:
给这个应用的架构画一张图:前端、后端、数据库、Redis 缓存。
Draw a quadrant of Q2 projects by impact vs effort.
The agent loads the diagram-design skill, writes the HTML document, and calls diagram_save. The diagram appears inline; the card offers HTML, SVG, PNG, Open and a larger preview. Ask for changes and the agent redraws it.
Redraw an existing diagram:
Redraw platform.drawio for my deck.
The agent calls diagram_import, gets a structure digest, picks the matching type, and saves the editorial version.
Browse the bundled types in the right sidebar (+ → AI diagrams gallery): search, preview an example, and copy a ready-to-send prompt. The same list is available to the agent as diagram_types.
Match your brand once:
Learn the brand from https://example.com and save it as "acme", then draw this quarter's roadmap with the acme profile.
diagram_profile extracts the palette and typefaces into $DSH_HOME/editorial-diagrams/profiles/<name>.md; later diagrams reuse the same tokens.
Need a PNG file instead of a browser download? Ask for it:
Export that diagram as a PNG next to the HTML.
diagram_png rasterizes the saved page at 2× with the machine's Chrome/Chromium (no Python, no Playwright).
| Tool | What it does |
|---|---|
diagram_save |
Validate + save a diagram HTML into diagrams/; renders the inline card |
diagram_svg |
Export the diagram-only .svg next to the saved HTML |
diagram_validate |
Check the accessible-SVG / single-file contract; returns exact errors |
diagram_import |
Extract a bounded structure digest from draw.io / Mermaid / Excalidraw / PlantUML |
<script>, no remote assets except the approved Google Fonts stylesheet. Motion variants are not previewed in DSH.diagram_png needs a locally installed Chrome/Chromium (set CHROME_PATH when it is not in a standard location).diagram_profile fetch rejects loopback/private targets and caps a page at 1 MB.verify_geometry.py) is not ported; the DSH validator checks the accessible/SVG contract and single-file safety.Plugin code: Apache-2.0. Vendored skills/diagram-design/ is MIT (© Cathryn Lavery); see THIRD_PARTY_LICENSES.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。