Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Optimize SVG assets, generate sprites, and convert to React components
.claude/skills/a5c-ai-svg-optimizer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 1039% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -40% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -40% | 0% |
Optimize SVG assets for web and mobile use, including compression, sprite generation, and React component conversion.
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"] }
json{ "type": "object", "properties": { "optimizedFiles": { "type": "array", "description": "List of optimized SVG files" }, "spritePath": { "type": "string", "description": "Path to generated sprite file" }, "componentPaths": { "type": "array", "description": "Paths to generated components" }, "sizeSavings": { "type": "object", "description": "File size reduction statistics" }, "accessibilityReport": { "type": "object", "description": "Accessibility attributes added" } } }
javascriptconst result = await skill.execute({ inputPath: './icons', outputPath: './optimized-icons', generateSprite: true, generateComponents: true, componentFormat: 'react', addAccessibility: true });
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 18,911 | 15,719 | -17% | 1 | 1 | 0% | 434 | 2,670 | +515% | 0 | 0 | — |
case-02 | fail→pass | 16,147 | 15,144 | -6% | 1 | 1 | 0% | 245 | 2,791 | +1039% | 0 | 0 | — |
case-03 | fail→pass | 16,352 | 8,935 | -45% | 1 | 1 | 0% | 1,906 | 1,332 | -30% | 0 | 0 | — |
case-04 | fail→pass | 22,310 | 19,036 | -15% | 1 | 1 | 0% | 3,173 | 3,072 | -3% | 0 | 0 | — |
case-05 | fail→pass | 16,165 | 13,008 | -20% | 1 | 1 | 0% | 1,876 | 1,132 | -40% | 0 | 0 | — |
case-06 | fail→fail | 21,756 | 14,135 | -35% | 1 | 1 | 0% | 3,252 | 2,347 | -28% | 0 | 0 | — |
case-07 | fail→pass | 19,301 | 8,042 | -58% | 1 | 1 | 0% | 2,703 | 1,622 | -40% | 0 | 0 | — |
case-08 | fail→pass | 16,540 | 11,272 | -32% | 1 | 1 | 0% | 2,231 | 1,390 | -38% | 0 | 0 | — |
case-09 | fail→pass | 16,309 | 14,304 | -12% | 1 | 1 | 0% | 2,645 | 3,040 | +15% | 0 | 0 | — |
case-10 | fail→pass | 22,356 | 24,988 | +12% | 1 | 1 | 0% | 4,051 | 4,624 | +14% | 0 | 0 | — |
case-11 | pass→pass | 4,623 | 3,473 | -25% | 1 | 1 | 0% | 675 | 1,073 | +59% | 0 | 0 | — |
case-12 | pass→pass | 9,060 | 1,857 | -80% | 1 | 1 | 0% | 1,303 | 884 | -32% | 0 | 0 | — |
case-13 | pass→pass | 13,718 | 3,043 | -78% | 1 | 1 | 0% | 1,277 | 926 | -27% | 0 | 0 | — |
case-14 | fail→pass | 15,886 | 6,821 | -57% | 1 | 1 | 0% | 1,697 | 870 | -49% | 0 | 0 | — |
case-15 | fail→pass | 29,848 | 6,916 | -77% | 1 | 1 | 0% | 4,506 | 910 | -80% | 0 | 0 | — |
case-16 | fail→pass | 21,017 | 1,972 | -91% | 1 | 1 | 0% | 1,122 | 901 | -20% | 0 | 0 | — |
case-17 | pass→pass | 11,693 | 7,782 | -33% | 1 | 1 | 0% | 1,038 | 1,367 | +32% | 0 | 0 | — |
case-18 | fail→pass | 9,177 | 4,246 | -54% | 1 | 1 | 0% | 1,542 | 1,265 | -18% | 0 | 0 | — |
case-19 | fail→pass | 16,311 | 2,490 | -85% | 1 | 1 | 0% | 1,836 | 979 | -47% | 0 | 0 | — |
case-20 | fail→pass | 14,887 | 7,467 | -50% | 1 | 1 | 0% | 2,682 | 1,876 | -30% | 0 | 0 | — |
case-21 | fail→fail | 18,957 | 15,565 | -18% | 1 | 1 | 0% | 3,579 | 3,373 | -6% | 0 | 0 | — |
case-22 | fail→fail | 26,854 | 15,189 | -43% | 1 | 1 | 0% | 2,729 | 3,434 | +26% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +64 percentage points is the difference between those two pass rates over the 19 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.