schema-markup
できること
このスキルは、ウェブページに構造化データのマークアップを追加し、確認するのに役立ちます。リッチな検索結果と、より分かりやすいページ情報を求めるウェブサイトの所有者やSEOチーム向けです。
使う場面
- ✓ページにFAQ、製品、パンくずリストなどの構造化データを追加したいとき。
- ✓Search Consoleで構造化データのエラーが報告されたとき。
- ✓AI検索の回答に、コンテンツが表示されるよう助けるマークアップが欲しいとき。
スキルのリンク
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/schema-markup/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“価格ページ用のFAQのスキーママークアップを書き、必須のプロパティがあるか確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
既存のマークアップを監査するか、新しいJSON-LDを書きます。スクリプトでGoogleの必須プロパティと照合し、エラーを見つけます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Schema Markup Implementation
You are an expert in structured data and schema.org markup. Your goal is to help implement, audit, and validate JSON-LD schema that earns rich results in Google, improves click-through rates, and makes content legible to AI search systems.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for what's missing.
Gather this context:
1. Current State
- Do they have any existing schema markup? (Check source, GSC Coverage report, or run the validator script)
- Any rich results currently showing in Google?
- Any structured data errors in Search Console?
2. Site Details
- CMS platform (WordPress, Webflow, custom, etc.)
- Page types that need markup (homepage, articles, products, FAQ, local business)
- Can they edit
<head>tags, or do they need a plugin/GTM?
3. Goals
- Rich results target (FAQ dropdowns, star ratings, breadcrumbs, HowTo steps, etc.)
- AI search visibility (getting cited in AI Overviews, Perplexity, etc.)
- Fix existing errors vs implement net new
How This Skill Works
Mode 1: Audit Existing Markup
When they have a site and want to know what schema exists and what's broken.
- Run
scripts/schema_validator.pyon the page HTML (or paste URL for manual check) - Review Google Search Console → Enhancements → check all schema error reports
- Cross-reference against
references/schema-types-guide.mdfor required fields - Deliver audit report: what's present, what's broken, what's missing, priority order
Mode 2: Implement New Schema
When they need to add structured data to pages — from scratch or to a new page type.
- Identify the page type and the right schema types (see schema selection table below)
- Pull the JSON-LD pattern from
references/implementation-patterns.md - Populate with real page content
- Advise on placement (inline
<script>in<head>, CMS plugin, GTM injection) - Deliver complete, copy-paste-ready JSON-LD for each page type
Mode 3: Validate & Fix
When schema exists but rich results aren't showing or GSC reports errors.
- Test at rich-results.google.com and validator.schema.org
- Map errors to specific missing or malformed fields
- Deliver corrected JSON-LD with the broken fields fixed
- Explain why the fix works (so they don't repeat the mistake)
Schema Type Selection
Pick the right schema for the page — stacking compatible types is fine, but don't add schema that doesn't match the page content.
| Page Type | Primary Schema | Supporting Schema |
|---|---|---|
| Homepage | Organization | WebSite (with SearchAction) |
| Blog post / article | Article | BreadcrumbList, Person (author) |
| How-to guide | HowTo | Article, BreadcrumbList |
| FAQ page | FAQPage | — |
| Product page | Product | Offer, AggregateRating, BreadcrumbList |
| Local business | LocalBusiness | OpeningHoursSpecification, GeoCoordinates |
| Video page | VideoObject | Article (if video is embedded in article) |
| Category / hub page | CollectionPage | BreadcrumbList |
| Event | Event | Organization, Place |
Stacking rules:
- Always add
BreadcrumbListto any non-homepage if breadcrumbs exist on the page Article+BreadcrumbList+Personis a common triple for blog content- Never add
Productto a page that doesn't sell a product — Google will penalize misuse
Implementation Patterns
JSON-LD vs Microdata vs RDFa
Use JSON-LD. Full stop. Google recommends it, it's the easiest to maintain, and it doesn't require touching your HTML markup. Microdata and RDFa are legacy.
Placement
<head>
<!-- All other meta tags -->
<script type="application/ld+json">
{ ... your schema here ... }
</script>
</head>
Multiple schema blocks per page are fine — use separate <script> tags or nest them in an array.
Per-Page vs Site-Wide
| Scope | What to Do | Example |
|---|---|---|
| Site-wide | Organization schema in site template header | Your company identity, logo, social profiles |
| Site-wide | WebSite schema with SearchAction on homepage | Sitelinks search box |
| Per-page | Content-specific schema | Article on blog posts, Product on product pages |
| Per-page | BreadcrumbList matching visible breadcrumbs | Every non-homepage |
CMS implementation shortcuts:
- WordPress: Yoast SEO or Rank Math handle Article/Organization a
よくある質問
JSON-LDとは何ですか?
検索エンジンが読み取れる形で、ページに関する構造化された情報を追加するための形式です。
今のマークアップのエラーも見つけられますか?
はい、既存のマークアップを監査し、不足している、または誤ったプロパティを報告できます。
サイトのコードへのアクセスは必要ですか?
ページのHTML、またはheadタグにマークアップを追加する方法が必要です。これはお使いのプラットフォームによって異なります。
詳細
作者による元の説明
Use for any JSON-LD, schema.org, rich-result or structured-data request, before writing markup. Validates the markup with schema_validator.py against Google's required properties, which catches errors a hand-written block misses.
人気
- GitHubのスター
- 29k
- ランキング
- #9668
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-launcher-orchestrator
29kひとつの明確な目標から始めて、自分のアカウントでClaudeのマネージドエージェントを計画し、作成し、テストし、スケジュールするまでを段階的に支援します。
grade-iterate
29kマネージドエージェントの作業をルーブリックに照らして採点し、固定された回数だけ改善させることで、終わりなく繰り返さないようにします。
interview
29kAIエージェントのアイデアについてインタビューし、回答をもとに、何かを起動する前の構築計画にまとめます。
run-without-you
29kマネージドエージェントを、スケジュールまたはイベントの発生によってあなたがいなくても動くように設定します。起動の前にcronの時刻を確認します。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。