agentleFS
mvstepanekmvstepanek/nextjs-ecommerce-seo-skills/skills/seo-ecommerce/SKILL.md

seo-ecommerce

Skill1 starsChanged 8 months agoMITView on GitHub

E-commerce specific SEO rules for product pages, category pages, pricing, availability, faceted navigation, and B2B considerations. Use when building or modifying product listings, category pages, shopping cart, or checkout.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-maps, seo-sxo and 10 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.
  • AgriciDanielSkill

    seo-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

  • amirjahfar1Skill

    seo-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 12 projects that use this

  • AgriciDanielSkill

    seo-cluster

    Cluster keywords by SERP overlap and design hub-and-spoke content architecture with internal links. Use for planning only; use the blog-cluster command to execute article production.

    Also in 11 projects that use this

  • indranilbanerjeeSkill

    seo-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 13 projects that use this

  • amirjahfar1Skill

    seo-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 10 projects that use this

  • mangollcSkill

    seo-backlinks

    Backlink analysis and link building strategy: competitor backlink profiling, outreach plan generation, monthly SEO reporting framework, toxic link identification, link opportunity scoring, and unlinked mention discovery.

    Also in 11 projects that use this

  • +3 more from AgriciDaniel

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these rules when working on product pages, category pages, and shopping features.

    line 9
  2. Distinctive:

    Every product page should have:

    line 15
  3. Very specific:

    If prices are visible: Always include offers.price and offers.priceCurrency in Product schema

    line 114
  4. Very specific:

    If showing "Request a Quote": Use offers.priceSpecification with no price, or omit offers block

    line 116
  5. Very specific:

    Business customer type: Consider adding offers.eligibleCustomerType: "https://schema.org/Business"

    line 117
  6. Very specific:

    Use isVariantOf to link variants to a parent product group

    line 141
  7. Very specific:

    Use isSimilarTo for related products in the same category

    line 142
  8. Distinctive:

    If the site offers product bundles, these need special SEO treatment:

    line 158

“Common” is measured: kept by at least 6 in 10 of the 15 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

E-Commerce SEO Guidelines

Follow these rules when working on product pages, category pages, and shopping features.

For detailed e-commerce SEO patterns, see reference.md.

Product Pages

Every product page should have:

1. Unique, Descriptive Title

{Model} {Product Name} | {Brand}

Include model number — B2B buyers search by model.

2. Complete Product Schema (JSON-LD)

A common gap in e-commerce sites is missing price and availability in Product schema, which prevents rich results (price, stock status, ratings) from appearing in Google.

Required for rich results (per Google): name, image[], offers.price, offers.priceCurrency, offers.availability. Strongly recommended: sku, brand, description. Provide gtin if available; if not, provide brand + mpn for product identification. Also consider shippingDetails and hasMerchantReturnPolicy for merchant listing eligibility. See the seo-structured-data skill for full details.

3. Technical Specifications

Display specs prominently and include them in structured data via additionalProperty. Example spec fields:

  • Power / wattage
  • Capacity / volume
  • Dimensions
  • Weight
  • Key performance metrics relevant to the product category

4. Breadcrumb Navigation

Visible breadcrumb trail reflecting the site hierarchy (e.g. Home > Category > Subcategory > Product Name) with matching BreadcrumbList schema (see seo-structured-data skill).

5. Unique Description

  • Never duplicate descriptions across products — even similar models need unique text
  • Min 150 words for product descriptions
  • Include model number, product category, and brand name naturally

Category Pages

Category Page SEO Checklist

  • Unique title per category: {Category Name} - Buy Online | {Brand}
  • Unique description — don't use the same description for all categories
  • H1 heading matching the category name
  • CollectionPage or ItemList schema — list the products on the page
const categorySchema = {
  "@type": "CollectionPage",
  name: category.name,
  description: category.description,
  url: `${siteConfig.url}/${locale}/categories/${category.slug}`, // adapt path to your project
  mainEntity: {
    "@type": "ItemList",
    itemListElement: products.map((product, index) => ({
      "@type": "ListItem",
      position: index + 1,
      url: `${siteConfig.url}/${locale}/products/${product.id}/${product.slug}`,
      name: product.name,
    })),
  },
};

Category Page Content

  • Introductory text above the product grid — 100-300 words explaining the category
  • Don't rely on product cards alone — pages with only product cards and no unique text are "thin content"
  • Internal links to related categories and subcategories

Faceted Navigation (Filters)

Faceted navigation (filters by price, specs, features) can create duplicate or thin content if not handled correctly. Google's guidance is selective, not blanket — useful filter combinations that match real search intent should remain indexable.

Rules

  1. Keep useful filter pages indexable — if a filter combination represents a genuine product category that users search for (e.g. /categories/headphones?type=wireless), let it be indexed. These pages have unique value.
  2. Noindex granular multi-filter combinations — ?power=500w&color=red&weight=5kg creates thousands of thin pages with little search value. Use noindex, follow so crawlers can still discover products through these pages.
  3. Set the canonical to the base category for granular filters — all low-value filter combinations should have their canonical pointing to the base:
    /en-GB/categories/widgets?power=500w&color=red&weight=5kg
    → canonical: /en-GB/categories/widgets
  4. Use noindex, follow (not noindex, nofollow) on filtered pages — allows crawlers to discover products through filtered pages without indexing the filter combination itself
// App Router example — in Pages Router, set robots via next/head
export async function generateMetadata({ searchParams }: Props): Promise<Metadata> {
  // Determine if this is a useful, searchable filter (e.g. single broad category)
  // vs a granular multi-filter combo with little search value
  const filterKeys = Object.keys(searchParams).filter(k => k !== 'sort');
  const isGranularFilter = filterKeys.length > 1;

  return {
    robots: isGranularFilter
      ? { index: false, follow: true }  // noindex granular filter combos
      : { index: true, follow: true },  // index useful single-filter views
  };
}

B2B Pricing Considerations

For B2B e-commerce sites, pricing requires special handling:

  1. If prices are visible: Always include offers.price and offers.priceCurrency in Product schema
  2. If prices require login: Omit price entirely from schema rather than showing 0 or a placeholder. Still include availability.
  3. If showing "Request a Quote": Use offers.priceSpecification with no price, or omit offers block
  4. Business customer type: Consider adding offers.eligibleCustomerType: "https://schema.org/Business"
const offers = product.priceVisible
  ? {
      "@type": "Offer",
      price: product.price,
      priceCurrency: getCurrencyForLocale(locale),
      availability: `https://schema.org/${product.inStock ? 'InStock' : 'OutOfStock'}`,
      seller: { "@type": "Organization", name: siteConfig.brandName },
    }
  : {
      "@type": "Offer",
      availability: `https://schema.org/${product.inStock ? 'InStock' : 'OutOfStock'}`,
      seller: { "@type": "Organization", name: siteConfig.brandName },
      eligibleCustomerType: "https://schema.org/Business",
    };

Product Variants

For products with variants (same product line in different sizes, power ratings, colors):

  • Each variant should have its own URL and page if it has a unique SKU
  • Use isVariantOf to link variants to a parent product group
  • Use isSimilarTo for related products in the same category
const variantSchema = {
  "@type": "Product",
  name: "Widget Pro 500W",
  isVariantOf: {
    "@type": "ProductGroup",
    name: "Widget Pro Series",
    url: `${siteConfig.url}/${locale}/categories/widgets`,
  },
};

Product Bundles

If the site offers product bundles, these need special SEO treatment:

  • Own product page with unique title and description
  • Product schema with all included items listed
  • Highlight savings in meta description
  • Cross-link between individual products and the bundle page

Common Mistakes to Avoid

  1. Missing price in Product schema — the #1 gap preventing rich results
  2. Same description across similar products — every product needs unique text
  3. No introductory content on category pages — thin content signal
  4. Indexable filter combinations — creates thousands of duplicate pages
  5. Price as 0 when login-required — omit price rather than fake it
  6. Missing breadcrumbs on product pages — hurts both UX and SEO
  7. Product images without descriptive alt text — see seo-images skill

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.