svg-graphics
БесплатноБез исполняемых скриптовНе проверенCreate professional SVG graphics including data visualizations (pie charts, bar charts, line graphs, donut charts), flat illustrations (people, icons…
от wpgaurav★ 24 звезды на GitHubОб этом скилле
SVG Graphics Creation
Create professional vector graphics directly in SVG code. Output clean, well-structured SVG that renders beautifully at any scale.
Quick Reference
Select the appropriate pattern based on request type:
| Request Type | Reference File | Key Elements |
|---|---|---|
| Pie/donut charts | data-viz.md | Arcs, segments, legends |
| Bar/column charts | data-viz.md | Rectangles, axes, labels |
| Line/area charts | data-viz.md | Paths, points, gradients |
| People illustrations | illustrations.md | Simplified human forms |
| Icons and objects | illustrations.md | Geometric shapes, paths |
| Dashboard mockups | dashboards.md | Cards, metrics, mini-charts |
| Marketing graphics | marketing.md | Bold typography, gradients |
| Infographics | infographics.md | Combined elements, flow |
| Desktop/app UI mockups | app-ui-mockups.md | Window chrome, sidebars, code diffs |
| SaaS product mockups | product-ui-mockups.md | Floating panels, shadows, badges |
| Hand-drawn sketches | sketch-explainers.md | Wobbly lines, blue/red ink, notebook |
| Monoline icon systems | monoline-icons.md | Uniform stroke, no fill, Apple style |
| Blog featured images | featured-images.md | 2400x1260, FA icons, depth layers |
Core SVG Structure
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
<defs>
<!-- Gradients, patterns, filters -->
</defs>
<g id="background"><!-- Background elements --></g>
<g id="content"><!-- Main content --></g>
<g id="labels"><!-- Text labels --></g>
</svg>
Color Palette System
Default: Site Theme (from globals.css). Use this unless the user specifies otherwise:
Primary: #C0392B (red — brand color, CTAs, emphasis)
Secondary: #2D3748 (dark blue-gray — headings, dark backgrounds)
Tertiary: #16A085 (teal — success, positive indicators)
Action: #2563EB (blue — links, interactive elements)
Accent: #F59E0B (amber — warnings, highlights, badges)
Text: #212121 (near-black — body text, labels)
Background: #FFFFFC (off-white — card/surface backgrounds)
Border: #DDDDDD (light gray — borders, dividers)
Light tints (for backgrounds/fills): mix theme colors with white at 10-20% opacity.
Dark shades (for contrast): mix with #2D3748 at 25-50%.
For additional palettes, see colors.md. Limit to 2-3 colors per graphic unless design requires more.
Typography
Heading font (titles, section headers):
<text font-family="'Really Sans Large', system-ui, sans-serif"
font-size="28" font-weight="700" fill="#212121">Title</text>
Body font (labels, captions, body text):
<text font-family="'Really Sans Small', system-ui, sans-serif"
font-size="14" fill="#212121">Label</text>
Size hierarchy: Titles 24-32px, subtitles 16-20px, labels 12-14px, captions 10-12px
Font weight: Use font-weight attribute (100-900). Both font families support variable weights.
Background preference: Default to light backgrounds (#FFFFFC, #FFFFFE, or light gradients). Only use dark backgrounds when explicitly requested.
Icons — FontAwesome
When SVGs need icons (UI mockups, infographics, marketing graphics, dashboards), use FontAwesome.
Local Installation (Preferred)
FontAwesome Pro is installed locally:
~/Icons/svgs/
├── solid/ (primary, filled style)
├── regular/ (outline style, lighter)
├── light/ (thinner outline style)
├── thin/ (thinnest outline style)
├── duotone/ (two-tone layered style)
├── sharp-solid/ (sharp corners, filled)
├── sharp-regular/ (sharp corners, outline)
├── sharp-light/ (sharp corners, light)
└── brands/ (WordPress, YouTube, GitHub, etc.)
How to use:
- Read the
.svgfile to get the<path d="...">andviewBox - Embed inline using
<g>with transform for positioning/scaling
<g transform="translate(100, 200) scale(0.08)">
<path d="M0 64C0 28.7 28.7 0 64 0L352..." fill="#2D3748"/>
</g>
Scaling math: FontAwesome icons use large viewBoxes (typically 0 0 512 512 or 0 0 640 512).
Formula: scale = target_size / icon_viewbox_width
| Target Size | Scale (512 vBox) | Scale (640 vBox) |
|---|---|---|
| 24px | 0.047 | 0.038 |
| 32px | 0.063 | 0.05 |
| 48px | 0.094 | 0.075 |
| 64px | 0.125 | 0.1 |
| 96px | 0.188 | 0.15 |
GitHub Fallback
If local FA icons aren't available or you need a specific icon not in the local set, fetch from the FontAwesome GitHub repo:
https://raw.githubusercontent.com/FortAwesome
Установить svg-graphics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл svg-graphics?
Create professional SVG graphics including data visualizations (pie charts, bar charts, line graphs, donut charts), flat illustrations (people, icons, objects, devices), dashboard mockups, marketing graphics, and infographics. Use when user requests charts, diagrams, illustrations, infographics, dashboards, marketing visuals, UI mockups, or any vector graphic. Outputs clean, scalable SVG code optimized for web use.
Как установить скилл svg-graphics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл svg-graphics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic