SkillMachine
All skills

Schema Markup Generator

Code & Automation

Generates validated JSON-LD structured data that earns your page rich results

Live output preview

Input Format: Input FormatOutputWatch the Output: Watch the Output

A plan is required to view this content

Choose a plan to access input format, sample outputs, and live previews.

View Plans →

About the skill

What it does

The Schema Markup Generator turns a web page into schema.org JSON-LD structured data engineered to earn Google rich results. It runs on four core principles: Accuracy First (mark up only content that actually appears on the page), Use JSON-LD (the only format Google recommends and the best fit for server-side rendering), Follow Google's Guidelines (only supported, spam-policy-compliant markup), and Validate Everything (test before deploy, monitor Search Console).

It begins with an Initial Assessment — page type, which rich results are possible, any existing schema, and the business goal — then applies the type-specific required/recommended property matrix: Organization (name, url), Article/BlogPosting (headline, image, datePublished, author), Product (name, image, offers + optional aggregateRating/review), BreadcrumbList (itemListElement), LocalBusiness (name, address). When several types are needed, it composes them into one block under @graph, linked via @id references.

When to use it

When you want star ratings, price snippets, breadcrumbs, or a knowledge panel on a product/blog/company/local-business page; when existing markup throws errors or Search Console "Enhancements" reports warnings; or when you want reusable schema embedded in a new template (Next.js component, WordPress, static HTML). For a broad SEO audit use seo-audit, for AI-search optimization use ai-seo, and for templated schema at scale use programmatic-seo.

Method / frameworks

  • schema.org type vocabulary + Google's Structured Data General Guidelines — eligibility, content/spam policy.
  • Required vs. Recommended property discipline: a missing required field means no rich result (e.g. no aggregateRating on Product → no stars).
  • @graph composition for multi-type single blocks with @id cross-references.
  • Validation pipeline: Google Rich Results Test → schema.org Validator → Search Console Enhancements; ISO 8601 dates, fully-qualified URLs, exact enumeration checks.
  • 2026 reality: FAQ rich results were deprecated in May 2026; the generator prioritizes active types and flags valid-but-not-displayed markup (valid ≠ eligible). Source: coreyhaines31/marketingskills (MIT), adapted to the Skill Machine dual-output format.

How do I use this skill?

You don't "run" a skill — after installing it you just tell the agent your task (e.g. ask for the relevant job), and the skill kicks in by itself when its description matches.

Upload the schema.zip you downloaded as-is — no packaging needed, the format is already correct (folder at root).

  1. Open Settings → Customize → Skills
  2. Upload → select the schema.zip you downloaded
  3. Claude reads SKILL.md; the name + description appear. Ready ✅

Scripts run in Anthropic's code-execution environment (sandbox) — not on your machine.