中文版 · Agent Metadata · Live Demo
SVG Foundry is a knowledge-driven AI Skill that creates, optimizes, animates, and restyles SVG graphics from scratch. It includes a comprehensive SVG technical knowledge base covering 12 core areas of the SVG specification, enabling expert-level output for any SVG task.
- Create — Generate SVG icons, illustrations, charts, logos, loading animations from natural language descriptions
- Optimize — Improve existing SVG code for performance, accessibility, and responsiveness
- Animate — Add CSS animations, SMIL animations, or stroke drawing effects to static SVGs
- Restyle — Adjust color schemes, gradients, patterns, and filter effects
| Format | Use Case |
|---|---|
| Pure SVG | Standalone .svg file, embeddable anywhere |
| HTML + SVG | Complete HTML page with inline SVG and CSS animations |
| React Component | JSX component with customizable props |
| Vue Component | SFC with template + scoped styles |
Covers 12 core areas of the SVG specification:
- Canvas & coordinate systems (viewBox, preserveAspectRatio, responsive scaling)
- Basic & advanced shapes (rect, circle, path, etc.)
- Full path commands (M/L/H/V/C/S/Q/T/A/Z)
- Text layout (text, tspan, textPath, multilingual support)
- Colors & fill systems
- Linear & radial gradients
- Patterns
- Transforms (translate, rotate, scale, matrix, etc.)
- Clipping & masking (clipPath, mask)
- Filters (blur, shadow, colorMatrix, displacement, turbulence, etc.)
- Stroke properties
- Markers
Built-in SVG reference knowledge base with 127 reference files across 6 topics, loaded on demand:
| Topic | Coverage |
|---|---|
| SVG Essentials | Shapes, coordinates, paths, transforms, filters |
| Text Layout | Text positioning, text paths, internationalization |
| Colors & Visuals | Colors, gradients, patterns, textures |
| Animations | CSS animations, sprites, responsive animation, data visualization |
| Web Integration | SVG + CSS3 + HTML5 best practices |
| Modern Techniques | Modern toolchains, advanced paths, modern color techniques |
Claude Code:
cp -r svg-foundry-skill ~/.claude/skills/svg-foundryOther AI Agents:
Load SKILL.md as a system prompt and mount the references/ directory as a searchable knowledge base. See SKILL_METADATA.yaml for structured integration details.
Automatically triggered by keywords in conversation:
draw SVG, create SVG, SVG icon, SVG animation, SVG chart
SVG illustration, SVG gradient, SVG filter, SVG pattern
SVG logo, SVG spinner, SVG progress
Or invoke manually via slash command: /svg-craft
- Knowledge-driven — Guides AI output through structured knowledge, not hardcoded scripts
- On-demand loading — Loads only relevant reference chapters for the current task
- Structured workflow — 5-step process (clarify → design → animate → integrate → deliver) ensures consistent quality
- Accessibility-first — Includes
<title>,aria-labelledby,prefers-reduced-motionsupport by default
Apache License 2.0