Svg Design logo

Svg Design

Organization
tryopendata
svg-design

Generates and edits SVG logos, icons, and graphics. Use when creating SVG files, designing logos or icons, writing path data, optimizing SVGs, building icon systems, animating SVG elements, or modifying existing vector graphics. Covers path commands, shape primitives, styling, accessibility, gradients, masks, sprites, optimization, and animation (CSS keyframes, GPU acceleration, staggering, easing, SVG-specific techniques).

Overview

Publishertryopendata
Repositoryskills
Skill namesvg-design
Stars
134
Forks
7
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by tryopendata on GitHub. Read the source before you install it.

Installation

Install the Svg Design AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tryopendata/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/opendesign/skills/svg-design .claude/skills/svg-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Svg Design in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Svg Design on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Svg Design is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SVG Creation and Editing

Core principle: SVGs are code. Write them by hand like you'd write any markup: clean, minimal, semantically meaningful. Every element and attribute should earn its place.

Topic Routing

TaskLoad reference
Arc flag combinations, common path shapesreferences/path-patterns.md
Logo design, typography, negative spacereferences/logo-techniques.md
Icon design, grid systems, pixel alignmentreferences/icon-design.md
Gradients, masks, clips, filters, transforms (design decisions)references/advanced-techniques.md
Animation (CSS keyframes, stagger, GPU, easing, SVG-specific)references/animation.md
Optimization, sprites, SVGO configreferences/optimization.md
Accessibility, browser pitfallsreferences/accessibility-and-pitfalls.md
Editing workflow, boolean operations, combining SVGsreferences/editing-workflow.md

SVG Skeleton

Always start from this structure:

xml
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <!-- content -->
</svg>

Adjust viewBox to match the design canvas. Omit width/height attributes to let the SVG scale with its container (add them only when a fixed size is needed).

Canvas Size Conventions

SizeUse caseNotes
0 0 16 16Micro icons, faviconsHeroicons micro, GitHub Octicons
0 0 20 20Small UI icons, form elementsHeroicons mini
0 0 24 24Standard icons (most common)Lucide, Heroicons outline, Material
0 0 32 32Medium icons, navigationPhosphor uses 256x256 internally
0 0 48 48Large display iconsApp icons, illustrations
CustomLogos, illustrationsMatch the natural aspect ratio

Default to 24x24 unless there's a reason not to. It's the industry standard.

Shape vs Path Decision

Use shape primitive when...Use <path> when...
The shape is a basic geometric formThe shape has curves, complex outlines
Readability matters (a circle should look like <circle>)You need to minimize element count
You need to animate individual properties (r, cx, cy)Combining multiple shapes into one element
The shape will be programmatically modifiedExporting from design tools (paths are universal)

Styling Defaults

Set these on the root <svg> element to avoid repetition on children:

AttributeIcon defaultLogo defaultWhy
fillnonevariesIcons are typically stroked, logos are filled
strokecurrentColornone or currentColorInherits text color from parent
stroke-width2 (on 24x24)variesConsistent weight across icons
stroke-linecaproundround or buttRounded ends look cleaner at small sizes
stroke-linejoinroundround or miterPrevents sharp spikes at joins

currentColor is your friend. It lets the SVG inherit whatever color the parent element has, making icons themeable with zero extra CSS.

Stroke-Width Relative to ViewBox

stroke-width is in viewBox units, not pixels. Always set relative to your canvas dimensions:

viewBoxTypical stroke-widthVisual result
16x161.5~9.4% of canvas
24x242~8.3% of canvas
32x322-2.5~6.3-7.8% of canvas
48x483~6.3% of canvas
256x25616~6.3% of canvas

When to Convert Shapes to Paths

Convert when:

  • Combining multiple shapes into a single compound path (boolean operations)
  • You need the shape as part of a larger path composition
  • Distributing to environments that only support <path>
  • Optimizing for minimal DOM elements

Keep as shapes when:

  • Code readability matters (a <circle> is self-documenting)
  • You need to animate specific properties (animating r on a circle is cleaner than animating path data)
  • The SVG will be programmatically modified

Rounded rect-to-path template

The arc parameters here are error-prone to derive. Use this as a reference:

xml
<!-- <rect x="2" y="2" width="20" height="20" rx="3" /> becomes: -->
<path d="M 5 2 h 14 a 3 3 0 0 1 3 3 v 14 a 3 3 0 0 1 -3 3 h -14 a 3 3 0 0 1 -3 -3 v -14 a 3 3 0 0 1 3 -3 Z" />

fill-rule: evenodd vs nonzero

Use evenodd when you have compound shapes with holes. It's simpler because you don't need to worry about winding direction:

xml
<!-- Donut using evenodd (direction doesn't matter) -->
<path fill-rule="evenodd" d="
  M 12 2 A 10 10 0 1 1 12 22 A 10 10 0 1 1 12 2 Z
  M 12 7 A 5 5 0 1 1 12 17 A 5 5 0 1 1 12 7 Z
" fill="black" />

With nonzero (default), the inner circle must wind in the opposite direction to create the hole.

Logo Design Process

When creating logos (not icons), follow this process:

  1. Always clarify design direction before creating logos. Use AskUserQuestion to present curated design direction choices before writing any SVG code. This step is mandatory for all logo projects. Even when the user provides some direction (like "modern" or "YC style"), those are vibes, not design briefs. A designer would still present options to narrow the direction before investing in 5-15 concepts.

    Present choices like a designer showing mood boards. Don't ask open-ended questions. Tailor options to the user's domain:

    AskUserQuestion({
      questions: [
        {
          question: "What visual personality fits your brand?",
          header: "Mood",
          multiSelect: false,
          options: [
            { label: "Bold & geometric", description: "Clean shapes, strong lines, confident. Think Stripe, Figma." },
            { label: "Organic & crafted", description: "Hand-drawn feel, natural curves, warmth. Think Mailchimp, Basecamp." },
            { label: "Minimal & typographic", description: "Wordmark-driven, restrained, sophisticated. Think Glossier, Everlane." },
            { label: "Playful & dynamic", description: "Energetic, colorful, movement. Think Slack, Discord." }
          ]
        },
        {
          question: "What should the logo emphasize?",
          header: "Focus",
          multiSelect: false,
          options: [
            { label: "What we do", description: "Visual metaphor tied to your product's core function" },
            { label: "How it feels", description: "Abstract mark that conveys emotion or energy" },
            { label: "Who we are", description: "Letterform or wordmark built from the brand name" }
          ]
        },
        {
          question: "Which of these logos in your space resonates most?",
          header: "Inspiration",
          multiSelect: false,
          options: [
            // IMPORTANT: populate these with 3-4 real, well-known brands
            // in or adjacent to the user's specific industry/domain.
            // Examples below are for an AI startup - replace entirely
            // for other domains.
            { label: "Linear", description: "Precise geometric icon, purple gradient, premium feel" },
            { label: "Stripe", description: "Simple bold wordmark, single accent color, confident restraint" },
            { label: "Notion", description: "Friendly icon with personality, approachable, slightly playful" },
            { label: "Vercel", description: "Abstract minimal triangle, stark black/white, developer-focused" }
          ]
        }
      ]
    })

    Tailoring the questions to the domain is critical. The mood options, focus options, and especially the inspiration logos must be specific to the user's industry. A coffee brand gets Blue Bottle, Stumptown, Intelligentsia, Counter Culture as inspiration options. A fintech startup gets Stripe, Plaid, Mercury, Ramp. A fitness app gets Peloton, Strava, Nike Run Club, Whoop. Pick brands the user will immediately recognize and have an opinion about. The inspiration question does the most work here because it anchors the entire aesthetic direction to something concrete.

    The only exception: skip if the user has specified both a concrete visual style AND specific imagery (e.g., "minimalist geometric logo using a mountain silhouette in navy blue").

  2. Explore multiple metaphors, not multiple layouts of one metaphor. Conceptual diversity matters more than layout variations. Follow the full ideation process in references/logo-techniques.md, which covers domain-specific brainstorming, category diversity requirements, and cliche avoidance.

  3. Guarantee structural variety. Every logo set must span multiple categories of approach, not just multiple metaphors within the same style. Include at least one from each column when presenting 5+ options: a typographic/wordmark approach, a symbolic icon, an abstract geometric mark, and a letterform-meets-metaphor hybrid. See the category diversity table in references/logo-techniques.md.

  4. Set up the preview immediately, then populate it progressively. Don't design all logos first and then show them. The user should see results as they're created:

    1. Copy this skill's assets/preview.html to the project directory using cp with the absolute path from where this skill was loaded (do not read or modify the file).
    2. Design the first logo and write its SVG file.
    3. Write variants.js with just that first variant (format in references/editing-workflow.md).
    4. Open the preview with open preview.html (macOS) or xdg-open preview.html (Linux). The user now sees the first logo while you keep working.
    5. For each subsequent logo: write the SVG file, then update variants.js to add it. The preview auto-reloads both every 3 seconds, so new logos appear in the browser as they're completed.

    This gives the user visual feedback within seconds of the first logo being ready, rather than waiting for all logos to be designed before seeing anything.

  5. For colored logos, always create a -dark.svg variant. Dark navy edges (#1E3A5F) that look great on white disappear on dark backgrounds. Dark variants need lighter edges (#4B8BBE), lighter rings (#3B6B8A), and off-white centers (#E2E8F0).

  6. Plan your vertical budget before drawing. On a 32x32 canvas with 3 stacked elements, you have ~30 usable units. Sketch the vertical distribution first (e.g., box=12, gap=2, layer=5, gap=2, layer=5) to avoid clipping at viewBox edges.

Anti-Patterns

Don'tDo instead
Hardcode width="24" height="24" without viewBoxUse viewBox always; add width/height only if needed
Set fill="none" on a <g> groupSet fill on individual elements or the root <svg>
Use px units inside SVGSVG coordinates are unitless; they map to viewBox
Include editor metadata (<sodipodi:*>, <inkscape:*>)Strip all editor cruft
Use <text> for logo wordmarks in distributed SVGsConvert text to paths for portability
Nest transforms three levels deepFlatten transforms into path coordinates
Use xlink:hrefUse href (xlink is deprecated)
Forget xmlns on standalone SVG filesAlways include xmlns="http://www.w3.org/2000/svg"
Use decimal precision beyond 2-3 places for iconsRound to 2 decimals for icons, 3 max for complex art

Cross-References

  • Design aesthetics: If the ce plugin is installed, Skill(ce:design) covers broader visual design decisions
  • Mermaid diagrams: If the ce plugin is installed, Skill(ce:visualizing-with-mermaid) covers diagram-specific visualizations (not SVG)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Svg Design AI skill do?

Generates and edits SVG logos, icons, and graphics. Use when creating SVG files, designing logos or icons, writing path data, optimizing SVGs, building icon systems, animating SVG elements, or modifying existing vector graphics. Covers path commands, shape primitives, styling, accessibility, gradients, masks, sprites, optimization, and animation (CSS keyframes, GPU acceleration, staggering, easing, SVG-specific techniques).

Why use Svg Design on TypingMind?

Because you install it once and use it with any model. Svg Design is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Svg Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tryopendata/skills/tree/main/plugins/opendesign/skills/svg-design. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Svg Design?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Svg Design?

As many as you like. As long as a model supports skills, you can use Svg Design with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Svg Design AI skill free?

Yes. It is published on GitHub by tryopendata under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇