Skip to content
Skillpedia
Images & icons75k · #2883

image-compression

What it does

This skill checks whether images are compressed properly for the web. It is for site owners and designers who publish many pictures.

When to use it

  • ✓When your photos are much larger than they need to be.
  • ✓When your page loads slowly because of heavy images.
  • ✓When you want to add compression to your build process.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-compression/SKILL.md

Copy 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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-compression/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you compress the photos on my site so they load faster without looking worse?”

5 new skills a week. 1 minute to read.

How it works

The agent reviews image files and suggests compression settings, such as about 70 to 85 percent quality for JPEG photos. It recommends lossy compression for photos and lossless for graphics.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Compress images without quality loss

Uncompressed images are often 5-10x larger than needed—proper compression dramatically reduces page weight and load times with minimal visual impact.

Quick Reference

  • Compress JPEG to 70-85% quality (often visually identical)
  • Use lossy compression for photos, lossless for graphics
  • Automate compression in build process
  • Can reduce file sizes by 60-80% without visible quality loss

Check

Analyze if images are properly compressed without significant quality loss.

Fix

Compress images using tools like ImageOptim, TinyPNG, or automated build processes.

Explain

Explain how proper compression can reduce image sizes by 60-80% with minimal quality impact.

Code Review

Review image assets, markup, and delivery configuration related to Compress images without quality loss. 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/image-compression

FAQ

What quality setting is suggested?

The skill suggests 70 to 85 percent for JPEG photos, which often looks the same to viewers.

Which tools are mentioned?

The skill names ImageOptim and TinyPNG, and automation in the build process.

How much can files shrink?

The skill says file sizes can often drop by 60 to 80 percent without visible quality loss.

Details

Original description by the author

Use when reviewing image assets, markup, and CDN or build transforms related to Compress images without quality loss. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2883
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills