What problem does it solve? Large PNG and JPG assets slow down marketing sites and hurt Core Web Vitals. This Skill converts all site images to WebP with a repeatable script and updates markup so every image reference uses the modern format correctly. ## Core Features & Use Cases - Batch WebP Conversion: A sharp-based Node script converts PNG/JPG files in src/assets and public/images, applying lossy compression to opaque photos and lossless compression to images with alpha channels. - Responsive Markup Rules: Enforces plain <img> with .webp sources, srcset/sizes for responsive variants, and restricts <picture> to art direction only — never format fallbacks. - LCP Optimization: Adds <link rel="preload"> tags for the hero image with stable public URLs so the largest contentful paint loads early. - Next.js Track: Defers to next/image for automatic WebP/AVIF generation, reserving the conversion script for OG images, favicons, and CSS-referenced assets. - Use Case: After scaffolding a Vite marketing site, run the conversion script to shrink a 2MB hero PNG to a fraction of its size, update all markup references, preload the LCP image, and commit the generated assets. ## Quick Start Convert all images in my site to WebP and update the markup to reference them.