Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when reviewing image assets, markup, and CDN or build transforms related to Optimize SVG files. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
.claude/skills/thedaviddias-svg-optimization/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -60% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-14 | ✓→✓ | = Same ✓ | 23% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -17% | 0% |
SVGs exported from design tools contain unnecessary metadata, comments, and redundant code—optimization removes this bloat, often cutting file size in half.
Check if SVG files are optimized by removing unnecessary metadata and formatting.
Optimize SVG files using SVGO or similar tools to reduce file size.
Explain how SVG optimization can reduce file sizes by 50-80% without quality loss.
Review image assets, markup, and delivery configuration related to Optimize SVG files. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/images/svg-optimization
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 15,401 | 12,602 | -18% | 1 | 1 | 0% | 2,445 | 2,360 | -3% | 0 | 0 | — |
case-14 | pass→pass | 12,819 | 13,581 | +6% | 1 | 1 | 0% | 2,011 | 2,481 | +23% | 0 | 0 | — |
case-02 | pass→pass | 9,969 | 6,899 | -31% | 1 | 1 | 0% | 1,775 | 1,468 | -17% | 0 | 0 | — |
case-03 | pass→pass | 7,139 | 4,214 | -41% | 1 | 1 | 0% | 1,308 | 995 | -24% | 0 | 0 | — |
case-04 | pass→pass | 6,491 | 5,490 | -15% | 1 | 1 | 0% | 1,198 | 1,233 | +3% | 0 | 0 | — |
case-05 | fail→pass | 10,380 | 2,821 | -73% | 1 | 1 | 0% | 1,723 | 683 | -60% | 0 | 0 | — |
case-06 | pass→pass | 13,393 | 9,595 | -28% | 1 | 1 | 0% | 2,235 | 2,016 | -10% | 0 | 0 | — |
case-07 | pass→pass | 12,973 | 9,302 | -28% | 1 | 1 | 0% | 2,061 | 1,716 | -17% | 0 | 0 | — |
case-08 | pass→pass | 8,659 | 6,266 | -28% | 1 | 1 | 0% | 1,400 | 1,342 | -4% | 0 | 0 | — |
case-09 | pass→pass | 15,653 | 12,109 | -23% | 1 | 1 | 0% | 2,612 | 2,429 | -7% | 0 | 0 | — |
case-10 | pass→pass | 12,264 | 9,128 | -26% | 1 | 1 | 0% | 2,279 | 1,806 | -21% | 0 | 0 | — |
case-11 | pass→pass | 6,835 | 5,580 | -18% | 1 | 1 | 0% | 1,265 | 1,185 | -6% | 0 | 0 | — |
case-12 | fail→pass | 15,474 | 11,397 | -26% | 1 | 1 | 0% | 2,455 | 2,409 | -2% | 0 | 0 | — |
case-13 | pass→pass | 14,788 | 10,432 | -29% | 1 | 1 | 0% | 2,736 | 2,055 | -25% | 0 | 0 | — |
case-15 | pass→pass | 12,935 | 9,893 | -24% | 1 | 1 | 0% | 2,350 | 2,169 | -8% | 0 | 0 | — |
case-16 | pass→pass | 8,949 | 6,069 | -32% | 1 | 1 | 0% | 1,516 | 1,313 | -13% | 0 | 0 | — |
case-17 | pass→pass | 14,778 | 10,482 | -29% | 1 | 1 | 0% | 2,464 | 2,241 | -9% | 0 | 0 | — |
case-18 | pass→pass | 13,665 | 8,197 | -40% | 1 | 1 | 0% | 2,182 | 1,558 | -29% | 0 | 0 | — |
case-19 | pass→pass | 16,384 | 12,253 | -25% | 1 | 1 | 0% | 2,878 | 2,368 | -18% | 0 | 0 | — |
case-20 | pass→pass | 10,654 | 7,647 | -28% | 1 | 1 | 0% | 1,875 | 1,570 | -16% | 0 | 0 | — |
case-21 | pass→pass | 9,508 | 7,510 | -21% | 1 | 1 | 0% | 1,721 | 1,676 | -3% | 0 | 0 | — |
case-22 | pass→pass | 15,164 | 9,153 | -40% | 1 | 1 | 0% | 2,369 | 1,818 | -23% | 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. The headline lift of +14 percentage points is the difference between those two pass rates over the 22 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.