image-optimization-cdn

Installation
SKILL.md

Image Optimization CDN

Overview

Product images are typically the largest assets on e-commerce pages and the single biggest contributor to poor Largest Contentful Paint (LCP) scores. An optimized image pipeline resizes images to the required dimensions, converts to modern formats (WebP, AVIF) for 30–50% smaller file sizes, delivers from a CDN close to the user, and applies lazy loading to images below the fold.

When to Use This Skill

  • When product pages fail Core Web Vitals due to large or unoptimized images (LCP > 2.5s)
  • When setting up an image pipeline for a new headless storefront
  • When original product images from vendors are multi-megabyte files that need automation
  • When adding WebP/AVIF support to an existing storefront that serves only JPEG/PNG
  • When measuring Core Web Vitals and images are the primary bottleneck

Core Instructions

Step 1: Determine your platform and available image optimization

Related skills
Installs
30
GitHub Stars
20
First Seen
Mar 16, 2026