retina-display
What it does
This skill checks whether images on a site have versions for high-density screens and adds them where missing. It is for designers and developers who want crisp visuals on modern devices.
When to use it
- ✓When you ask the agent to make images look sharp on high-resolution screens.
- ✓When logos or icons look blurry on newer phones or laptops.
- ✓When you set a background image in CSS and want it to be sharp on high-density displays.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/retina-display/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My logo looks blurry on newer phones. Can you add sharper versions for high-resolution screens?”
5 new skills a week. 1 minute to read.
How it works
The agent checks images for 2x and 3x versions and adds them using srcset with density values for fixed-size images. For CSS backgrounds, it uses image-set or a media query to choose the sharper file.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Support high-DPI retina displays
Standard images look blurry on retina displays (2x, 3x pixel density)—high-resolution assets ensure sharp visuals on modern devices.
Quick Reference
- Provide 2x and 3x images for high-DPI displays
- Use srcset with x descriptors for fixed-size images
- Use srcset with w descriptors for responsive images
- CSS background-image: use image-set() or media queries
Check
Check if high-resolution images are provided for retina displays (2x, 3x).
Fix
Add retina-ready images using srcset or CSS image-set for high-DPI displays.
Explain
Explain how retina images ensure sharp visuals on high-density displays.
Code Review
Review image assets, markup, and delivery configuration related to Support high-DPI retina displays. 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/rules/images/retina-display
FAQ
What is the difference between x and w descriptors?
The skill says x descriptors are for fixed-size images, while w descriptors are for responsive images.
Do I need separate files for each density?
Yes. Each density needs its own image file, which the agent can help create.
How can I confirm the fix?
The skill suggests checking the result in browser developer tools.
Details
Original description by the author
Use when reviewing image assets, markup, and CDN or build transforms related to Support high-DPI retina displays. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3000
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.