Agent skill pack · 1 skill
Diagram Design
Diagram Design is Cathryn Lavery's skill for drawing diagrams as one self-contained HTML file with inline SVG in a restrained editorial style. The agent picks from fifty diagram types, applies your brand tokens, follows strict connector and density rules and can redraw draw.io, Mermaid, Excalidraw or PlantUML files. It suits people publishing diagrams in posts, docs and slides.
Works with
- Cursor, Cline, Gemini CLI, Windsurf, Amp and other Agent Skills hosts
- Claude Code
- Codex
- GitHub Copilot
- Factory Droid
- Qoder
- Pi
What problems it solves
- Agent diagrams look like generic boxesA fixed editorial system with hairlines, no shadows, a 4px grid and one or two accent elements replaces default renderer styling.
- Diagrams ignore your brandOnboarding reads your site's colours and fonts, checks contrast and writes them as tokens that every later diagram uses.
- Too much crammed into one figureA complexity budget of nine nodes and twelve arrows, plus a removal checklist, pushes the agent to cut or split.
- Old Mermaid or draw.io files look datedImport scripts extract the content and the agent redraws it at a chosen size, detail level and audience, with a ledger of what changed.
Skill guides
Explained step by step on this site
The skill
Skill names are shown as /name: depending on your agent, a skill runs when it is relevant or when you call it by name, and plugin installs may add a prefix. Highlighted skills have a guide on this site; the others open their folder on GitHub.
No skill matches that filter.
Install
Pick your agent; commands come from the author’s README.
Cursor, Cline, Gemini CLI, Windsurf, Amp and other Agent Skills hostsInstalls the skill only; update it with npx skills update diagram-design.
npx skills add cathrynlavery/diagram-designClaude Code (plugin)Adds the slash commands; turn on auto-update for the marketplace in /plugin.
/plugin marketplace add cathrynlavery/diagram-design
/plugin install diagram-design@diagram-designCodexCodex refreshes the marketplace at startup.
codex plugin marketplace add cathrynlavery/diagram-design
codex plugin add diagram-design@diagram-designGitHub CopilotIncludes the doctor, export, import and profile capabilities.
copilot plugin marketplace add cathrynlavery/diagram-design
copilot plugin install diagram-design@diagram-designFactory DroidDroid tracks the plugin by commit rather than version number.
droid plugin marketplace add https://github.com/cathrynlavery/diagram-design
droid plugin install diagram-design@diagram-design --scope userQoderInstalls the native plugin from a local clone.
git clone https://github.com/cathrynlavery/diagram-design.git
qoder plugins validate ./diagram-design
qoder plugins install ./diagram-design
qoder plugins listPiRun /reload in an open session, and pi update --extensions to pull updates.
pi install https://github.com/cathrynlavery/diagram-designUse the plugin marketplace on Claude Code, Codex or Copilot to get updates and the import, export, profile and doctor commands; npx installs the skill alone. PNG export needs Playwright with Chromium, and the first diagram in a new project asks whether to onboard your brand. Check the author’s README for changes before you run a command.
Questions
Is it free, and is the output editable?
The skill is MIT-licensed. Output is a single HTML file with inline SVG, so you change it by asking the agent again or editing the SVG; there is no diffable source format like Mermaid.
Does it replace Mermaid in my docs?
The README says Mermaid remains the better fit for docs in Git that change often; this skill targets diagrams you intend to publish.
Does it need network access?
Diagrams load three Google Fonts by default; choosing system fonts makes the file fully offline. Brand onboarding fetches the website you name.
Can I keep separate brands for different clients?
Yes. Save each onboarded brand as a named profile and add a .diagram-design marker naming the profile to each project.
This page is trendhub’s own summary of a public repository. The skills, their text and every update live in cathrynlavery/diagram-design by Cathryn Lavery; we do not host or modify the files.