Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Product Schema (JSON-LD) Validator and Generator

    by Saizul Amin

    1

    Validate and generate Google-compliant JSON-LD product schema for WooCommerce, Shopify, and headless stores.

    $4

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Product Schema (JSON-LD) Validator and Generator

    Product Schema (JSON-LD) Validator and Generator

    Example session with this skill installed

    Check the product structured data on my product page and tell me why Google isn't showing price and stars in search.

    • Read your context and instructions
    • Compiled the product schema json-ld

    I ran the bundled script from the product-schema skill and reviewed its findings.

    Demo data: this is the real, unedited output of the skill's script on the test fixture that ships with its source repo.

    Script output

    tests/fixtures/product-schema/bad.html: 3 JSON-LD block(s), 3 product(s), 14 error(s), 3 warning(s)
      [ERROR] JSON-LD block 3 is not valid JSON: Expecting property name enclosed in double quotes (line 1)
      [WARNING] Product 'leather wallet' is marked up 2 times; two plugins (theme + SEO plugin + reviews app) are probably both printing schema
      [ERROR] Product #1 'Leather Wallet': missing image (required for merchant listings)
      [ERROR] Product #1 'Leather Wallet' offer 1: price '$1,299.00' must be a number without currency symbols or thousands separators
      [ERROR] Product #1 'Leather Wallet' offer 1: priceCurrency 'Tk' must be an ISO 4217 code such as USD or BDT
      [WARNING] Product #1 'Leather Wallet' offer 1: write availability as the full URL https://schema.org/InStock
      [WARNING] Product #1 'Leather Wallet' offer 1: priceValidUntil 2020-01-01 is in the past; Google may ignore the offer
      [ERROR] Product #1 'Leather Wallet': ratingValue 9.2 is outside 1-5 (set bestRating/worstRating)
      [ERROR] Product #1 'Leather Wallet': aggregateRating needs reviewCount or ratingCount
      [ERROR] Product #1 'Leather Wallet': gtin13 '4006381333932' fails the GS1 check digit
      [ERROR] Product #2 'Leather Wallet' offer 1: offer is missing price
      [ERROR] Product #2 'Leather Wallet' offer 1: availability 'https://schema.org/Available' is not a schema.org ItemAvailability value
      [ERROR] Product #2 'Leather Wallet' offer 1: itemCondition 'Mint' is not a schema.org OfferItemCondition
      [ERROR] Product #2 'Leather Wallet' review 1: missing author
      [ERROR] Product #2 'Leather Wallet' review 1: reviewRating.ratingValue must be a number
      [ERROR] Product #3 'Variant Group' offer 1: lowPrice '1,000' must be a plain number
      [ERROR] Product #3 'Variant Group' offer 1: AggregateOffer needs priceCurrency
      (recommendations hidden; use --verbose)
    

    Next steps

    1. Remove the duplicate Product markup so only one plugin outputs schema.
    2. Fix the invalid JSON-LD block and missing offer fields.
    3. Re-test in Google's Rich Results Test after deploying.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Product pages often fail to show stars or prices in Google because of invisible formatting errors. This skill audits your store's HTML or JSON-LD to find "Missing field offers," invalid price formats, and conflicting markup from multiple SEO plugins.

    What it does

    • Validation scans saved HTML or JSON-LD to detect rich result errors that block Google snippets.
    • Conflict detection identifies duplicate Product blocks generated by competing plugins like Yoast, Rank Math, or WooCommerce core.
    • Normalization cleans messy input data, converting currency symbols and thousands separators into ISO-compliant numbers.
    • Schema generation builds custom Product, Offer, and AggregateRating JSON-LD from raw product data or CSV exports.
    • GTIN verification stops invalid check digits from being published to Search Console.

    How it works

    1. Audit the source by running the validate command on a saved product page HTML or JSON file to surface warnings and errors.
    2. Trace the source of the markup to determine which theme file or plugin is responsible for the output.
    3. Generate new markup using the generate command, mapping fields from a Shopify/WooCommerce CSV or manual input.
    4. Deploy and verify by proposing theme template changes or plugin setting adjustments and re-validating the final output.

    Frameworks & tools

    Built for Python 3.8+ environments. Supports schema remediation for WooCommerce, Shopify, Yoast SEO, Rank Math, and headless storefronts.

    Why this beats prompting it yourself

    Writing schema by hand often leads to invalid priceValidUntil dates or broken GTINs that pass basic syntax checks but fail Google's strict Merchant Listing requirements. This skill uses a logic-based validator to catch high-level errors like thousands-separator price bugs and duplicate @graph IDs that LLMs typically miss.

    Use cases

    • Fix "Invalid price format" errors in Google Search Console.
    • Remove duplicate product schema caused by a theme and an SEO plugin both printing markup.
    • Generate batch JSON-LD for a headless storefront using a CSV export.
    • Verify that customer review counts and rating values are correctly mapped to AggregateRating.

    Known limitations

    Does not support Organization, Breadcrumb, or FAQ markup. Will not generate incentivized or fake reviews to avoid Google manual actions. Requires a rendered HTML copy for JS-only stores.


    Open source: saizul/ecommerce-store-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.

    Does not handle non-product schema types. Requires Python 3.8+. Does not fix Merchant Center feed files. Cannot scrape JS-only storefronts without a pre-rendered HTML export.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill identifies and resolves critical Rich Result errors, such as 'Missing field offers' or 'Invalid price format,' and fixes schema conflicts caused by multiple plugins (e.g., Yoast and WooCommerce) outputting competing data.

    It is designed for any AI agent or platform running a Python 3.8+ environment and is compatible with data exported from Shopify, WooCommerce, and various headless CMS setups.

    Yes, the skill includes a 'Normalization' feature that automatically converts local currency symbols and non-standard price formats into the ISO-compliant decimals required by Google.

    The purchase includes the core logic for schema validation, the conflict detection engine, mapping templates for major e-commerce platforms, and the GTIN verification utility.

    While it can audit static exports from JS-heavy sites, it requires a rendered HTML copy for full validation to ensure the schema visible to Google's crawlers is accurately analyzed.

    To protect your site's SEO integrity and avoid Google manual actions, this skill strictly generates schema based on your actual data and will not create fake or incentivized review markup.

    New in E-commerce