svg-optimizer
Optimize SVG assets, generate sprites, and convert to React components
npx skills add a5c-ai/babysitter --skill svg-optimizer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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": { "t
- Purpose
- Capabilities
- Target Processes
- Integration Points
- Input Schema
- Output Schema
- Usage Example
What does the svg-optimizer skill do?
Optimize SVG assets, generate sprites, and convert to React components
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill svg-optimizer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
