Optimizes raster images for the web: modern formats (AVIF/WebP), responsive srcset, lazy-loading, and LCP prioritization to reduce bytes and layout shift.
Images are usually the heaviest bytes on a page and the most common Largest Contentful Paint element. Shipping one oversized original to every device wastes bandwidth on phones and delays the first meaningful paint. Serve the right format, the right dimensions for the viewport, and decode off the critical path.
<picture>. AVIF is often 30 to 50 percent smaller than JPEG at
equal quality. Produce it with sharp, Squoosh, or a build step; never
ship the camera's original file.srcset plus sizes so a phone downloads a 400px image and
not the 2000px desktop one. On mobile this is the single biggest byte win.aspect-ratio, lets the
browser reserve the box and keeps CLS near zero.loading="lazy" to
offscreen images to defer their fetch, and fetchpriority="high" with a
preload on the LCP image to pull it forward. Never lazy-load the hero: it
delays LCP.decoding="async" so the
browser decodes off the main thread. For large images, show a low-quality
placeholder or a solid color so the space is not a blank box during load.Tying these fixes to the LCP and CLS numbers is web-vitals; delivering the bytes from an edge cache is cdn-strategy. Vector graphics and icon fonts follow different rules. This skill covers raster images on the web.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch./accessible-formsBuild forms with associated labels, identified errors, clear instructions, and autocomplete attributes. Use when creating or auditing forms for accessibility./actions-securityPrevent workflow automation from becoming an attack path, through pinned actions, scoped tokens, and careful handling of untrusted input. Use when workflows handle secrets or run on pull requests from forks./agent-accountability-loopTrack every commitment from assignment to completion, chasing what is late and escalating what is stuck, so work finishes rather than fading. Use when things are agreed in meetings and quietly never happen.Other plugins' skills for the same job