Saltar al contenido
Skillpedia
Imágenes e íconos75 mil · #2962

optimized

Qué hace

Esta skill revisa los archivos de imagen de un proyecto en busca de problemas de tamaño y los optimiza cuando ayuda. Es para creadores web que quieren páginas más ligeras sin cambiar el aspecto de las imágenes.

Cuándo usarla

  • ✓Cuando pides al agente reducir el tamaño de las imágenes de un proyecto.
  • ✓Cuando una auditoría de rendimiento indica que las imágenes podrían codificarse de forma más eficiente.
  • ✓Cuando preparas imágenes para publicarlas y quieres quitar metadatos extra y restos del editor.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/optimized/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Las imágenes de mi sitio pesan mucho. ¿Puedes optimizarlas para que las páginas carguen más rápido sin perder calidad?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa cada imagen en busca de metadatos, ajustes de codificación y contenido innecesario. Luego recodifica los JPEG con un ajuste progresivo, comprime los PNG y limpia los SVG, e informa del tamaño actual y del ahorro estimado de cada una.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Optimise images for faster loading

Unoptimised images are the most prevalent cause of page bloat. A DSLR-quality JPEG with EXIF data can be 8MB; the same image optimised for web delivery is under 200KB with no visible quality difference. Lighthouse's 'Efficiently encode images' audit reports potential savings that, when fixed, directly improve LCP and reduce bandwidth costs.

Quick Reference

  • Strip EXIF metadata from all JPEG/WebP images before deployment—it adds unnecessary bytes
  • JPEG: quality 80 with progressive: true (mozjpeg); PNG: run pngquant at quality 65-80
  • SVG: run through SVGO to remove editor artefacts and reduce file size
  • Lighthouse flags images reducible by 4KB+ as 'Efficiently encode images' opportunities

Check

Audit all image assets in this project for optimisation issues: 1) Run Lighthouse and check the 'Efficiently encode images' audit—it flags images that could be reduced by 4KB or more. 2) Check if JPEG images use progressive encoding (better perceived performance). 3) Check if images retain EXIF/IPTC metadata (adds unnecessary bytes). 4) Check if PNG images could be quantised (pngquant) for smaller files. 5) Check if SVG files contain unnecessary editor metadata, comments, or redundant attributes. Report each image with its current size and estimated savings.

Fix

For each unoptimised image: 1) JPEG: re-encode with mozjpeg at quality 80 with progressive=true. 2) PNG: run pngquant at quality 65-80 for lossy compression, or oxipng for lossless. 3) WebP: encode at quality 80. 4) AVIF: encode at quality 60 with effort 6. 5) SVG: run through SVGO to remove editor metadata, comments, and redundant attributes. 6) Strip EXIF metadata from all JPEG/WebP images. For each image, show the before/after file size and percentage reduction.

Explain

Explain what image optimisation means technically. JPEG compression works by converting pixel data to frequency components (DCT) and quantising the high-frequency data—quality settings control how aggressively this quantisation occurs. PNG uses lossless DEFLATE compression, but colour quantisation (pngquant) can massively reduce file size with minimal visible change. EXIF metadata (GPS, camera model, timestamps) adds kilobytes to images with no benefit for web users. Progressive JPEG encoding allows the browser to show a low-resolution version immediately while the full image loads, improving perceived performance.

Code Review

Review image assets, markup, and delivery configuration related to Optimise images for faster loading. 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/optimized

Preguntas frecuentes

¿Las imágenes se verán peor?

La skill indica que el objetivo es que no haya diferencia visible de calidad, usando ajustes como una calidad de JPEG alrededor de 80.

¿Qué herramientas usa?

La skill menciona mozjpeg para JPEG, pngquant para PNG y SVGO para archivos SVG.

¿Cómo sabe qué imágenes corregir?

La skill sugiere ejecutar una auditoría de Lighthouse, que marca las imágenes que podrían reducirse en 4 KB o más.

Detalles

Descripción original del autor

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

repo: thedaviddias/Front-End-Checklist

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2962
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas