/eds-content-ops:product-page-seofrom eds-content-ops
Optimize AEM Edge Delivery Services commerce product pages for search engine crawling and indexing. Audits client-side rendered product content for crawlability, validates meta tags, Product schema.org structured data, canonical URLs, and image optimization. Addresses the core challenge that EDS product pages render catalog data via JavaScript, which search crawlers may not fully execute. Use when product pages are not appearing in search results or have poor search visibility.
Ships in eds-content-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit AEM Edge Delivery Services commerce product pages for search engine crawlability, focusing on the unique challenge that EDS commerce pages render product data client-side via JavaScript. Identifies what content is visible to crawlers in the initial HTML versus what requires JavaScript execution, and provides specific remediation strategies to maximize product page indexing and rich result eligibility.
This skill fetches external web pages for analysis. When fetching:
storefront-setup first, then run this skill.Standard AEM Edge Delivery Services pages are pre-rendered as static HTML — search engines crawl and index them without JavaScript. Commerce product pages are fundamentally different. The browser loads a template page containing the product-details block declaration but no actual product data. The PDP block's JavaScript then extracts the product identifier from the URL, queries the Catalog Service GraphQL API, and renders the product data (name, price, description, images) into the DOM using dropin components.
The problem: search engine crawlers may not execute the JavaScript, or may not wait long enough for the API call to complete. Googlebot renders JavaScript but with a delay (days to weeks after initial crawl) and resource limits. Other crawlers (Bing, social media previews, AI bots) may not execute JavaScript at all. This creates a gap between what humans see (a fully rendered product page) and what crawlers see (a mostly empty template). EDS's built-in indexing (query-index.xlsx) also only indexes authored document content — product data added dynamically is invisible to the EDS query index.
Before starting, create a checklist to track progress:
Fetch at least 3 product pages from the storefront — one simple product, one configurable product (if applicable), and one from a different category.
For each page, fetch two versions:
curl or equivalent to fetch the raw HTML without JavaScript execution. This is what a non-JS crawler sees.For each page, document:
| Content Element | In Initial HTML? | Added by JavaScript? | SEO Impact |
|---|---|---|---|
| Product name | ? | ? | Critical — this is the H1 |
| Product price | ? | ? | Critical — needed for rich results |
| Product description | ? | ? | High — primary indexable content |
| Product images | ? | ? | High — image search, visual results |
<title> tag | ? | ? | Critical — appears in search results |
<meta name="description"> | ? | ? | High — appears in search snippets |
og:title, og:image | ? | ? | Medium — social sharing |
| JSON-LD structured data | ? | ? | High — rich results eligibility |
| Breadcrumb navigation | ? | ? | Medium — breadcrumb rich results |
| Canonical URL | ? | ? | Critical — prevents duplicate content |
If the initial HTML contains none of the product-specific content, this is a P0 crawlability risk.
Check the <head> of each product page for product-specific meta tags.
{Product Name} | {Brand/Site Name} — 50-60 characters.<title> in the raw HTML is a generic template title and only updates after JavaScript runs, it may not be indexed with the product name. Flag as P0.og:title — Should match or closely relate to the product name.og:description — Should summarize the product.og:image — Should be the primary product image URL. Missing og:image means no preview when shared on social media. P1.og:type — Should be product for product pages. P2 if missing.og:url — Should match the canonical URL.If meta tags are set only via JavaScript, recommend one of these approaches:
head.html based on URL patterns.Product pages should include Product schema.org structured data in JSON-LD format for rich result eligibility.
| Property | Source | Required? |
|---|---|---|
@type | Product | Yes |
name | Product name from Catalog Service | Yes |
image | Primary product image URL(s) | Yes |
description | Product short or full description | Recommended |
sku | Product SKU | Recommended |
brand.name | Brand attribute from catalog | Recommended |
offers.@type | Offer | Yes (for price display) |
offers.price | Product final price | Yes |
offers.priceCurrency | Currency code (e.g., USD) | Yes |
offers.availability | InStock, OutOfStock, etc. | Yes |
offers.url | Canonical product URL | Recommended |
aggregateRating | Average rating and review count | Recommended (if reviews exist) |
<script type="application/ld+json"> in the page source. If absent, this is P0.name, image, or offers means no rich result eligibility. P0.InStock in structured data is a policy violation. P0.The recommended approach is to inject JSON-LD in the PDP block's JavaScript (product-details.js) after product data loads: build a schema object with @context, @type: Product, name, image, description, sku, and an offers object with price, priceCurrency, and availability. Create a <script type="application/ld+json"> element and append it to document.head. Note: this approach relies on JavaScript execution. For maximum crawlability, also implement server-side or edge-side injection of the same structured data.
Product pages must have correct canonical URLs to avoid duplicate content issues.
<link rel="canonical" href="..."> must be in the <head>. Missing canonical is P0.https://store.example.com/products/blue-jacket), not the Commerce admin URL or the .aem.live preview URL.main--repo--org.aem.page instead of the production domain, search engines will index the preview URL. P0.?color=blue) should canonicalize to the base product URL unless variants have separate pages. P1.Fetch robots.txt from the site root. Check:
/products/ and /categories/ (or whatever URL pattern the storefront uses) are not in a Disallow directive. Blocked product paths is P0.robots.txt should contain a Sitemap: directive pointing to the product sitemap.Fetch the sitemap(s) declared in robots.txt. Check:
<lastmod> dates. If the sitemap has not been updated in months but the catalog changes frequently, product URLs may be stale. P1.Product images are critical for Google Shopping, image search, and visual search.
<img> for a product photo must have descriptive alt text containing the product name. Alt text like "product image" or "IMG_001" is P1.width and height attributes to prevent CLS. Missing dimensions is P1.loading="lazy". It should have fetchpriority="high". Lazy-loading the LCP product image is P0./media/catalog/product/cache/abc123.jpg). These carry no SEO value. Consider using descriptive image URLs if the Commerce setup supports it. P3.Based on the findings from Steps 1-6, recommend a crawlability strategy. Rate the current state and suggest improvements:
Tier 1: JavaScript-Dependent (Current default for most EDS commerce sites) — All product content rendered by JS. Relies on Googlebot's JavaScript rendering (days/weeks delay). Other crawlers see empty pages. Risk: High. Acceptable only for small catalogs with low search traffic requirements.
Tier 2: Hybrid (Recommended minimum) — Critical meta tags (<title>, <meta description>, canonical, og:tags) pre-populated in the HTML response. JSON-LD structured data injected server-side or at the edge. Product body content still rendered by JS. Risk: Medium. Search engines get enough signals for indexing even without full JS execution.
Tier 3: Pre-Rendered (Recommended for large catalogs) — Edge worker or build-time process pre-renders critical product HTML (name, price, description, primary image) in the initial response. JS enhances the page (interactivity, gallery, add-to-cart) but is not required for content. Risk: Low. All crawlers see product content immediately.
Recommend the appropriate tier based on the site's catalog size, search traffic importance, and technical capabilities.
Produce a structured report:
| Check | Status | Priority | Details |
|---|---|---|---|
| Product content in initial HTML | Pass / Fail | P0 | What percentage of product content is in initial HTML vs. JS-rendered |
| Title tag contains product name | Pass / Fail | P0 | Current title format and content |
| Meta description is product-specific | Pass / Fail | P1 | Current description |
| Product JSON-LD structured data | Pass / Fail | P0 | Properties present, accuracy |
| Canonical URL is correct | Pass / Fail | P0 | Current canonical value |
| Product URLs in sitemap | Pass / Fail | P0 | Number of product URLs found |
| Product image alt text | Pass / Fail | P1 | Sample alt text values |
| LCP image loading priority | Pass / Fail | P0 | Loading attribute value |
| Robots.txt allows product crawling | Pass / Fail | P0 | Relevant directives |
Rate overall crawlability: High Risk / Medium Risk / Low Risk
For each fix, provide:
Recommend Tier 1, 2, or 3 from Step 7 with a specific implementation plan.
| Symptom | Cause | Fix |
|---|---|---|
| Product pages show as "Discovered - currently not indexed" in Search Console | Googlebot has not rendered the JavaScript yet, or the rendered content was insufficient for indexing | Implement Tier 2 or Tier 3 crawlability strategy to add product content to the initial HTML |
| Structured data errors in Google Rich Results Test | JSON-LD properties are missing or malformed | Validate the JSON-LD output against Google's Product structured data requirements; ensure price and availability are accurate |
| Product images not appearing in Google Images | Images lack descriptive alt text or are loaded lazily without a noscript fallback | Set alt text from product name in the PDP block; ensure primary image uses eager loading |
| Canonical URL points to preview domain | The EDS preview domain (.aem.page or .aem.live) is set as the canonical instead of the production domain | Update the canonical URL logic in head.html or scripts.js to use the production domain |
| Sitemap does not include product URLs | No custom sitemap generation exists for route-based product pages | Build a sitemap generator that queries the Catalog Service for all active products and outputs their storefront URLs |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (focus-gts/eds-content-ops-skills) — no native marketplace selected
npx claudepluginhub p/focus-gts-eds-content-ops42 skills in this plugin
/accessibility-fixScan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations./aem-to-eds-migrationAssess and plan a migration from traditional AEM Sites to AEM Edge Delivery Services. Analyzes the source AEM site to inventory components, templates, content types, and integrations, then maps them to EDS equivalents and produces a migration feasibility report with effort estimates, risk areas, and a phased plan./