seo-images
Skill1 starsChanged 8 months agoMITView on GitHub
Image SEO and optimization rules for Next.js. Use when adding images, product photos, icons, banners, or working with the next/image component. Covers alt text, sizing, formats, lazy loading, and LCP optimization.
24 other projects use a version of this.
Adopted by
Most recently taken up by
- joaoguirunas/team-ostheir own version, first seen Sep 26, 2026
- avalonreset/legends-seo-dungeontheir own version, first seen Sep 6, 2026
- gaznil/seo-skills-by-gazniltheir own version, first seen Aug 31, 2026
- Haniubub/seo-toolkittheir own version, first seen Aug 29, 2026
- asale-ai/seo-geo-skilltheir own version, first seen Aug 29, 2026
- Yass5002/agent-skillstheir own version, first seen Aug 27, 2026
Used with
Projects with it also use seo-maps, seo-sxo and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AgriciDanielSkillseo-maps
Maps intelligence for local SEO: geo-grid rank tracking, GBP profile auditing via API, review intelligence across Google/Tripadvisor/Trustpilot, cross-platform NAP verification, competitor radius mapping, and LocalBusiness schema generation. Three tiers: free (Overpass + Geoapify), DataForSEO, and DataForSEO + Google. Use when user says "maps", "geo-grid", "rank tracking", "GBP audit", "review velocity", "competitor radius", or "SoLV".
Also in 12 projects that use this
amirjahfar1Skillseo-sxo
Diagnose why a page is not ranking by reading the SERP backwards. Identifies the page type Google rewards for the target keyword, scores the candidate page against that pattern from multiple persona perspectives, and recommends the page format that would win the SERP. Use when the user asks "why isn't this page ranking", "page type mismatch", "SXO", "search experience optimization", "intent mismatch", or wants a wireframe.
Also in 13 projects that use this
amirjahfar1Skillseo-google
Direct access to Google's own SEO data via Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, GA4 organic traffic, YouTube video search, Google NLP entity/sentiment analysis, Knowledge Graph entity verification, Web Risk safety, and Google Ads Keyword Planner. Bridges crawl-based analysis (the rest of this catalogue) with Google's real-time field data — actual Chrome user metrics, real indexation status, real search performance, real organic traffic. Use when the user asks "search console", "GSC", "PageSpeed", "CrUX", "field data", "indexing API", "GA4 organic", "URL inspection", "google api setup", "real CWV data", "impressions", "clicks", "CTR", "position data", "LCP", "INP", "CLS", "FCP", "TTFB", "Lighthouse scores", "youtube SEO", "knowledge graph", "keyword planner", or "real google data".
Also in 12 projects that use this
AgriciDanielSkillseo-image-gen
AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\".
Also in 11 projects that use this
indranilbanerjeeSkillseo-drift
Compare two SEO snapshots from the same source — GSC, the GSC AI Performance report, a rank-tracker export, or aeo-audit probes — into a drift report: top gainers and losers per metric, growth/decline/reshuffle/stable/new/lost classification, and a four-gate quality scorecard. Triggers on \"/digital-marketing-pro:seo-drift\", \"compare this month's GSC export to last month's\", \"what moved after the core update\", \"did the content refresh work\", \"which queries lost AI Mode impressions\". Runs scripts/seo_drift.py on two CSVs, reads the brand profile for noise thresholds, and branches findings to /digital-marketing-pro:seo-audit, /digital-marketing-pro:aeo-geo, or /digital-marketing-pro:content-engine.
Also in 14 projects that use this
mangollcSkillseo-local
Local SEO optimization: Google Business Profile post generation, 30-day posting calendars, NAP consistency checks, local citation audits, review response templates, local keywords.
Also in 15 projects that use this
- +3 more from AgriciDaniel
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 24
- AgriciDaniel/claude-seo★ 18ksame name
- seranking/seo-skills★ 155same name
- seoskillsai/seo-skills-ai★ 18same name
- coopersimson96/ai-content-system★ 17same name
- Haniubub/seo-toolkit★ 7same name
- megastep/codex-skills★ 7same name
- asale-ai/seo-geo-skill★ 6same name
- mikiarlo3/enso-SEO-GEO★ 6same name
- 01clauding/claude-seo-skill★ 4same name
- realwigu/claude-skills★ 4same name
14 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- seo-crawlabilitySkill
- seo-ecommerceSkill
- seo-hreflangSkill
- seo-internal-linkingSkill
- seo-metadataSkill
- seo-performanceSkill
- seo-redirectsSkill
- seo-structured-dataSkill
- seo-urls-routingSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 62
Use the image's intrinsic dimensions, not display dimensions
- Very specific: line 80
Only 1-2 images per page should have priority — it disables lazy loading and triggers preload
- Very specific: line 110
If the image source is external, add the domain to remotePatterns
- Very specific: line 115
Only override with priority for above-the-fold images
- Distinctive: line 120
Use blur placeholders for product images to reduce perceived loading time and CLS:
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Image SEO & Optimization Guidelines
Technical rules for image implementation in a Next.js e-commerce site.
Always Use next/image
- Never use raw
<img>tags — always use<Image>fromnext/image - next/image provides automatic: WebP/AVIF conversion, lazy loading, responsive sizing, blur placeholders
- Missing these optimizations directly hurts Core Web Vitals (LCP and CLS), which are ranking factors
// GOOD
import Image from 'next/image';
<Image src={product.imageUrl} alt="Blue Widget Pro 3000 - front view" width={800} height={600} />
// BAD - never do this
<img src={product.imageUrl} alt="product image" />Alt Text Technical Requirements
The alt prop is required on every <Image> component. Search engines use alt text for image indexing and accessibility tools depend on it.
Rules
altprop must always be present — never omit it- Must not be empty on meaningful images — product photos, category heroes, and informational images must have descriptive alt text
- Only use
alt=""on purely decorative images (background patterns, visual separators) - Pass alt text from data — pull from CMS/PIM
altTextfield when available, fall back to product name + context
Examples by Image Type
| Image Type | Alt Pattern | Example |
| Product main | {Name} - {Key Spec or View} | "Blue Widget Pro 3000 - front view" |
| Product gallery | {Name} - {Angle/Detail} | "Blue Widget Pro 3000 - control panel detail" |
| Category hero | {Description of content} | "Range of wireless headphones from 20Hz to 40kHz" |
| Icon/decorative | "" (empty) | alt="" |
| Logo | {Company} logo | "Acme Corp logo" |
// GOOD — descriptive, from data
alt={`${product.name} - ${image.viewLabel}`}
// BAD
alt="product image"
alt="image_0"
alt="" // on a meaningful product image
alt={product.sku} // Not human-readableSizing & Layout Stability
- Always specify
widthandheight— or usefillwith a sized container - Missing dimensions cause CLS (Cumulative Layout Shift) — content jumps around as images load
- Use the image's intrinsic dimensions, not display dimensions
// GOOD - explicit dimensions
<Image src={url} alt={alt} width={800} height={600} />
// GOOD - fill mode with container
<div className="relative aspect-[4/3] w-full">
<Image src={url} alt={alt} fill className="object-cover" />
</div>
// BAD - no dimensions, causes CLS
<Image src={url} alt={alt} />Priority & LCP Optimization
- Use
priorityon the LCP image — the largest above-the-fold image (usually the hero product photo) - Only 1-2 images per page should have
priority— it disables lazy loading and triggers preload - On product pages, the main product image is almost always the LCP element
// Product page hero image — this is the LCP element
<Image src={product.mainImage} alt={alt} width={800} height={600} priority />
// Gallery thumbnails — NOT priority, they're below fold or secondary
<Image src={product.thumbnail} alt={thumbAlt} width={200} height={150} />Image Formats
Configure next.config.js for optimal format delivery:
// next.config.js
module.exports = {
images: {
formats: ['image/avif', 'image/webp'],
// If using an external image CDN:
remotePatterns: [
{ protocol: 'https', hostname: '*.your-cdn.com' },
],
},
};- AVIF can be up to ~50% smaller than JPEG, WebP typically ~30% smaller (varies by image content and quality settings)
- next/image automatically serves the best format the browser supports
- If the image source is external, add the domain to
remotePatterns
Lazy Loading
- Default behavior is lazy loading — do not add
loading="lazy"manually (it's redundant) - Only override with
priorityfor above-the-fold images - Lazy loading prevents offscreen images from blocking initial page load
Blur Placeholder
Use blur placeholders for product images to reduce perceived loading time and CLS:
<Image
src={product.imageUrl}
alt={`${product.name} - ${image.viewLabel}`}
width={800}
height={600}
placeholder="blur"
blurDataURL={product.blurDataUrl} // Base64 tiny image
/>Generate blurDataURL at build time or from the CMS/PIM system.
Common Technical Anti-Patterns
- Raw
<img>tags — always use next/image - Missing
altprop — every<Image>must havealt; use empty string only for decorative images - Empty alt on product images — only use
alt=""for purely decorative images - Missing dimensions — causes CLS, hurts Core Web Vitals
- Priority on every image — only the LCP image (1-2 per page) should have priority
- Enormous source images — if displaying at 800px wide, don't serve a 4000px source; use
sizesprop - Missing remote patterns — external images fail silently without
remotePatternsconfig
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

