schema-markup-generator
Schema Markup Generator
Generate JSON-LD structured data for rich results, AI citations, and enhanced search visibility.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/schema-markup-generator ~/.claude/skills/
When to Use
- Adding structured data to new or existing pages
- Generating JSON-LD for specific schema types
- Auditing existing schema for errors or missing fields
- Improving AI search visibility (pairs with aeo-geo-optimizer)
- Enabling rich results (FAQ dropdowns, star ratings, how-to steps)
Workflow
Step 1: Identify Content Type
| Content | Primary Schema | Rich Result |
|---|---|---|
| Blog post | Article | Enhanced listing with author, date |
| FAQ section | FAQPage | Expandable Q&A in SERPs |
| Tutorial | HowTo | Step-by-step with images/time |
| Product page | Product | Price, availability, ratings |
| Review | Review + Rating | Star ratings in SERPs |
| Recipe | Recipe | Cooking time, ingredients, ratings |
| Event | Event | Date, location, ticket info |
| Local business | LocalBusiness | Maps, hours, contact |
| Person/author | Person | Knowledge panel |
| Breadcrumbs | BreadcrumbList | Breadcrumb trail in SERPs |
| Video | VideoObject | Video carousel, thumbnails |
| Software | SoftwareApplication | App info in SERPs |
| Course | Course | Course info in SERPs |
| Dataset | Dataset | Dataset search results |
Step 2: Generate JSON-LD
Generate a <script type="application/ld+json"> block with all required and recommended fields for the schema type. Always use JSON-LD format (not Microdata or RDFa).
Step 3: Validate
- Google Rich Results Test: https://search.google.com/test/rich-results
- Schema.org Validator: https://validator.schema.org/
- Check Google Search Console for structured data errors
Schema Templates
Article
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Title (max 110 chars)",
"description": "Brief description of the article",
"author": {
"@type": "Person",
"name": "Author Name",
"url": "https://example.com/author/name",
"jobTitle": "Author Title",
"sameAs": ["https://linkedin.com/in/author", "https://twitter.com/author"]
},
"publisher": {
"@type": "Organization",
"name": "Publisher Name",
"logo": {"@type": "ImageObject", "url": "https://example.com/logo.png"}
},
"datePublished": "2026-03-18T00:00:00Z",
"dateModified": "2026-03-18T00:00:00Z",
"image": "https://example.com/article-image.jpg",
"mainEntityOfPage": {"@type": "WebPage", "@id": "https://example.com/article-url"}
}
FAQPage
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is the question?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The complete answer text. Can include <a href=url>HTML links</a>."
}
}
]
}
HowTo
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "How to Do Something",
"description": "Brief description",
"totalTime": "PT30M",
"estimatedCost": {"@type": "MonetaryAmount", "currency": "USD", "value": "0"},
"step": [
{
"@type": "HowToStep",
"name": "Step 1 Title",
"text": "Detailed step instructions",
"image": "https://example.com/step1.jpg"
}
]
}
Product
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"description": "Product description",
"image": "https://example.com/product.jpg",
"brand": {"@type": "Brand", "name": "Brand Name"},
"sku": "SKU-12345",
"offers": {
"@type": "Offer",
"price": "29.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"url": "https://example.com/product"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "127"
}
}
BreadcrumbList
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com"},
{"@type": "ListItem", "position": 2, "name": "Category", "item": "https://example.com/category"},
{"@type": "ListItem", "position": 3, "name": "Current Page"}
]
}
Required vs Recommended Fields
| Schema Type | Required Fields | Recommended Fields |
|---|---|---|
| Article | headline, author, datePublished, image | dateModified, publisher, description |
| FAQPage | mainEntity (Question + Answer) | — |
| HowTo | name, step | totalTime, estimatedCost, image |
| Product | name, offers (price + currency + availability) | brand, sku, aggregateRating, image |
| LocalBusiness | name, address | phone, hours, geo, image, priceRange |
| Event | name, startDate, location | endDate, offers, image, performer |
| Person | name | jobTitle, url, sameAs, image |
Common Mistakes
- Missing required fields — always check per-type requirements
- Incorrect date format — use ISO 8601 (YYYY-MM-DDTHH:MM:SSZ)
- Markup does not match visible content — schema must reflect what users see
- Using Microdata instead of JSON-LD — Google recommends JSON-LD
- Nesting errors — validate JSON syntax before deploying
- Duplicate schema — one schema block per type per page
- Self-referencing Organization — publisher should be the organization, not the page
Integration with Other Skills
- aeo-geo-optimizer — Schema is a key AEO signal; implement types recommended by the AEO audit
- technical-seo-audit — Audit identifies missing/broken schema; this skill generates the fixes
- seo-content-writer — Content structure should align with schema structure
More from thatrebeccarae/claude-marketing
facebook-ads
Meta Ads (Facebook & Instagram) platform expertise. Audit campaigns, audiences, creative strategy, pixel tracking, and CAPI. Use when the user asks about Facebook Ads, Instagram Ads, Meta Ads, social media advertising, Advantage+ campaigns, or Meta pixel/CAPI setup.
13content-creator
Comprehensive content marketing toolkit with brand voice analysis, SEO optimization scripts, content frameworks, social media strategy, and content calendar planning. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content calendars, or developing content strategy. For deep SEO writing optimization, see the seo-content-writer skill.
13icp-research
Build detailed ideal customer profiles with pain points, objections, buying triggers, and messaging angles. Includes community research to find where ICPs gather online and extract their exact language. Use when researching audiences, creating buyer personas, or developing targeted messaging.
12content-pipeline
End-to-end content creation workflow that orchestrates research, editorial review, and social distribution agents in sequence. Use when the user wants to create, review, and distribute content through a multi-stage pipeline, or says "/content-pipeline".
12content-workflow
End-to-end content creation pipeline from research through editorial review to social distribution. Orchestrates a 3-stage workflow: research, draft/edit, and distribute. Supports blog posts, LinkedIn, Twitter threads, newsletters, and essays.
12brand-voice-guidelines
Develop brand voice, tone matrices, messaging frameworks, and brand book documentation. Use when the user asks about brand voice, tone of voice, brand guidelines, messaging framework, or brand consistency.
12