diagram_skill

This skill renders diagrams as SVGs, critiques via CRAP principles, and iterates until a polished visual explanation is produced.
  • Python

0

GitHub Stars

4

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill spm1001/trousse --skill diagram

  • .gitattributes70 B
  • .gitignore33 B
  • README.md1.4 KB
  • SKILL.md10.1 KB

Overview

This skill renders clear, editable diagrams (SVG and PNG) using an iterative render-and-check workflow. It enforces CRAP-based self-critique (Contrast, Repetition, Alignment, Proximity) and reduced-size checks before presenting output. The skill composes with brand styling when available and produces production-ready visuals for slides, docs, and presentations.

How this skill works

Ask for a diagram (flow chart, Venn, architecture, etc.) and the skill first clarifies structure, content, and purpose. It generates a structured SVG on a 1280×720 canvas, renders a PNG for visual checks, runs automated CRAP and composition checks, fixes issues, and re-renders until the diagram meets quality criteria. If a brand skill exists, its palette and typography are applied automatically.

When to use it

  • Creating conceptual diagrams: Venn diagrams, flows, system architecture
  • Designing visual explanations for slides or reports
  • Generating human-editable SVGs that need to be polished before delivery
  • Producing diagrams that must follow brand guidelines and accessible contrast
  • Iterating on layout where alignment, spacing, and hierarchy matter

Best practices

  • Clarify structure, content, and purpose before drawing
  • Group related items and keep annotations close to targets
  • Limit font sizes to 3–4 levels and reuse a small color palette
  • Test rendered PNG at 50–75% size to reveal hierarchy and contrast issues
  • Prefer contained keys or no key at all; avoid scattered meta-info

Example use cases

  • A product manager asks for a Venn diagram showing overlapping stakeholder concerns
  • An engineer requests a service architecture diagram styled to company brand colors
  • A presenter needs a flow chart that remains legible when projected
  • A data analyst wants a conceptual chart exported as an editable SVG for handoff
  • A designer wants a PNG preview after automatic CRAP adjustments before final delivery

FAQ

The skill creates structured SVGs and renders high-fidelity PNGs. The SVG is human-editable and grouped for editor compatibility.

What happens if librsvg is not installed?

Rendering will warn you: arrow markers may be missing. The skill prefers rsvg-convert for full fidelity; sips may be used only when markers are not needed.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational