From 3fa28208144fe5f9655c9fd0a2905d7d5461b854 Mon Sep 17 00:00:00 2001 From: FakeRocket543 Date: Tue, 18 Aug 2026 15:13:54 +0800 Subject: [PATCH] docs(readme): fix slash-command names (#82) Align the documented draw.io import and diagram export commands with the shipped plugin command filenames, and publish synchronized plugin version 2.4.5. --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- README.md | 12 ++++++------ skills/diagram-design/references/export.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 956b859..dde9063 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "diagram-design", "description": "Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, bar, line, Gantt and scatter charts, high-level, process, medallion, data flow, DP integration, or DP security matrix diagrams as standalone HTML/SVG/PNG. Redraw .drawio/.drawio.png/.drawio.svg or Mermaid .mmd sources at a chosen size/detail; onboard brand tokens from a website; add semantic patterns, callouts, accessible motion, or sketchy/hand-drawn styling.", - "version": "2.4.4", + "version": "2.4.5", "author": { "name": "Cathryn Lavery", "url": "https://github.com/cathrynlavery" diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 86cb08c..df7d7fc 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "diagram-design", "description": "Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, bar, line, Gantt and scatter charts, high-level, process, medallion, data flow, DP integration, or DP security matrix diagrams as standalone HTML/SVG/PNG. Redraw .drawio/.drawio.png/.drawio.svg or Mermaid .mmd sources at a chosen size/detail; onboard brand tokens from a website; add semantic patterns, callouts, accessible motion, or sketchy/hand-drawn styling.", - "version": "2.4.4", + "version": "2.4.5", "author": { "name": "Cathryn Lavery", "url": "https://github.com/cathrynlavery" diff --git a/README.md b/README.md index bec7834..59293e5 100644 --- a/README.md +++ b/README.md @@ -243,9 +243,9 @@ Already have diagrams in draw.io / diagrams.net or Mermaid? Point the skill at t *A 12-node draw.io file redrawn at `balanced` detail for a blog post. The source's six pastel fills became one accent; its hand-dragged coordinates became a 4px grid.* ``` -/diagram-design:import platform.drawio -/diagram-design:import platform.drawio --size=slide-16x9 --detail=simplified --audience=executive -/diagram-design:import platform.drawio --detail=faithful --format=png --page=all +/diagram-design:import-drawio platform.drawio +/diagram-design:import-drawio platform.drawio --size=slide-16x9 --detail=simplified --audience=executive +/diagram-design:import-drawio platform.drawio --detail=faithful --format=png --page=all /diagram-design:import-mermaid README.md --diagram=all /diagram-design:import-mermaid architecture.mmd --size=slide-16x9 --detail=simplified ``` @@ -294,9 +294,9 @@ Diagrams ship as self-contained HTML, but you can export the diagram itself for **Claude Code:** ``` -/diagram-design:export path/to/diagram.html -/diagram-design:export path/to/diagram.html --svg-only -/diagram-design:export path/to/diagram.html --png-only --scale=3 +/diagram-design:export-diagram path/to/diagram.html +/diagram-design:export-diagram path/to/diagram.html --svg-only +/diagram-design:export-diagram path/to/diagram.html --png-only --scale=3 ``` Or just ask in natural language: diff --git a/skills/diagram-design/references/export.md b/skills/diagram-design/references/export.md index 25e5c92..9f26e92 100644 --- a/skills/diagram-design/references/export.md +++ b/skills/diagram-design/references/export.md @@ -6,7 +6,7 @@ Convert a generated diagram HTML file into a portable `.svg` and/or `.png` next Load this file when: -- The user invokes `/diagram-design:export ` (the plugin's slash command — defined in `commands/export.md` at the repo root). +- The user invokes `/diagram-design:export-diagram ` (the plugin's slash command — defined in `commands/export-diagram.md` at the repo root). - The user asks in natural language to export, save, rasterize, convert, or download a diagram in `.svg` or `.png` form. Typical phrasings: - "export this as PNG" - "save as SVG"