svg-illustration

Generate SVG illustrations with design tokens, viewBox conventions, and accessibility.

Updated May 6, 2026
One-click install
npx skills add https://github.com/shipiit/shipit-ui-design --skill svg-illustration-shipiit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svg-illustration
Source: https://github.com/shipiit/shipit-ui-design/tree/main/skills/svg-illustration
Command: npx skills add https://github.com/shipiit/shipit-ui-design --skill svg-illustration-shipiit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents inconsistent, non-scalable, non-accessible SVG artwork by enforcing project-token usage, viewBox conventions, and required accessibility across your UI.

Core Features & Use Cases

  • Token-matched SVG output: Produces illustrations that inherit theme colors (e.g., via currentColor/CSS variables) and avoid hardcoded design values.
  • Predictable geometry & scaling: Applies canonical viewBox sizes, proportional stroke-width rules, and safe root sizing so graphics render crisply at any size.
  • Accessibility by default: Ensures meaningful illustrations include title/desc or uses aria-hidden for decorative use, aligning with interactive state expectations.

Quick Start

Ask the AI to create an empty-state illustration for your product using a two-tone design that matches your existing tokens, includes correct viewBox and accessibility labeling, and outputs the SVG as a kebab-case file for public/illustrations.

Frequently Asked Questions about svg-illustration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate SVG illustrations that match my design tokens?

Token-matched SVG illustrations inherit theme colors via currentColor or CSS variables, avoiding hardcoded hex values. This ensures your artwork automatically adapts to your UI design system's theme colors and maintains visual consistency.

How do I make accessible SVG illustrations for UI empty states?

Accessible SVG illustrations require proper labeling for UI empty states. This Skill automatically includes title or desc elements for meaningful graphics and applies aria-hidden for decorative artwork, aligning with interactive state expectations and reduced-motion compatibility.

What is the best way to ensure SVG viewBox and stroke-width proportions are correct?

The best way to ensure correct SVG viewBox and stroke-width proportions is by applying canonical viewBox sizes and proportional stroke-width rules. This guarantees graphics render crisply and scale predictably at any size without using fixed width or height attributes.

Does this approach to SVG generation support gradients and filters without ID conflicts?

Yes, this SVG generation approach supports gradients and filters by generating unique gradient and filter IDs. This prevents rendering conflicts when multiple illustrations are placed on the same page, ensuring two-tone or gradient-based artwork displays correctly.

Why do my SVG illustrations not scale responsively within my design system?

SVG illustrations fail to scale responsively when hardcoded with fixed width and height attributes. This Skill enforces safe root sizing and viewBox conventions, allowing graphics to render crisply at any dimension within responsive in-project illustration workflows.

Can I create line art and hero band illustrations using a token-aware workflow?

Yes, you can create line art and hero band illustrations using a token-aware workflow. This Skill applies token-aware two-tone or gradient-based artwork generation, satisfying design constraints for marketing bands, icons, and UI empty states.