image-cdn
できること
このスキルは、サイトの画像が、最適化を行う配信サービスから来ているかを確認します。多くの写真を扱う開発者やサイト運営者向けです。
使う場面
- ✓非常に大きな写真を、すべての端末に配信しているとき。
- ✓画像を手作業で変換せずに、最新の画像形式を使いたいとき。
- ✓異なる画面に合わせて、多くの画像のサイズが必要なとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-cdn/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“写真が自動で最適化されるように、画像の CDN を設定してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは画像の配信方法を確認し、URL の設定でサイズを変え、形式を変換するサービスを提案します。Cloudinary、Imgix、Cloudflare Images、Vercel が例として挙げられています。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Serve images from a CDN
Image CDNs automatically optimize, resize, and convert images on-the-fly—delivering the smallest file in the best format without manual processing.
Quick Reference
- Use image CDN for automatic format conversion (WebP, AVIF)
- Generate responsive sizes on-the-fly via URL parameters
- CDN edge caching delivers images from nearest location
- Popular options: Cloudinary, Imgix, Cloudflare Images, Vercel
Check
Verify if images are served from a CDN or image optimization service.
Fix
Configure an image CDN like Cloudinary, Imgix, or Cloudflare Images for automatic optimization.
Explain
Explain how image CDNs provide on-the-fly optimization, resizing, and format conversion.
Code Review
Review image assets, markup, and delivery configuration related to Serve images from a CDN. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/images/image-cdn
よくある質問
画像の CDN は何をしますか?
要求に応じて画像のサイズを変えて形式を変換し、各訪問者に近い場所から配信します。
どの形式が挙げられていますか?
配信できる最新の画像形式として、WebP と AVIF を挙げています。
異なるサイズはどのように作られますか?
URL のパラメーターで、レスポンシブなサイズを生成できるとこのスキルは説明しています。
詳細
作者による元の説明
Use when reviewing image assets, markup, and CDN or build transforms related to Serve images from a CDN. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
人気
- GitHubのスター
- 75k
- ランキング
- #2882
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。