Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
When to use WebP:
├── Browser support → 96%+ support
├── Transparency → yes
├── Animation → yes
├── Size reduction → 25-35% smaller
└── Fallback → JPEG/PNG
When to use AVIF:
├── Chrome/Firefox → yes
├── Highest compression → yes
├── HDR support → yes
├── Fallback → WebP/JPEG
When to use SVG:
├── Icons/logos → yes
├── Simple graphics → yes
├── Responsive → yes
├── Animation → yes
When to use JPEG:
├── Photos → yes
├── Compatibility → best
└── No transparency → yes
2. Srcset Decision Tree
When to use srcset:
├── Responsive → yes
├── Multiple widths → yes
├── Bandwidth variation → yes
└── Browser selection → yes
When to use sizes:
├── Same crop → srcset + sizes
├── Different crop → picture element
├── Viewport-based → media queries
└── Single image → no srcset needed
Sizes guidelines:
├── Full width → 100vw
├── Half width → 50vw
├── Third width → 33vw
└── Specific breakpoint → media query
3. Picture Element Decision Tree
When to use picture:
├── Art direction → yes (different crops)
├── Format switching → yes (AVIF/WebP/JPEG)
├── Dpr switching → yes (1x/2x/3x)
└── Viewport-based art → yes
Format switching pattern:
├── <picture> + <source type="image/avif">
├── <source type="image/webp">
└── <img> fallback (JPEG or PNG)
When multiple sources:
├── Type + media → both in source
├── Order matters → most capable first
└──.img fallback → last
4. Lazy Loading Decision Tree
When to use loading=lazy:
├── Below fold → yes
├── Not in viewport → yes
├── Not immediate → yes
└── Large number → yes
When to eager load:
├── Above fold → yes (eager or default)
├── First 1-2 images → yes
├── LCP element → yes
└── User scrolls immediately → yes
When to use IntersectionObserver:
├── Custom threshold → yes
├── Progressive loading → yes
├── Animation trigger → yes
└── Native lazy not supported → no (legacy)
5. Responsive Image Decision Trees
When to preload:
├── LCP image → yes
├── Critical → yes
├── Above fold → above fold
└── Not critical → no preload
Preload syntax:
<link rel="preload" as="image" href="large.jpg">
<link rel="preload" as="image" href="large.avif" type="image/avif">
When to decode:
├── Large image → async
├── Blocking render → sync (avoid)
└── Progressive → async
When to use decoding attribute:
├── Above fold → sync (if LCP)
├── Below fold → async
└── Largest content → sync
6. Image Performance Decision Tree
When image is biggest resource:
├── Optimize format → AVIF/WebP
├── Right size → srcset + sizes
├── Compression → lossy acceptable
└── CDN → use
When to use src:
├── Single size → src only
├── Static size → src only
├── Responsive → srcset or picture
└── Different crop → picture
When to check metrics:
├── Lighthouse → yes
├── Field data → yes
├── RUM → if possible
└── All formats → test each
When to Use Decision Summary
Format: AVIF > WebP > JPEG for photos, SVG for icons
Srcset for size changes, picture for format/crop changes
Lazy load below fold, eager load above fold
Preload LCP image
Test with Lighthouse + RUM
Anti-Patterns
❌ Single 2000px image served to all devices
✅ srcset with multiple widths: 400w, 800w, 1200w
❌ Loading all images on page load (even below fold)
✅ loading="lazy" on all below-fold images
❌ JPEG for everything
✅ AVIF → WebP → JPEG with <picture> format fallbacks
❌ No width/height on images (causes layout shift)
✅ Always set width and height to prevent CLS
❌ CSS background-image for hero images (not optimizable)
✅ <img> with LCP optimization; CSS bg only for decorative
Quick Reference
Scenario
Solution
Attribute
Responsive sizes
srcset + sizes
sizes="(max-width:768px) 100vw, 50vw"
Lazy load
Native lazy
loading="lazy"
Format fallback
+
type="image/avif"
LCP image
Eager + preload
loading="eager" fetchpriority="high"
Prevent CLS
Explicit dimensions
width="800" height="600"
Art direction
with media
Different crops per breakpoint
🌍 Universal Language Support
Turkish Native: This skill natively supports Turkish. If the user prompt is in Turkish, all analysis, formatting, and output MUST be entirely in Turkish. You do not need explicit "write in Turkish" instructions.