seo-images
ما الذي تفعله
تراجع هذه المهارة الصور في صفحة ويب من ناحية SEO والسرعة. وهي مخصصة لأصحاب المواقع الذين يريدون صفحات أسرع ووصفًا أفضل للصور.
متى تستخدمها
- ✓عندما تريد معرفة ما إذا كانت كل صور الصفحة تحمل نص alt مفيدًا.
- ✓عندما تريد العثور على صور كبيرة تبطئ الصفحة.
- ✓عندما تريد معرفة ما إذا كانت صورك تستخدم صيغًا حديثة مثل WebP أو AVIF.
رابط المهارة
https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-images/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك فحص الصور في صفحتي الرئيسية بحثًا عن نص alt مفقود وأحجام ملفات كبيرة؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقرأ المهارة وسوم الصور في الصفحة، وتفحص نص alt وحجم الملف والصيغة وإعدادات التحميل. ثم تسرد الصور التي تحتاج إلى إصلاح وتقترح صيغًا أفضل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Image Optimization Analysis
Checks
Alt Text
- Present on all
<img>elements (except decorative:role="presentation") - Descriptive: describes the image content, not "image.jpg" or "photo"
- Includes relevant keywords where natural, not keyword-stuffed
- Length: 10-125 characters
Good examples:
- "Professional plumber repairing kitchen sink faucet"
- "Red 2024 Toyota Camry sedan front view"
- "Team meeting in modern office conference room"
Bad examples:
- "image.jpg" (filename, not description)
- "plumber plumbing plumber services" (keyword stuffing)
- "Click here" (not descriptive)
File Size
Tiered thresholds by image category:
| Image Category | Target | Warning | Critical |
|---|---|---|---|
| Thumbnails | < 50KB | > 100KB | > 200KB |
| Content images | < 100KB | > 200KB | > 500KB |
| Hero/banner images | < 200KB | > 300KB | > 700KB |
Recommend compression to target thresholds where possible without quality loss.
Format
| Format | Browser Support | Use Case |
|---|---|---|
| WebP | 97%+ | Default recommendation |
| AVIF | 92%+ | Best compression, newer |
| JPEG | 100% | Fallback for photos |
| PNG | 100% | Graphics with transparency |
| SVG | 100% | Icons, logos, illustrations |
Recommend WebP/AVIF over JPEG/PNG. Check for <picture> element with format fallbacks.
Recommended <picture> Element Pattern
Use progressive enhancement with the most efficient format first:
<picture>
<source srcset="image.avif" type="image/avif">
<source srcset="image.webp" type="image/webp">
<img src="image.jpg" alt="Descriptive alt text" width="800" height="600" loading="lazy" decoding="async">
</picture>
The browser will use the first supported format. Global browser support (caniuse.com, checked 2026-09-28): AVIF about 95.4%, WebP about 96.8%. Re-check caniuse before quoting.
JPEG XL: Emerging Format
Third-party reporting and Wikipedia describe a Rust-based JPEG XL decoder as shipped in Chrome 145 stable (2026-02-10) behind the chrome://flags/#enable-jxl-image-format flag, not enabled by default; no Google-owned confirmation was retrieved in the fact pack. Because default support is not confirmed, it is not yet practical for production web delivery. Keep serving AVIF/WebP with JPEG fallback and monitor.
Responsive Images
srcsetattribute for multiple sizessizesattribute matching layout breakpoints- Appropriate resolution for device pixel ratios
<img
src="image-800.jpg"
srcset="image-400.jpg 400w, image-800.jpg 800w, image-1200.jpg 1200w"
sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px"
alt="Description"
>
Lazy Loading
loading="lazy"on below-fold images- Do NOT lazy-load above-fold/hero images (hurts LCP)
- Check for native vs JavaScript-based lazy loading
<!-- Below fold - lazy load -->
<img src="photo.jpg" loading="lazy" alt="Description">
<!-- Above fold - eager load (default) -->
<img src="hero.jpg" alt="Hero image">
Detected lazy-loader methods (lazy_method field)
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py classifies each image's lazy-loading mechanism via the
lazy_method field on every image entry. Five values:
lazy_method |
Signal detected | Common stack |
|---|---|---|
native |
loading="lazy" HTML attribute |
Modern browsers, plain HTML |
perfmatters |
data-perfmatters-src/-srcset OR class perfmatters-lazy |
WordPress + Perfmatters plugin |
ewww |
data-ewww-src / data-eio OR class lazyload-eio |
WordPress + EWWW Image Optimizer |
js-generic |
data-src / data-lazy-src / data-original / data-srcset OR class lazyload/lazyloaded/lazy |
Lazysizes, vanilla-lazyload, jQuery plugins |
none |
Neither attribute nor class signal | Page is not lazy-loading this image |
When auditing image SEO, report lazy_method alongside loading so users know
whether their site is using a JS-driven lazy-loader (in which case the native
loading="lazy" attribute is intentionally absent, that is not a regression).
fetchpriority="high" for LCP Images
Add fetchpriority="high" to your hero/LCP image to prioritize its download in the browser's network queue:
<img src="hero.webp" fetchpriority="high" alt="Hero image description" width="1200" height="630">
Critical: Do NOT lazy-load above-the-fold/LCP images. Using loading="lazy"
الأسئلة الشائعة
ما نص alt الجيد؟
تنصح المهارة بنص alt يصف الصورة في 10 إلى 125 حرفًا، ويتجنب حشو الكلمات المفتاحية.
ما صيغ الملفات التي توصي بها؟
توصي بـ WebP أو AVIF بدل JPEG أو PNG لمعظم الصور، مع بدائل عند الحاجة.
هل يمكنها فحص ترتيب الصور؟
نعم. إذا كانت أداة DataForSEO متصلة، يمكنها فحص ترتيب الصور في بحث الصور.
التفاصيل
الوصف الأصلي من المؤلف
Image optimization analysis for SEO and performance. Checks alt text, file sizes, formats, responsive images, lazy loading, CLS prevention, image SERP rankings (via DataForSEO), and image file optimization (WebP/AVIF conversion, IPTC/XMP metadata injection). Use when user says "image optimization", "alt text", "image SEO", "image size", "image audit", "optimize images", "image metadata", "image SERP", "convert to webp", or "image file optimize".
repo: AgriciDaniel/claude-seo
الشعبية
- نجوم GitHub
- 26k
- الترتيب
- #10009
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
seo-ahrefs
26kيتيح لوكيلك جلب بيانات Ahrefs الحية عن موقع، كالروابط الخلفية والكلمات المفتاحية العضوية وأفكار المحتوى. يحتاج إلى رمز Ahrefs API.
seo-image-gen
26kيساعد وكيلك على إنشاء صور SEO كبطاقات المشاركة وصور رؤوس المدونات والإنفوجرافيك عبر Gemini. يتطلب تثبيت إضافة banana أولًا.
seo-bing
26kيساعد وكيلك على مراجعة بيانات Bing Webmaster Tools وإرسال عناوين الصفحات الجديدة عبر IndexNow، ليساعد Bing على العثور على صفحاتك.
seo-dataforseo
26kيتيح لوكيلك جلب بيانات SEO حية، كنتائج البحث وحجم الكلمات المفتاحية والروابط الخلفية، من DataForSEO. تحتسب الخدمة كل طلب.
مهارات مشابهة
competitive-platform-analysis
280kيساعدك على فهم منافسيك. يحدد الشركات المنافسة ويصنّفها ويصفيها قبل أي تحليل أعمق.
competitive-report-structure
280kينشئ تقارير شاملة عن المنافسين. يجمع المعلومات ليوضح الصورة العامة للسوق والتوصيات، ويساعد على توحيد رؤية الفريق.
lead-intelligence
280kيساعد وكيلك على إيجاد الأشخاص المهمين والتواصل معهم. يحلل العملاء المحتملين، ويقترح أساليب الوصول إليهم، ويدير التواصل عبر البريد ووسائل التواصل الاجتماعي.