dragoon0x/everything-design-taste

image-optimization

Image format selection, responsive images, lazy loading, and image performance optimization.

First seen Jul 18, 2026

Installation

$ npx skills add dragoon0x/everything-design-taste --skill image-optimization

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dragoon0x/everything-design-taste · top by installs.

npx skills add dragoon0x/everything-design-taste

Browse all from dragoon0x/everything-design-taste

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 11
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,284 B
  • docs SUMMARY.md 118 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Image Optimization

Format Selection

Format Best For Notes
WebP Photos, illustrations 30% smaller than JPEG, wide support
AVIF Photos (next-gen) 50% smaller than JPEG, growing support
SVG Icons, logos, simple graphics Scalable, tiny file size
PNG Screenshots with text, transparency Lossless, larger files
JPEG Fallback for photos Universal support

Responsive Images

<img
  srcset="image-400.webp 400w, image-800.webp 800w, image-1200.webp 1200w"
  sizes="(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"
  src="image-800.webp"
  alt="Descriptive text"
  loading="lazy"
  decoding="async"
/>

Performance Rules

  1. Lazy load below-fold images. loading="lazy" on img tags.
  2. Size images to display size. Don't serve 4000px images in 400px containers.
  3. Preload hero images. <link rel="preload" as="image"> for above-fold.
  4. Use CDN. Serve images from edge locations.
  5. Set explicit dimensions. Prevent layout shift (CLS).