什麼是 responsive-images?
使用 srcset、大小、延遲載入和現代格式(WebP、AVIF)實現高效能響應式影像。涵蓋用於 CLS 預防的寬高比、用於藝術指導的圖片元素以及用於 LCP 優化的 fetchpriority。 在新增影像、最佳化 Core Web Vitals、防止版面變更、實作藝術指導或轉換為現代格式時使用。 來源:oakoss/agent-skills。
使用 srcset、大小、延遲載入和現代格式(WebP、AVIF)實現高效能響應式影像。涵蓋用於 CLS 預防的寬高比、用於藝術指導的圖片元素以及用於 LCP 優化的 fetchpriority。 在新增影像、最佳化 Core Web Vitals、防止版面變更、實作藝術指導或轉換為現代格式時使用。
透過命令列快速安裝 responsive-images AI 技能到你的開發環境
來源:oakoss/agent-skills。
Responsive images serve the right image size and format based on viewport, device pixel ratio, and browser capabilities. Proper implementation prevents layout shift (CLS), optimizes Largest Contentful Paint (LCP), and reduces bandwidth by 50-70% with modern formats.
When to use: Any page with images, especially content images, hero images, product photos, and gallery layouts.
When NOT to use: Inline SVG icons, CSS background patterns, or canvas-rendered graphics.
使用 srcset、大小、延遲載入和現代格式(WebP、AVIF)實現高效能響應式影像。涵蓋用於 CLS 預防的寬高比、用於藝術指導的圖片元素以及用於 LCP 優化的 fetchpriority。 在新增影像、最佳化 Core Web Vitals、防止版面變更、實作藝術指導或轉換為現代格式時使用。 來源:oakoss/agent-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/oakoss/agent-skills --skill responsive-images使用 srcset、大小、延遲載入和現代格式(WebP、AVIF)實現高效能響應式影像。涵蓋用於 CLS 預防的寬高比、用於藝術指導的圖片元素以及用於 LCP 優化的 fetchpriority。 在新增影像、最佳化 Core Web Vitals、防止版面變更、實作藝術指導或轉換為現代格式時使用。 來源:oakoss/agent-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/oakoss/agent-skills --skill responsive-images 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/oakoss/agent-skills