Skip to content
Skills Library
Programming · Review & audit

image-compression

/image-compression

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.

Licence
MIT
Last repository change
06.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 06.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Original author description

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.

How it works

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Original SKILL.md headings · 35 lines, 161 words
SKILL.md preview
---
name: image-compression
description: "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."
metadata:
  category: images
  priority: high
  difficulty: beginner
  estimatedTime: "15"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/images/image-compression
---

# 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
Files in this package (2)
  • SKILL.md 2 KB
  • references/rule.md 5 KB

Versions

RepositoryScoreLicence
This page · thedaviddias/front-end-checklist100MIT
peterbamuhigire/chwezi-dev-engine100MIT
aaronbassett/agent-foundry100MIT

Database snapshot: 13.11.2026 · package version b2e561d0b9dc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100image-cdn
    Use when reviewing image assets, markup, and CDN or build transforms related to Serve images from a CDN. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
  • 100image-optimization
    Use when reviewing image assets, markup, and CDN or build transforms related to Optimize all images for web. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
  • 100netlify-image-cdn
    使用 Netlify Image CDN 进行图片优化和转换的指南。在提供优化图片、创建响应式图片标记、设置用户上传图片流水线,或配置图片转换时使用。涵盖 `/.netlify/images` 端点、查询参数、远程图片白名单、简洁 URL 重写,以及结合 Functions + Blobs 的上传组合方案。
  • 90frontend-image-optimization
    Use this skill when the user says 'image optimization', 'responsive images', 'image CDN', 'lazy loading images', 'next/image', 'srcset', 'picture element', 'WebP', 'AVIF', 'image compression', 'image CDN', 'blur placeholder', 'progressive image'. Optimize images for web…
  • 100imgix
    Optimize and transform images with imgix, a real-time image CDN driven by URL parameters. Use when serving responsive images, implementing an image CDN, signing image URLs, adding real-time transformations, extracting video thumbnails, or optimizing Core Web Vitals with image delivery.
  • 100game-size-and-performance
    Reduce mobile-game download size, installed footprint and asset/SDK bloat while protecting quality and runtime performance. Use for compression, app-store size limits, Godot import/export tuning and release size regressions.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.