Back to catalog

ecommerce-seo

Product SEO and structured data optimization. This skill should be used when optimizing product pages, category pages, and product feeds for search engines. It covers JSON-LD schema generation, product page checklists, category taxonomy, and SERP enhancements.

  • Category: Marketing
  • Tags: seo, scripted, optimization
  • Version: 1.0.0
  • Author: walid
  • Downloads: 7
  • Updated: 2026-05-10

Download the latest version (v1.0.0) from this page.

SKILL.md

---
name: ecommerce-seo
description: Product SEO and structured data optimization. This skill should be used when optimizing product pages, category pages, and product feeds for search engines. It covers JSON-LD schema generation, product page checklists, category taxonomy, and SERP enhancements.
---

# E-commerce SEO

Expert guidance for optimizing product and category pages for search visibility, rich results, and conversions.

## When to Use

Use this skill when:
- Launching or optimizing product/category pages
- Implementing structured data (JSON-LD) for Product/Offer/Review
- Building product taxonomies and breadcrumbs
- Preparing product feeds for Google Merchant / marketplaces

## Quick Start

### Generate Product JSON-LD

```bash
python scripts/generate_jsonld.py \
  --name "Acme Hoodie" \
  --description "Premium cotton hoodie with minimalist design" \
  --sku HOOD-ACME-01 \
  --brand "Acme" \
  --price 59.00 \
  --currency USD \
  --url https://example.com/products/acme-hoodie \
  --images https://example.com/img/hoodie1.jpg https://example.com/img/hoodie2.jpg \
  --output product.json
```

Embed as:
```html
<script type="application/ld+json">
{... contents of product.json ...}
</script>
```

## Page Checklist

### Product Page
- Unique, descriptive H1 with primary keyword
- 150–160 char meta description with benefit-oriented copy
- High-quality images (alt text, WebP/AVIF, responsive sizes)
- Variant handling (size/color) with distinct URLs or canonical tags
- Pricing and availability clearly visible
- Reviews with schema (aggregateRating, review)
- Internal links to categories, related products, and guides
- Fast LCP: lazy-load below-the-fold assets, preconnect fonts/CDN

### Category Page
- Clear intro paragraph (context + internal links)
- Faceted navigation with crawl-safe parameters (robots, canonical)
- Pagination with rel prev/next or view-all canonical
- Bread crumbs with schema (BreadcrumbList)
- Curated featured items and buying guides

## Structured Data

Include:
- Product
- Offer
- AggregateRating
- Review
- BreadcrumbList

Validate with Google Rich Results Test and Search Console.

## Taxonomy & URLs

- Human-readable slugs: `/men/hoodies/acme-hoodie`
- Stable canonical URLs; use `rel=canonical` for variants/UTM
- Consistent category depth (max 3 levels when possible)
- Avoid duplicate category routes (pick one canonical path)

## Performance & CWV

- Preload hero image
- Defer non-critical JS; tree-shake vendor bundles
- Optimize image dimensions; serve modern formats
- Minify/inline critical CSS; reduce CLS from dynamic content

## Analytics & Merchandising

- Track PDP events: view_item, add_to_cart, begin_checkout
- Capture search terms on-site; surface zero-result queries
- Map merchandising rules to SEO goals (top categories ↔ pillar pages)

## Resources

- Google Merchant Center product data spec
- Schema.org Product / Offer / Review
- Google Rich Results guidelines
- Core Web Vitals for e-commerce