Content
85%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
A highly actionable, well-sequenced operational manual: every step has exact commands, the XML path has an explicit repair-pass validation checkpoint, and the troubleshooting table provides genuine error-recovery loops. Its weaknesses are that the main file carries environment-specific edge-case detail (Windows/WSL2 CLI location, .url workarounds) that belongs in reference files, and a few spots over-explain shell basics Claude already knows.
Suggestions
Move the Windows/WSL2 CLI-location chains (registry queries, find-drawio.ps1, per-user install paths) and the Windows .url-file workaround into a references/ file (e.g. references/windows-cli.md), keeping SKILL.md to a short pointer plus the macOS/Linux detection — this would cut roughly a third of the body while keeping those steps one fetch away when actually needed.
Trim explanations of concepts Claude already knows, e.g. 'Do not wrap it in backticks — in bash that is command substitution, which would execute the binary' and the restatement of the export command in the 'Export command' section after it already appears in 'The pipeline'.
Consider bundling condensed versions of the three remote references (mermaid-reference, xml-essentials, xml-reference) or their most-used subsets locally, so authoring does not depend on network fetches to raw.githubusercontent.com at diagram-creation time.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Dense with operational specifics Claude does not know (direct Mermaid→PNG '-e' export is broken, the '#R' URL format vs '#create=' rewrite, zlib-vs-pako byte mismatch, --disable-gpu for headless GPU failures) with almost no concept tutorials. Minor over-explanations keep it from 5: explaining that backticks in bash are command substitution, and the export command appearing in both 'The pipeline' and the 'Export command' section. | 4 / 5 |
Actionability | Fully executable, copy-paste-ready guidance throughout: exact CLI invocations ('drawio -x -f xml -o diagram.drawio diagram.mmd'), the Node zlib URL one-liner, a complete PowerShell CLI-detection script, a full flag table, per-platform open commands, and concrete WSL2/Windows '.url' workarounds. The examples cover all common output paths (drawio/png/svg/pdf/url). | 5 / 5 |
Workflow Clarity | The pipeline is explicitly sequenced (Author → .drawio → Deliver → Open) with an explicit validation checkpoint ('Run this right after writing XML to a .drawio file, before any layout, export or URL step' — the repair pass) and real feedback loops: a troubleshooting table mapping each failure to cause, fix, and retry (e.g. 'Retry the same command with --disable-gpu added') plus fallback chains when the CLI is absent. | 5 / 5 |
Progressive Disclosure | External references are well-signaled with explicit fetch conditions ('Only when a diagram needs layers, tags, metadata and placeholders… also fetch the full XML reference') and scripts/find-shapes.js is a real, correctly-referenced bundle file — better signaling than anchor 3's example. However, ~150 lines of Windows/WSL2-specific CLI-location chains and .url-file workarounds are inlined in SKILL.md, making it a ~400-line manual rather than an overview pointing to detailed materials. Not 4 because that inline bulk is more than a minor organization gap; not 2 because the structure and signaling are good. | 3 / 5 |
Total | 17 / 20 Passed |