Implement responsive images with srcset

SkillMedia

responsive-images is a skill for reviewing responsive images in article images, cards, galleries, or any component rendered at multiple sizes across breakpoints. It checks both the markup and the CSS layout, because an incorrect sizes attribute can negate a perfectly good srcset. Use it when you want your agent to find and fix image sizing issues across screen sizes.

Use Implement responsive images with srcset in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Implement responsive images with srcset and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Implement responsive images with srcset skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have an AI agent that can load and use skills.

Implement responsive images with srcsetStart free

What your AI can do with it

  • Review srcset and sizes markup for responsive images
  • Check CSS layout that affects rendered image sizes
  • Detect when an incorrect sizes attribute negates a good srcset
  • Review images in articles, cards, and galleries
  • Fix responsive image markup across breakpoints

Getting started

  1. Have an AI agent that can load and use skills.
  2. Add the responsive-images skill to your agent's available skills.
  3. Point the agent at the component or page with responsive images.
  4. Ask the agent to review the markup and CSS layout for image sizing issues.

What this skill tells your AI

The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/responsive-images/SKILL.md and read by ahel’s review.

Serving a 2000px image to a 400px phone screen wastes bandwidth and slows loading—srcset lets the browser download only the size it needs.

Quick Reference

  • Use srcset to provide multiple image sizes
  • Use sizes attribute to tell browser which size to download
  • Browser selects optimal size based on viewport and DPR
  • Can save 50-70% bandwidth on mobile devices

Check

Verify that images use srcset and sizes attributes for responsive delivery.

Fix

Implement responsive images with srcset for different screen sizes and resolutions.

Explain

Explain how responsive images deliver optimized versions based on device capabilities.

Code Review

Inspect image markup and component abstractions for srcset, sizes, and width/height handling. Flag pages that always ship desktop-sized assets to mobile, omit sizes, or generate variants that do not match the actual rendered layout.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/images/responsive-images

Signals

GitHub stars
74k
Forks
7k
Last commit
Oct 2026

Questions

What does responsive-images do?
It lets your agent review responsive images and fix srcset and sizes markup across screen sizes. It checks both markup and CSS layout because an incorrect sizes attribute can negate a good srcset.
When should I use this skill?
Use it when reviewing article images, cards, galleries, or any component rendered at multiple sizes across breakpoints.
Does it check CSS as well as markup?
Yes. It checks both the markup and the CSS layout because an incorrect sizes attribute can negate a perfectly good srcset.
Can it fix the images it finds?
The skill is for reviewing responsive images and fixing srcset and sizes markup across screen sizes.
Advanced
Item type
skill
Key
responsive-images-thedaviddias
Source
github.com/thedaviddias/front-end-checklist