WebP/AVIF format selection, responsive images with srcset, lazy loading, and Firebase Storage image resize extension
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill uses the workspace's default tool permissions.
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.htmlSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Minimize image payload while maintaining visual quality. Serve the optimal format, size, and resolution for each device and viewport through modern formats, responsive images, and automated processing. [EXPLICIT]
storage-resize-images — auto-generates resized variants. [EXPLICIT][320, 640, 960, 1280, 1920] widths. Formats: [webp, avif]. [EXPLICIT]sharp or squoosh CLI for static assets in public/. [EXPLICIT]<picture> element with <source> for format selection:
<picture>
<source srcset="img.avif" type="image/avif">
<source srcset="img.webp" type="image/webp">
<img src="img.jpg" alt="description">
</picture>
srcset with width descriptors: srcset="img-320.webp 320w, img-640.webp 640w". [EXPLICIT]sizes attribute: sizes="(max-width: 768px) 100vw, 50vw". [EXPLICIT]width and height attributes to prevent CLS. [EXPLICIT]loading="eager", fetchpriority="high", preload in <head>. [EXPLICIT]loading="lazy", decoding="async". [EXPLICIT]IntersectionObserver for lazy loading CSS backgrounds. [EXPLICIT]| Input | Output |
|---|---|
| Original image (JPEG/PNG) | Resized variants (320-1920px) in WebP + AVIF |
| Firebase Storage upload | Auto-generated resized images via extension |
| Image component | <picture> with srcset, sizes, lazy loading |
| Build pipeline | Optimized static images in dist/ |
<picture> fallback for others. [EXPLICIT]width/height — prevents CLS. [EXPLICIT]loading="lazy" present. [EXPLICIT]<link rel="preload"> in document head. [EXPLICIT]svgo instead.<video> for animations instead of GIF. MP4 is 90% smaller.srcset with density descriptors).width/height attributes.<picture> source order (AVIF before WebP).Example invocations: