Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bahayonghang avatar

Drawio Academic Skills

  • 621 installs
  • 271 repo stars
  • Updated July 28, 2026
  • bahayonghang/drawio-skills

drawio-academic-skills is an agent skill that produces publication-ready academic diagrams and methodology figures in draw.io for developers and researchers preparing papers, theses, and conference submissions.

About

drawio-academic-skills is a bahayonghang/drawio-skills overlay (version 2.3.0) for publication-ready draw.io figures in papers, theses, dissertations, and IEEE or ACM submissions. It applies academic policy on top of the sibling ../drawio base skill, keeping authoring YAML-first and offline-first with Node 20+ and optional draw.io Desktop for PNG, PDF, or embedded SVG exports. Seven task routes cover academic-create, math-formula, edit, replicate, stencil-heavy network diagrams, style presets, and direct XML exceptions. Default deliverables are .drawio and .svg files with .spec.yaml sidecars, supporting three figure types—architecture, roadmap, and workflow—and academic or academic-color themes. Quality gates enforce node budgets, caption-ready legends, formula delimiters, and exported-artifact self-checks without requiring MCP. Developers reach for drawio-academic-skills when camera-ready figures must meet venue readability rules.

  • Academic figure layouts with consistent labeling
  • Experiment and methodology diagram templates
  • System architecture sketches for papers
  • Export guidance for print and slide formats
  • Citation-friendly annotation conventions

Drawio Academic Skills by the numbers

  • 621 all-time installs (skills.sh)
  • Ranked #354 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/bahayonghang/drawio-skills --skill drawio-academic-skills

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs621
repo stars271
Last updatedJuly 28, 2026
Repositorybahayonghang/drawio-skills

How do you make publication-ready draw.io figures?

Produce publication-ready academic diagrams, system figures, and methodology charts in draw.io for papers, theses, lab reports, and conference submissions.

Who is it for?

Researchers and engineers preparing IEEE, ACM, thesis, or manuscript figures who need offline YAML-first draw.io workflows with academic quality gates.

Skip if: Casual whiteboard sketches or general UI mockups that do not need venue-specific academic caption, legend, and readability gates.

When should I use this skill?

Creating paper figures, replicating reference diagrams, exporting thesis architecture charts, or validating academic draw.io YAML specs.

What you get

.drawio and .svg deliverables, .spec.yaml sidecars, academic-themed diagrams, and optional PNG or PDF Desktop exports.

  • .drawio figure
  • .svg export
  • .spec.yaml sidecar

By the numbers

  • Skill version 2.3.0 with 7 documented task routing paths
  • Supports 3 academic figure types: architecture, roadmap, and workflow
  • Requires Node 20+ and sibling ../drawio base skill for CLI validation

Files

SKILL.mdMarkdownGitHub ↗

Draw.io Academic Overlay

Create, edit, replicate, validate, and export publication-ready draw.io figures by applying academic policy on top of the sibling Draw.io Base Skill.

This overlay is intentionally thin. It owns academic policy, academic docs, and paper examples; it does not copy base scripts, themes, schemas, official references, or workflow docs. It calls the sibling base package at ../drawio for all shared execution.

Boundary

  • Base (`../drawio`): shared execution primitives — CLI, schema, renderer, themes (including academic / academic-color), general references, general examples, style presets, Desktop export.
  • This overlay: academic policy/gates, the publication overlay doc, the academic figure playbook + checklist, and paper/pipeline examples.

Themes are a base rendering primitive and stay in the base; academic policy, docs, and examples stay here.

Required Sibling Base

Resolve shared resources relative to this overlay directory:

CapabilityUse this sibling base path
CLI../drawio/scripts/cli.js
diagrams.net URL fallback../drawio/scripts/runtime/diagrams-net-url.js
YAML schema../drawio/assets/schemas/spec.schema.json
Themes../drawio/assets/themes/
Shared examples../drawio/references/examples/
Shared references../drawio/references/docs/ and ../drawio/references/official/
Workflow guides../drawio/references/workflows/
Built-in style presets../drawio/styles/built-in/

Overlay-local academic assets: references/docs/publication-overlay.md, references/docs/academic-figure-playbook.md, references/docs/academic-export-checklist.md, and references/examples/.

If ../drawio/scripts/cli.js is missing, stop and report that the sibling base skill must be installed next to this overlay. Do not silently recreate or vendor-copy base resources into the overlay.

Non-Negotiable Contract

  • Keep academic authoring YAML-first and offline-first.
  • Never create, require, or route through .mcp.json, MCP, or a live backend.
  • Treat .drawio and .svg as the default academic final deliverables.
  • Keep .spec.yaml, .arch.json, raw YAML, and diagnostics in a project-local work directory such as .drawio-tmp/<name>/, unless the user explicitly asks for a reproducible sidecar bundle beside the final output.
  • Use draw.io Desktop only as an optional export enhancer for PNG/PDF/JPG or embedded .drawio.svg.
  • If a requested Desktop export cannot be produced locally, still deliver the editable .drawio and SVG, then report the unavailable export clearly.
  • Perform paper-readability and visual self-checks on exported SVG first, or on Desktop-exported PNG/PDF/JPG/embedded SVG when available. Do not substitute browser or Playwright screenshots when an exported artifact exists.
  • Treat external image-generation previews as optional concept previews only. They never replace YAML, .drawio, SVG, sidecars, or exported-artifact verification.
  • Keep academic-specific policy in this overlay; keep shared execution in ../drawio.
  • Do not create or modify scratch JS scripts under a user's project-local .agents/skills/drawio; port durable fixes to the sibling base skill source instead.

Academic Preflight

Before generating or editing, determine and state: venue/audience; figure type (architecture, roadmap, or workflow); color policy; caption/legend/title needs; formula and text-fidelity needs; export expectations.

Also estimate the node budget. The single authoritative budget guidance (targets, warning thresholds, node-efficient patterns, split strategies) lives in references/docs/academic-figure-playbook.md § Node Budget Management. If the estimate exceeds the playbook's recommended target, confirm a split/simplify strategy with the user before generating, and use compact patterns from references/templates/.

Full decision detail: references/docs/publication-overlay.md § Required Academic Decisions.

Source Understanding

Extract only what the figure needs from papers, reference images, or text-only prompts, and keep uncertainties explicit. See references/docs/publication-overlay.md § Source Understanding (source-type table) and references/docs/academic-figure-playbook.md § Scientific Figure Patterns.

Diagram Plan Gate

For complex paper-derived figures or academic image-replication work, present a concise diagram plan and wait for confirmation before rendering. Simple, clear academic diagrams may skip the gate and proceed to YAML/SVG. Plan template and field list: references/docs/publication-overlay.md § Diagram Plan Gate.

Optional Image Preview

Use an external image-generation tool only as an optional concept preview, only after the diagram plan is confirmed, and only with privacy approval before sending unpublished or sensitive content. Treat generated text as approximate and correct final labels/formulas/geometry in YAML. Full rules: references/docs/publication-overlay.md § Optional Image Preview.

Task Routing

Choose one route first, then load only the referenced files.

RouteTriggerLoad
academic-createpaper, thesis, IEEE, manuscript, journal, publication-ready figurethis overlay references/docs/publication-overlay.md; this overlay references/docs/academic-figure-playbook.md; this overlay references/docs/academic-export-checklist.md; base ../drawio/references/workflows/create.md
math-formulaformula, equation, LaTeX, AsciiMath, MathJax, 公式base ../drawio/references/docs/math-typesetting.md; base ../drawio/references/docs/design-system/formulas.md
editmodify an existing academic bundle or imported .drawiobase ../drawio/references/workflows/edit.md; base ../drawio/references/docs/migration-readiness.md
replicateredraw screenshot, image, SVG, or reference paper figurethis overlay references/docs/publication-overlay.md; base ../drawio/references/workflows/replicate.md; base ../drawio/references/docs/design-system/specification.md; base ../drawio/references/docs/design-system/color-guide.md
stencil-heavyacademic cloud, network, AWS, Azure, GCP, Cisco, Kubernetes figurebase ../drawio/references/docs/stencil-library-guide.md; base ../drawio/references/docs/ieee-network-diagrams.md; base ../drawio/references/official/xml-reference.md
style-presetlearn/use/list/delete/rename visual style presetsbase ../drawio/references/docs/style-extraction.md; base ../drawio/references/docs/style-presets.md; base ../drawio/styles/built-in/
direct-xml-exceptiontiny handoff-only XML or exact mxGraph controlbase ../drawio/references/upstream/pure-drawio-skill.md; base ../drawio/references/official/xml-reference.md

Academic Defaults

For academic-paper requests, set these before rendering:

meta:
  profile: academic-paper
  figureType: architecture # architecture | roadmap | workflow
  theme: academic # or academic-color when color is acceptable
  title: Caption-ready title
  description: One sentence explaining the figure intent
  legend: Required when symbols, colors, line styles, or icons need explanation

This section defines the default academic final deliverables.

Default deliverables:

  • <name>.drawio
  • <name>.svg

Intermediate work directory:

  • <name>.spec.yaml
  • <name>.arch.json
  • raw or normalized YAML and diagnostics

Add <name>.png / .pdf / .jpg only when requested or needed for Word/A4/thesis/raster workflows, and only when draw.io Desktop export is available.

Create Flow

1. Classify the figure as architecture, roadmap, or workflow. 2. For complex paper-derived requests, extract the research evidence chain and confirm the diagram plan before rendering. 3. When the optional image-preview trigger applies, generate a concept preview after confirmation, then revise the plan if needed. 4. Draft or normalize the YAML spec as the canonical source; use concise labels (shorten labels before shrinking fonts). 5. Validate through the sibling base CLI, then render the editable .drawio and standalone SVG with sidecars in the work directory. 6. Run an exported-artifact self-check before reporting completion.

node ../drawio/scripts/cli.js input.yaml figure.drawio --validate --write-sidecars --sidecar-dir .drawio-tmp/figure --strict-warnings
node ../drawio/scripts/cli.js input.yaml figure.svg --validate --write-sidecars --sidecar-dir .drawio-tmp/figure --strict-warnings

Use paths relative to the overlay directory, or absolute paths when running from another working directory. Detailed figure-type patterns: references/docs/academic-figure-playbook.md.

Edit and Replicate Flow

  • If a .spec.yaml sidecar exists, edit the YAML spec first. If only .drawio exists, import it through the base CLI (--input-format drawio --export-spec).
  • For image/SVG replication, preserve text boxes, captions, legends, formulas, edge labels, baseline/offset, font family/size/italic state, alignment, and spacing when visible. Use explicit bounds for standalone text/formula blocks and labelOffset for connector labels off the line.
  • Keep all regenerated files on the same basename so final artifacts and work-dir sidecars stay round-trippable.

Export Policy

Use the sibling base CLI for deterministic exports.

# Editable .drawio + offline SVG with work-dir sidecars
node ../drawio/scripts/cli.js input.yaml figure.drawio --validate --write-sidecars --sidecar-dir .drawio-tmp/figure --strict-warnings
node ../drawio/scripts/cli.js input.yaml figure.svg --validate --write-sidecars --sidecar-dir .drawio-tmp/figure --strict-warnings

# Desktop-enhanced exports
node ../drawio/scripts/cli.js input.yaml figure.drawio.svg --validate --write-sidecars --sidecar-dir .drawio-tmp/figure --use-desktop
node ../drawio/scripts/cli.js input.yaml figure.png --validate --use-desktop
node ../drawio/scripts/cli.js input.yaml figure.pdf --validate --use-desktop

If Desktop is unavailable, generate a diagrams.net URL from the .drawio artifact and report the missing export honestly:

node ../drawio/scripts/runtime/diagrams-net-url.js figure.drawio

Do not claim PNG/PDF/JPG files exist when Desktop export was unavailable.

Style Presets

Use overlay-specific user presets first (~/.drawio-academic-skills/styles/), then sibling base bundled presets (../drawio/styles/built-in/). Never mutate bundled base presets; copy a bundled preset into the user preset directory before editing or making it a default.

Quality Gate

Do not claim completion until:

  • final .drawio and .svg are aligned with work-dir .spec.yaml and .arch.json
  • meta.profile is academic-paper and meta.figureType is architecture, roadmap, or workflow
  • node count satisfies the playbook budget (references/docs/academic-figure-playbook.md § Node Budget Management); split or simplify when it is exceeded
  • labels are readable at paper/A4 scale; formulas use official delimiters ($$...$$, \(...\), or AsciiMath backticks)
  • captions, legends, callouts, formulas, and edge labels are not clipped or placed on connector lines
  • legends use compact form (single multi-line text node, not many separate nodes)
  • colors are not the only carrier of meaning
  • visual self-check used the exported SVG or Desktop-exported artifact before any live/browser preview, checking overlap, clipped text, connector-label clearance, arrows crossing text/nodes, missing modules, and mismatch from the confirmed plan/source
  • if a visible defect was found, the YAML spec was corrected and rerendered once before final reporting
  • requested Desktop exports were attempted or clearly reported as unavailable
  • no MCP config, MCP server, or live backend is required for the result

Completion Report

End with a concise report:

  • deliverables written, with paths
  • intermediate work directory, when sidecars or diagnostics were generated
  • sibling base CLI commands run for validation/export
  • unavailable Desktop exports and fallback provided
  • remaining visual or venue-specific manual checks, if any

Related skills

How it compares

Use drawio-academic-skills for venue-gated thesis and paper figures; use the general drawio base skill for non-academic diagrams without publication overlay rules.

FAQ

Does drawio-academic-skills require an MCP server?

drawio-academic-skills explicitly never requires MCP or a live backend. Academic authoring stays YAML-first and offline-first through the sibling ../drawio base CLI, with draw.io Desktop optional for PNG, PDF, or embedded SVG exports.

What are the default deliverables for academic figures?

drawio-academic-skills defaults to .drawio and .svg final deliverables with .spec.yaml and .arch.json sidecars in a work directory. PNG, PDF, and JPG exports are added only when requested and when draw.io Desktop is available locally.

Documentationworkflownotespm

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.