XooCode(){

Structured Data Testing Tool for Claude Code

Install a skill, validate any URL, fix issues directly in your code.

A single skill file gives Claude Code the ability to validate JSON-LD structured data on any URL. It checks values against schema.org and Google requirements, reports findings with fix suggestions, and can apply fixes directly in your codebase.

Install

Download and install with a single command:

curl -o ~/.claude/skills/structured-data-testing-tool/skill.md \
  --create-dirs \
  https://xoocode.com/skills/structured-data-testing-tool.md

Or download the file directly and save it to ~/.claude/skills/structured-data-testing-tool/skill.md.

The skill walks you through API key setup on first use. Or sign up at xoocode.com/signup beforehand.

Usage

Run it on any URL:

/structured-data-testing-tool https://example.com/product-page

The skill fetches the page, validates all JSON-LD blocks, and reports findings:

Structured Data Validation: https://example.com/product-page

Found 2 blocks, 1 error, 2 warnings.

Block 1: Product (name: "Widget Pro")
  Error: offers[0].priceCurrency
    Current value: "dollars"
    Issue: "dollars" is not a recognized ISO 4217 currency code
    Suggestion: USD

  Warning: brand
    Missing property "brand" (recommended by Google for Product rich result)

Block 2: BreadcrumbList
  No issues found.

API usage: 3 / 50 requests used this month.

If you are in the codebase that generates this page, the skill offers to locate the source files and apply the fixes directly.

How it works

1

Install the skill

One curl command places the skill in your Claude Code skills directory.
2

Run on any URL

Type /structured-data-testing-tool followed by a URL. The skill calls the XooCode API.
3

Review findings

Errors and warnings listed per block with paths, current values, and suggested fixes.
4

Fix in your codebase

The skill locates the source files that generate the markup and applies fixes with your approval.

What it validates

The skill validates JSON-LD values against schema.org and Google's structured data requirements. It checks:

  • URL formats (absolute URLs, correct protocol)
  • ISO 8601 dates and durations
  • ISO 4217 currency codes
  • Schema.org enum values and casing
  • Number types (string vs numeric)
  • Position indexing (1-based for BreadcrumbList)
  • Required and recommended fields per Google's rich result spec
  • @type validity against the schema.org hierarchy

Features

Validate any URL

Public sites, staging environments, localhost. The API fetches the page and checks every JSON-LD block.

Auto-fix in codebase

When you are in the project that generates the markup, the skill locates source files and applies fixes.

Guided setup

First run walks you through signing up and creating an API key. No manual configuration needed.

9 rule categories

URLs, dates, durations, currencies, enums, numbers, positions, required fields, and @type validity.

Free tier included

50 validations per month at no cost. Pro tier (19.99/month) gives 500 per day.

One file install

A single markdown file. No npm packages, no build steps, no dependencies.