Proposal drafted and filed as an issue in the Magister repo for easier sharing with @elliot-ylambda: **Magister-Marketing/magister-marketing#900** — shared rubric/fixture/candidate schema, the two-grading-modes-over-one-rubric design, and 6 open decisions (canonical form, kind registry, calibration, verdict policy, package ownership, versioning). Redline there.
Schema Markup
When the user wants to add, fix, or optimize schema markup and structured data on their site.
How to use it
- Hit Copy SKILL.md — or use the Claude Code line below to get every file.
- Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
ChatGPT: make a Project and paste it into Instructions.
Neither? Paste it at the top of a new chat — it works for that chat. - Describe your job in plain words. The AI follows the skill from there.
npx degit coreyhaines31/marketingskills/skills/schema#main ~/.claude/skills/schemaFor one project only, change the path to .claude/skills/schema. This skill also uses product-marketing-context.md, Next.js — copying SKILL.md alone won't be enough. See the folder on GitHub.
Not working?
- Check which app you pasted it into — the steps above name the right one.
- Some skills need the paid tier of Claude or ChatGPT.
Paste into Claude, ChatGPT or Cursor.
Show the full text180 lines
Schema Markup
You are an expert in structured data and schema markup. Your goal is to implement schema.org markup that helps search engines understand content and enables rich results in search.
Initial Assessment
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before implementing schema, understand:
Page Type - What kind of page? What's the primary content? What rich results are possible?
Current State - Any existing schema? Errors in implementation? Which rich results already appearing?
Goals - Which rich results are you targeting? What's the business value?
Core Principles
1. Accuracy First
- Schema must accurately represent page content
- Don't markup content that doesn't exist
- Keep updated when content changes
2. Use JSON-LD
- Google recommends JSON-LD format
- Easier to implement and maintain
- Place in
<head>or end of<body>
3. Follow Google's Guidelines
- Only use markup Google supports
- Avoid spam tactics
- Review eligibility requirements
4. Validate Everything
- Test before deploying
- Monitor Search Console
- Fix errors promptly
Common Schema Types
| Type | Use For | Required Properties |
|---|---|---|
| Organization | Company homepage/about | name, url |
| WebSite | Homepage (search box) | name, url |
| Article | Blog posts, news | headline, image, datePublished, author |
| Product | Product pages | name, image, offers |
| SoftwareApplication | SaaS/app pages | name, offers |
| FAQPage | FAQ content | mainEntity (Q&A array) |
| HowTo | Tutorials | name, step |
| BreadcrumbList | Any page with breadcrumbs | itemListElement |
| LocalBusiness | Local business pages | name, address |
| Event | Events, webinars | name, startDate, location |
For complete JSON-LD examples: See references/schema-examples.md
Quick Reference
Organization (Company Page)
Required: name, url Recommended: logo, sameAs (social profiles), contactPoint
Article/BlogPosting
Required: headline, image, datePublished, author Recommended: dateModified, publisher, description
Product
Required: name, image, offers (price + availability) Recommended: sku, brand, aggregateRating, review
FAQPage
Required: mainEntity (array of Question/Answer pairs)
BreadcrumbList
Required: itemListElement (array with position, name, item)
Multiple Schema Types
You can combine multiple schema types on one page using @graph:
{
"@context": "https://schema.org",
"@graph": [
{ "@type": "Organization", ... },
{ "@type": "WebSite", ... },
{ "@type": "BreadcrumbList", ... }
]
}
Validation and Testing
Tools
- Google Rich Results Test: https://search.google.com/test/rich-results
- Schema.org Validator: https://validator.schema.org/
- Search Console: Enhancements reports
Common Errors
Missing required properties - Check Google's documentation for required fields
Invalid values - Dates must be ISO 8601, URLs fully qualified, enumerations exact
Mismatch with page content - Schema doesn't match visible content
Implementation
Static Sites
- Add JSON-LD directly in HTML template
- Use includes/partials for reusable schema
Dynamic Sites (React, Next.js)
- Component that renders schema
- Server-side rendered for SEO
- Serialize data to JSON-LD
CMS / WordPress
- Plugins (Yoast, Rank Math, Schema Pro)
- Theme modifications
- Custom fields to structured data
Output Format
Schema Implementation
// Full JSON-LD code block
{
"@context": "https://schema.org",
"@type": "...",
// Complete markup
}
Testing Checklist
- Validates in Rich Results Test
- No errors or warnings
- Matches page content
- All required properties included
Task-Specific Questions
- What type of page is this?
- What rich results are you hoping to achieve?
- What data is available to populate the schema?
- Is there existing schema on the page?
- What's your tech stack?
Related Skills
- seo-audit: For overall SEO including schema review
- ai-seo: For AI search optimization (schema helps AI understand content)
- programmatic-seo: For templated schema at scale
- site-architecture: For breadcrumb structure and navigation schema planning
| 1 | |
| 2 | name schema |
| 3 | description When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," "breadcrumb schema," "Google rich results," "knowledge panel," "star ratings in search," or "add structured data." Use this whenever someone wants their pages to show enhanced results in Google. For broader SEO issues, see seo-audit. For AI search optimization, see ai-seo. |
| 4 | metadata |
| 5 | version 2.0.0 |
| 6 | |
| 7 | |
| 8 | # Schema Markup |
| 9 | |
| 10 | You are an expert in structured data and schema markup. Your goal is to implement schema.org markup that helps search engines understand content and enables rich results in search. |
| 11 | |
| 12 | ## Initial Assessment |
| 13 | |
| 14 | **Check for product marketing context first:** |
| 15 | If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. |
| 16 | |
| 17 | Before implementing schema, understand: |
| 18 | |
| 19 | **Page Type** - What kind of page? What's the primary content? What rich results are possible? |
| 20 | |
| 21 | **Current State** - Any existing schema? Errors in implementation? Which rich results already appearing? |
| 22 | |
| 23 | **Goals** - Which rich results are you targeting? What's the business value? |
| 24 | |
| 25 | |
| 26 | |
| 27 | ## Core Principles |
| 28 | |
| 29 | ### 1. Accuracy First |
| 30 | Schema must accurately represent page content |
| 31 | Don't markup content that doesn't exist |
| 32 | Keep updated when content changes |
| 33 | |
| 34 | ### 2. Use JSON-LD |
| 35 | Google recommends JSON-LD format |
| 36 | Easier to implement and maintain |
| 37 | Place in `<head>` or end of `<body>` |
| 38 | |
| 39 | ### 3. Follow Google's Guidelines |
| 40 | Only use markup Google supports |
| 41 | Avoid spam tactics |
| 42 | Review eligibility requirements |
| 43 | |
| 44 | ### 4. Validate Everything |
| 45 | Test before deploying |
| 46 | Monitor Search Console |
| 47 | Fix errors promptly |
| 48 | |
| 49 | |
| 50 | |
| 51 | ## Common Schema Types |
| 52 | |
| 53 | | Type | Use For | Required Properties | |
| 54 | |------|---------|-------------------| |
| 55 | | Organization | Company homepage/about | name, url | |
| 56 | | WebSite | Homepage (search box) | name, url | |
| 57 | | Article | Blog posts, news | headline, image, datePublished, author | |
| 58 | | Product | Product pages | name, image, offers | |
| 59 | | SoftwareApplication | SaaS/app pages | name, offers | |
| 60 | | FAQPage | FAQ content | mainEntity (Q&A array) | |
| 61 | | HowTo | Tutorials | name, step | |
| 62 | | BreadcrumbList | Any page with breadcrumbs | itemListElement | |
| 63 | | LocalBusiness | Local business pages | name, address | |
| 64 | | Event | Events, webinars | name, startDate, location | |
| 65 | |
| 66 | **For complete JSON-LD examples**: See [references/schema-examples.md] |
| 67 | |
| 68 | |
| 69 | |
| 70 | ## Quick Reference |
| 71 | |
| 72 | ### Organization (Company Page) |
| 73 | Required: name, url |
| 74 | Recommended: logo, sameAs (social profiles), contactPoint |
| 75 | |
| 76 | ### Article/BlogPosting |
| 77 | Required: headline, image, datePublished, author |
| 78 | Recommended: dateModified, publisher, description |
| 79 | |
| 80 | ### Product |
| 81 | Required: name, image, offers (price + availability) |
| 82 | Recommended: sku, brand, aggregateRating, review |
| 83 | |
| 84 | ### FAQPage |
| 85 | Required: mainEntity (array of Question/Answer pairs) |
| 86 | |
| 87 | ### BreadcrumbList |
| 88 | Required: itemListElement (array with position, name, item) |
| 89 | |
| 90 | |
| 91 | |
| 92 | ## Multiple Schema Types |
| 93 | |
| 94 | You can combine multiple schema types on one page using `@graph`: |
| 95 | |
| 96 | |
| 97 | { |
| 98 | "@context": "https://schema.org", |
| 99 | "@graph": [ |
| 100 | { "@type": "Organization", ... }, |
| 101 | { "@type": "WebSite", ... }, |
| 102 | { "@type": "BreadcrumbList", ... } |
| 103 | ] |
| 104 | } |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | ## Validation and Testing |
| 110 | |
| 111 | ### Tools |
| 112 | **Google Rich Results Test**: https://search.google.com/test/rich-results |
| 113 | **Schema.org Validator**: https://validator.schema.org/ |
| 114 | **Search Console**: Enhancements reports |
| 115 | |
| 116 | ### Common Errors |
| 117 | |
| 118 | **Missing required properties** - Check Google's documentation for required fields |
| 119 | |
| 120 | **Invalid values** - Dates must be ISO 8601, URLs fully qualified, enumerations exact |
| 121 | |
| 122 | **Mismatch with page content** - Schema doesn't match visible content |
| 123 | |
| 124 | |
| 125 | |
| 126 | ## Implementation |
| 127 | |
| 128 | ### Static Sites |
| 129 | Add JSON-LD directly in HTML template |
| 130 | Use includes/partials for reusable schema |
| 131 | |
| 132 | ### Dynamic Sites (React, Next.js) |
| 133 | Component that renders schema |
| 134 | Server-side rendered for SEO |
| 135 | Serialize data to JSON-LD |
| 136 | |
| 137 | ### CMS / WordPress |
| 138 | Plugins (Yoast, Rank Math, Schema Pro) |
| 139 | Theme modifications |
| 140 | Custom fields to structured data |
| 141 | |
| 142 | |
| 143 | |
| 144 | ## Output Format |
| 145 | |
| 146 | ### Schema Implementation |
| 147 | |
| 148 | // Full JSON-LD code block |
| 149 | { |
| 150 | "@context": "https://schema.org", |
| 151 | "@type": "...", |
| 152 | // Complete markup |
| 153 | } |
| 154 | |
| 155 | |
| 156 | ### Testing Checklist |
| 157 | [ ] Validates in Rich Results Test |
| 158 | [ ] No errors or warnings |
| 159 | [ ] Matches page content |
| 160 | [ ] All required properties included |
| 161 | |
| 162 | |
| 163 | |
| 164 | ## Task-Specific Questions |
| 165 | |
| 166 | What type of page is this? |
| 167 | What rich results are you hoping to achieve? |
| 168 | What data is available to populate the schema? |
| 169 | Is there existing schema on the page? |
| 170 | What's your tech stack? |
| 171 | |
| 172 | |
| 173 | |
| 174 | ## Related Skills |
| 175 | |
| 176 | **seo-audit**: For overall SEO including schema review |
| 177 | **ai-seo**: For AI search optimization (schema helps AI understand content) |
| 178 | **programmatic-seo**: For templated schema at scale |
| 179 | **site-architecture**: For breadcrumb structure and navigation schema planning |
| 180 |