[KongchangAI]
Product

diagram-design

A diagram design agent skill for coding agents, centered on a prose-style guide and rules. It supports 44 diagram types and outputs HTML files with inline SVG, emphasizing design taste and accessibility.

Timeline (last 90 days)

Oct 14

diagram-design's known boundaries: a first run under the default style guide pauses to ask for brand information; fonts come from Google by default, and the --offline flag will reject files that load them; PNG export requires Playwright and Chromium.

Unverified50%
Oct 14

diagram-design reached No. 4 on GitHub Trending on Sunday, gaining 1083 stars in a single day for a cumulative 50933 stars.

Unverified50%
Oct 14

diagram-design can draw 44 chart types, outputs an HTML file with a single inline SVG, supports redrawing Mermaid, draw.io, and Excalidraw source files, and includes a guided step to extract colors and fonts from the user's website.

Unverified50%
Oct 14

diagram-design's SKILL.md is 30.5 KB in size, and CI limits it to within 40000 bytes because it is fully loaded into the context window on every call.

Unverified50%
Oct 14

diagram-design's references/ directory contains 62 Markdown files, totaling about 710 KB; assets/ contains 204 example diagrams and templates; scripts/ has five Python files that use only the standard library.

Unverified50%
Oct 14

diagram-design's style rules include: split once there are more than nine nodes; use the accent color on only one or two elements; no shadows; all connectors are right-angle polylines, no diagonals; structural geometry aligns to a 4px grid; do not copy Mermaid's automatic layout.

Unverified50%
Oct 14

Scanning all 204 examples in diagram-design with a short Node script revealed: the only external host is fonts.googleapis.com; ten files contain script, all animation variants; the median file size is 12.6 KB, and the largest is a 208 KB animated exploding keyboard diagram.

Unverified50%
Oct 14

diagram-design's built-in export_svg.py can convert the 208 KB example into an 8703-byte standalone SVG with ids prefixed, making it easy to coexist with other diagrams on one page.

Unverified50%
Oct 14

diagram-design's import script only parses text and never renders or fetches; the importer only reads flowcharts, sequence diagrams, state diagrams and ER diagrams, and rejects Gantt charts, timelines, journey maps, Sankey diagrams and quadrant charts.

Unverified50%
Oct 14

diagram-design's adversarial examples hide 'IGNORE ALL PREVIOUS INSTRUCTIONS' inside node labels, and the extractor keeps it as escaped text and discards four style directives and a click handler.

Unverified50%

16 more timeline events

All Facts (20)

Unverified

diagram-design's known boundaries: a first run under the default style guide pauses to ask for brand information; fonts come from Google by default, and the --offline flag will reject files that load them; PNG export requires Playwright and Chromium.

50%
Unverified

diagram-design can draw 44 chart types, outputs an HTML file with a single inline SVG, supports redrawing Mermaid, draw.io, and Excalidraw source files, and includes a guided step to extract colors and fonts from the user's website.

50%
Unverified

diagram-design's SKILL.md is 30.5 KB in size, and CI limits it to within 40000 bytes because it is fully loaded into the context window on every call.

50%
Unverified

diagram-design's references/ directory contains 62 Markdown files, totaling about 710 KB; assets/ contains 204 example diagrams and templates; scripts/ has five Python files that use only the standard library.

50%
Unverified

diagram-design's style rules include: split once there are more than nine nodes; use the accent color on only one or two elements; no shadows; all connectors are right-angle polylines, no diagonals; structural geometry aligns to a 4px grid; do not copy Mermaid's automatic layout.

50%
Unverified

Scanning all 204 examples in diagram-design with a short Node script revealed: the only external host is fonts.googleapis.com; ten files contain script, all animation variants; the median file size is 12.6 KB, and the largest is a 208 KB animated exploding keyboard diagram.

50%
Unverified

diagram-design's built-in export_svg.py can convert the 208 KB example into an 8703-byte standalone SVG with ids prefixed, making it easy to coexist with other diagrams on one page.

50%
Unverified

diagram-design's import script only parses text and never renders or fetches; the importer only reads flowcharts, sequence diagrams, state diagrams and ER diagrams, and rejects Gantt charts, timelines, journey maps, Sankey diagrams and quadrant charts.

50%
Unverified

diagram-design's adversarial examples hide 'IGNORE ALL PREVIOUS INSTRUCTIONS' inside node labels, and the extractor keeps it as escaped text and discards four style directives and a click handler.

50%
Unverified

After a tester deliberately broke three header rules of a flowchart (emphasis color on all seven nodes, drop shadows on six, and one diagonal arrow), diagram-design's own self_check.py let it pass outright; the geometry validator caught the diagonal line, but it sits outside the skill folder installed by npx skills add; the palette lint said nothing; no script checks shadows.

50%
Unverified

diagram-design's self_check.py is a safety and accessibility gate, not a taste gate; after the tester added a remote image and deleted the <title>, it reported five issues.

50%
Unverified

The diagram-design project on GitHub is authored by Cathryn Lavery, is made into an agent skill, and uses the MIT license.

50%
Unverified

diagram-design is a structured skill written for Claude Code, used to produce editorial-style diagrams.

50%
Unverified

diagram-design packages 27 visual types.

50%
Unverified

Each visual type in diagram-design provides three sets of static examples: light, dark, and full editorial.

50%
Unverified

The static examples in diagram-design require no build steps, have no JavaScript dependencies, and have no external image dependencies.

50%
Unverified

diagram-design introduces 7 categories of behavioral patterns, which first classify abstract behavioral concepts and then map them to the closest available visual types.

50%
Unverified

diagram-design supports directly reusing raw files made with draw.io (.io) or Mermaid, redrawing them using the same design system at specified target dimensions and detail levels.

50%
Unverified

diagram-design offers two installation paths—hosted installation and local path installation—which differ in their update mechanisms.

50%
Unverified

When updating the hosted installation of diagram-design, styleguide.md is overwritten, erasing the user's custom style configuration.

50%

Source Articles