responsive-images - Implement Responsive Images with srcset, Lazy Loading, and Modern Formats
Implement performant responsive images with srcset, sizes, lazy loading, and modern formats like WebP and AVIF
Tags
Updated: 2026-02-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- add srcset attributes
- add sizes attributes
- set lazy loading
- implement modern formats
- set fetchpriority
- prevent layout shift
Inputs
- image files
- viewport dimensions
- screen density
- image formats
Outputs
- responsive HTML images
- picture elements
- optimized image markup
Requirements
- HTML support
- browser image support
- Core Web Vitals compliance
