agentleFS
kuker24kuker24/OpenCodeBestFriend/skills/diagram-design/SKILL.md

diagram-design

Skill0 starsChanged 2 months agoMITView on GitHub

Design editorial HTML and inline SVG diagrams for software architecture, sequence flows, ER data models, system boundaries, and concept maps. Use for high-clarity technical diagrams, visual architecture documentation, and converting raw Mermaid/draw.io into polished visuals. Not for frontend application UI (impeccable) or code-level seam design (codebase-design).

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pretty-mermaid, transitions-dev and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • drafaelSkill

    pretty-mermaid

    Render beautiful Mermaid diagrams as SVG or ASCII art using the beautiful-mermaid library. Supports 15+ themes, 5 diagram types (flowchart, sequence, state, class, ER), and ultra-fast rendering.

    Also in 3 projects that use this

  • AnasX7Skill

    transitions-dev

    Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, card hover tilt, plus-to-menu morph, accordions, toasts, like buttons, learn-more hovers, checkbox checks, spinning counters, toggles, AI thinking states, reasoning streams, streaming text, matrix dot loaders, or banner stacking. Triggers on "add a transition", "animate the dropdown", "make the modal open smoothly", "swap icon", "page slide", "stagger animation", "open / close transition", "make it animate", "fade between", "success animation", "form error", "shake on invalid", "hover lift", "avatar stack hover", "clear the search", "skeleton loader", "loading shimmer", "shimmer text", "sliding tabs", "segmented control", "tooltip", "reveal text", "tilt card", "3D hover tilt", "cursor glare", "plus to menu", "FAB morph", "accordion", "collapsible", "expand / collapse", "disclosure", "toast", "snackbar", "like button", "heart animation", "learn more arrow", "checkbox", "check animation", "spinning counter", "odometer", "slot machine digits", "toggle", "switch", "thinking states", "AI status line", "agent reasoning", "reasoning stream", "streaming text", "stream words in", "matrix loader", "dot loader", "banner stack", "stacked toasts". Also "motion tokens", "scan for ad-hoc transitions", "replace hardcoded durations with motion tokens", "tokenize my animations", and the commands transitions reveal, transitions review, transitions apply, transitions refine.

    Also in 3 projects that use this

  • PydanticSkill

    i-have-adhd

    Shape every response for an ADHD reader who reviews the work but does not do the coding — the agent does. Use whenever responding to ANY message — coding, debugging, planning, casual. Lead with the result or the decision. Surface anything needing the user's input as a structured question, never buried in prose they'll skim past. No preamble, no recap, no closers. State errors matter-of-factly. Make finished work visible. Trigger even on casual messages and even when brevity wasn't requested.

    Also in 4 projects that use this

  • HK-hubSkill

    overdrive

    Pushes interfaces past conventional limits with technically ambitious implementations — shaders, spring physics, scroll-driven reveals, 60fps animations. Use when the user wants to wow, impress, go all-out, or make something that feels extraordinary.

    Also in 3 projects that use this

  • AnasX7Skill

    design-taste-frontend

    Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

    Also in 9 projects that use this

  • HK-hubSkill

    delight

    Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.

    Also in 3 projects that use this

  • +2 more from AnasX7

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If CLI tools (resvg, playwright, puppeteer) are available on the host, render to high-res PNG/SVG.

    line 39
  2. Very specific:

    If export binaries are absent, the HTML file itself is the final deliverable and export is marked NOT_CONFIGURED.

    line 40

“Common” is measured: kept by at least 6 in 10 of the 44 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Diagram Design

Editorial diagram specialist for technical systems, data models, workflows, and architecture documentation.

This skill produces publication-grade, self-contained HTML files with embedded responsive SVG graphics. It favors sparse editorial clarity, crisp hierarchy, purposeful deletion, and legible typography over generic chart fluff or unstyled box-and-arrow diagrams.

Boundaries & Handoffs

NeedPrimary Route
Complete product UI, app layout, design system componentsimpeccable (or found-this-design first)
Module interfaces, code seams, and unit test surfaces in sourcecodebase-design
Multi-sketch comparative architecture bake-off/architect (manual)
Quick throwaway UI experiment to validate state/logicprototype
Quick monospace ASCII art or markdown table is sufficientDo not load this skill
Editorial HTML/inline SVG diagrams (Architecture, Sequence, ER, Wardley, Sankey, Flow)diagram-design

Mermaid diagrams and draw.io exports are treated as draft inputs to redraw, never as final artifacts.

References

  • references/types.md — Diagram archetypes, structural semantics, and composition patterns.
  • references/selection.md — Decision matrix for selecting the right diagram archetype and complexity budget.
  • references/accessibility.md — Contrast requirements, font sizing, and accessible SVG labeling.

Output Format & Constraints

  1. Self-Contained HTML File:
    • Single .html file containing inline responsive <svg> with viewBox, clean CSS variables for palettes and typography, and embedded system fonts (system-ui, ui-sans-serif, -apple-system).
    • Scales responsively with width: 100%; height: auto; max-width: 1200px;.
  2. Export Capabilities:
    • If CLI tools (resvg, playwright, puppeteer) are available on the host, render to high-res PNG/SVG.
    • If export binaries are absent, the HTML file itself is the final deliverable and export is marked NOT_CONFIGURED.
  3. Typography & Contrast:
    • Minimum font size: 12px for metadata, 14px for node bodies, 18-24px for subsystem headers.
    • Text contrast must exceed WCAG 2.1 AA (minimum 4.5:1 ratio against container backgrounds).
  4. Purposeful Deletion:
    • Eliminate redundant arrows, decorative gradient fills, drop-shadow clutter, and ambiguous floating icons.
    • Group related nodes inside clear subsystem boundaries with subdued background cards.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.