svg-optimizer
SolidOptimize SVG assets, generate sprites, and convert to React components
Web & Frontend 814 stars
53 forks Updated today MIT
Install
Quality Score: 95/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# SVG Optimizer Skill
## Purpose
Optimize SVG assets for web and mobile use, including compression, sprite generation, and React component conversion.
## Capabilities
- Remove unnecessary metadata and comments
- Optimize paths and shapes
- Generate SVG sprites for icon systems
- Convert SVGs to React/Vue components
- Minify SVG file sizes
- Ensure accessibility attributes (aria-labels, roles)
- Generate icon documentation
## Target Processes
- component-library.js (iconSystemDesignTask)
- design-system.js
## Integration Points
- SVGO for optimization
- svgr for React component generation
- svg-sprite for sprite generation
## Input Schema
```json
{
"type": "object",
"properties": {
"inputPath": {
"type": "string",
"description": "Path to SVG file or directory"
},
"outputPath": {
"type": "string",
"description": "Output directory"
},
"generateSprite": {
"type": "boolean",
"default": false
},
"generateComponents": {
"type": "boolean",
"default": false
},
"componentFormat": {
"type": "string",
"enum": ["react", "vue", "svelte"],
"default": "react"
},
"optimizationLevel": {
"type": "string",
"enum": ["minimal", "standard", "aggressive"],
"default": "standard"
},
"addAccessibility": {
"type": "boolean",
"default": true
}
},
"required": ["inputPath"]
}
```
## Output Schema
```json
{
"type": "object",
"properti...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Related Skills
Web & Frontend Featured
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
38,979 Updated today
sickn33 Web & Frontend Featured
frontend-design
You are a frontend designer-engineer, not a layout generator.
38,979 Updated today
sickn33 Web & Frontend Featured
ui-component
Generate a new UI component that follows StyleSeed Toss conventions for structure, tokens, accessibility, and component ergonomics.
38,979 Updated today
sickn33