schema

作成者: coreyhaines31

ユーザーがサイトのスキーママークアップや構造化データを追加、修正、最適化したい場合に使用します。また、ユーザーが「スキーママークアップ」「構造化データ」「JSON-LD」「リッチスニペット」「schema.org」「FAQスキーマ」「商品スキーマ」「レビュースキーマ」「パンくずスキーマ」「Googleリッチ結果」「ナレッジパネル」「検索結果の星評価」「構造化データを追加」に言及した場合も使用します。ユーザーがGoogleでページの拡張結果を表示させたい場合に使用します。より広範なSEOの問題については、seo-auditを参照してください。AIについては…

npx skills add https://github.com/coreyhaines31/marketingskills --skill schema

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:

  1. Page Type - What kind of page? What's the primary content? What rich results are possible?

  2. Current State - Any existing schema? Errors in implementation? Which rich results already appearing?

  3. 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

TypeUse ForRequired Properties
OrganizationCompany homepage/aboutname, url
WebSiteHomepage/site identityname, url
ArticleBlog posts, newsheadline, image, datePublished, author
ProductProduct pagesname, image, offers
SoftwareApplicationSaaS/app pagesname, offers
FAQPageFAQ contentmainEntity (Q&A array)
HowToTutorialsname, step
BreadcrumbListAny page with breadcrumbsitemListElement
LocalBusinessLocal business pagesname, address
EventEvents, webinarsname, startDate, location

For complete JSON-LD examples: See references/schema-examples.md

Check Google Feature Support First

Schema.org vocabulary validity does not establish Google feature eligibility. Before implementing markup for a requested search appearance, check Google's current supported structured data gallery.

  • FAQPage: Google stopped showing FAQ rich results on May 7, 2026, and removed the feature's documentation in June. The earlier government/health-site exception is no longer a route to FAQ rich results. See Google's documentation updates.
  • HowTo: Google retired HowTo rich results in September 2023. See the retirement announcement.
  • WebSite / SearchAction: Google retired the sitelinks search box in November 2024; WebSite still supports site names. See the search box announcement.

These types can still describe matching visible content in Schema.org. Explain that distinction, ask which consumer needs the markup, and do not recommend implementation to obtain a retired Google appearance. Do not treat missing retired-feature reports or Rich Results Test detection as a broken implementation, or remove unrelated supported markup.


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) Optional semantic markup for visible FAQs; not a way to obtain Google FAQ rich results. Check the feature-support guidance above before offering code.

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

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

  • Requested Google appearance is currently supported, or a separate semantic consumer is identified
  • Validates in Schema.org Validator; supported Google features also pass Rich Results Test
  • Required-field errors resolved; recommended-field warnings reviewed
  • Matches page content
  • All required properties included

Task-Specific Questions

  1. What type of page is this?
  2. What rich results are you hoping to achieve?
  3. What data is available to populate the schema?
  4. Is there existing schema on the page?
  5. 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

coreyhaines31のその他のスキル

ab-testing
coreyhaines31
ユーザーがA/Bテストや実験の計画、設計、実装、または成長実験プログラムの構築を希望する場合に使用します。また、ユーザーが「A/Bテスト」「スプリットテスト」「実験」「この変更をテスト」「バリアントコピー」「多変量テスト」「仮説」「これをテストすべきか」「どちらのバージョンが良いか」「2つのバージョンをテスト」「統計的有意性」「このテストをどのくらい実施すべきか」「成長実験」「実験速度」「実験バックログ」「ICEスコア」「実験...」に言及する場合にも使用します。
researchdata-analysismarketing
ad-creative
coreyhaines31
ユーザーが有料広告プラットフォーム向けに広告クリエイティブ(見出し、説明文、プライマリテキスト、または完全な広告バリエーション)を生成、反復、または拡張したい場合。また、ユーザーが「広告コピーのバリエーション」「広告クリエイティブ」「見出しを生成」「RSA見出し」「一括広告コピー」「広告の反復」「クリエイティブテスト」「広告パフォーマンス最適化」「広告を書いて」「Facebook広告コピー」「Google広告見出し」「LinkedIn広告テキスト」「もっと広告バリエーションが必要」と言及した場合にも使用します。誰かが...と言った場合にこれを使用します。
marketingcreative
ads
coreyhaines31
ユーザーがGoogle Ads、Meta(Facebook/Instagram)、LinkedIn、Twitter/X、その他の広告プラットフォームでの有料広告キャンペーンについて支援を求める場合に使用します。また、ユーザーが「PPC」「有料メディア」「ROAS」「CPA」「広告キャンペーン」「リターゲティング」「オーディエンスターゲティング」「Google Ads」「Facebook広告」「LinkedIn広告」「広告予算」「クリック単価」「広告費用」「広告を出すべきか」に言及した場合も該当します。キャンペーン戦略、オーディエンスターゲティング、入札、最適化に使用します。大量の広告クリエイティブ生成および...
data-analysisresearchmarketing
ai-seo
coreyhaines31
ユーザーがAI検索エンジン向けにコンテンツを最適化したい、LLMに引用されたい、またはAI生成の回答に表示されたい場合に使用します。また、ユーザーが「AI SEO」「AEO」「GEO」「LLMO」「アンサーエンジン最適化」「生成エンジン最適化」「LLM最適化」「AI Overviews」「ChatGPT向け最適化」「Perplexity向け最適化」「AI引用」「AI可視性」「ゼロクリック検索」「AI回答に表示される方法」「LLMでの言及」「Claude/Gemini向け最適化」に言及した場合にも使用します。誰かが…するときは常にこれを使用してください。
researchmarketing
analytics
coreyhaines31
ユーザーが分析トラッキングと測定の設定、改善、監査を行いたい場合。また、ユーザーが「トラッキング設定」「GA4」「Google アナリティクス」「コンバージョントラッキング」「イベントトラッキング」「UTMパラメータ」「タグマネージャー」「GTM」「アナリティクス実装」「トラッキング計画」「これをどう測定するか」「コンバージョンを追跡」「アトリビューション」「Mixpanel」「Segment」「イベントが発火しているか」「アナリティクスが機能しない」と述べた場合にも使用します。何かが機能しているかどうかを知る方法を誰かが尋ねた場合などに使用します。
researchdata-analysismarketing
aso
coreyhaines31
ユーザーがApp StoreまたはGoogle Playのリスティングを監査・最適化したい場合に使用します。また、ユーザーが「ASO監査」「アプリストア最適化」「アプリリスティングの最適化」「アプリの可視性向上」「アプリストアランキング」「リスティングの監査」「アプリがダウンロードされない理由」「アプリのコンバージョン改善」「アプリのキーワード最適化」「競合との比較」に言及した場合も使用します。ユーザーがApp StoreまたはGoogle PlayのURLを共有し、その改善を希望する場合にも使用します。
data-analysisresearchmarketing
attribution
coreyhaines31
ユーザーが実際にコンバージョンや収益を生み出しているマーケティングを特定したい場合、アトリビューションモデルを選択または解釈したい場合、またはツール間で矛盾する数値を調整したい場合に使用します。また、ユーザーが「アトリビューション」「アトリビューションモデル」「ファーストタッチ vs ラストタッチ」「マルチタッチ」「どのチャネルが収益を生むか」「実際のCACはいくらか」「ダッシュボードが一致しない」「GoogleやMetaはXと言うがGAはYと言う」「メディアミックスモデル」「MMM」「インクリメンタリティ」「ジオリフト」「ホールドアウトテスト」「どうやって…」と述べた場合にも使用します。
researchdata-analysismarketing
churn-prevention
coreyhaines31
ユーザーが解約を減らしたい、解約フローを構築したい、引き止めオファーを設定したい、支払い失敗を回復したい、またはリテンション戦略を実施したい場合に使用します。また、ユーザーが「解約」「解約フロー」「オフボーディング」「引き止めオファー」「ダニング」「支払い失敗の回復」「再獲得」「リテンション」「退会アンケート」「サブスクリプションの一時停止」「非自発的解約」「どんどん解約される」「解約率が高すぎる」「どうやってユーザーを引き止めるか」「顧客が離れている」と言及した場合にも使用します。誰かが失っている状況で使用します。
communicationdata-analysismarketing