Skip to content
Back to skills

Image Compression

ASecurity

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.

  • 74,358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentgofrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill image-compression --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Compression?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Image Compression
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-image-compression/badge)](https://www.skillsdirectory.com/skills/thedaviddias-image-compression)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 skill

  • SKILL.md1.6 KB
  • references/rule.md5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…