Communitygithub.com

スキーママークアップ

サイトにスキーママークアップや構造化データを追加、修正、最適化するためのスキルです。ユーザーがスキーマについて言及した場合にも使用します。

スキーママークアップ とは?

このスキルは、ウェブサイトにSchema.orgの構造化データを実装し、検索エンジンがコンテンツを理解しやすくし、リッチリザルトを表示できるようにするための専門知識を提供します。主な機能は、ページタイプの評価、既存のスキーマの確認、目標の特定(例:リッチリザルトの獲得)、そしてJSON-LD形式を用いた正確なマークアップの実装です。Googleのガイドラインに従い、Organization、Article、Product、FAQPageなどの一般的なスキーマタイプをサポートし、バリデーションツール(Google リッチリザルツテスト、Schema.orgバリデーター)を使用したテストを推奨します。静的サイト、動的サイト(React/Next.js)、CMS(WordPress)など、さまざまなプラットフォームに対応し、複数のスキーマタイプを`@graph`で組み合わせる方法も説明しています。エラーの一般的な原因(必須プロパティの欠落、値の不一致)にも触れ、実装前の質問を通じてタスクに合わせた支援を提供します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coreyhaines31/marketingskills/tree/main/skills/schema

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

スキーママークアップ は何をしますか?

あなたは構造化データとスキーママークアップのエキスパートです。あなたの目標は、検索エンジンがコンテンツを理解し、検索結果でリッチリザルトを表示できるようにするschema.orgマークアップを実装することです。

初期評価

最初にプロダクトマーケティングコンテキストを確認してください: .agents/product-marketing.md(または.claude/product-marketing.md、古い設定ではレガシーなproduct-marketing-context.md)が存在する場合は、質問する前に読み込んでください。そのコンテキストを使用し、まだカバーされていない情報やこのタスクに固有の情報のみを尋ねてください。

スキーマを実装する前に、以下を理解してください:

  1. ページタイプ - どのようなページですか? 主要なコンテンツは何ですか? どのようなリッチリザルトが可能ですか?

  2. 現在の状態 - 既存のスキーマはありますか? 実装にエラーはありますか? どのリッチリザルトがすでに表示されていますか?

  3. 目標 - どのリッチリザルトをターゲットにしていますか? ビジネス上の価値は何ですか?


基本原則

1. 正確性を最優先

  • スキーマはページのコンテンツを正確に表現する必要があります
  • 存在しないコンテンツにマークアップを付けないでください
  • コンテンツが変更されたらスキーマを更新してください

2. JSON-LDを使用する

  • GoogleはJSON-LD形式を推奨しています
  • 実装と保守が容易です
  • <head>または<body>の末尾に配置してください

3. Googleのガイドラインに従う

  • Googleがサポートするマークアップのみを使用してください
  • スパム的な手法は避けてください
  • 適格性要件を確認してください

4. すべてを検証する

  • デプロイ前にテストしてください
  • Search Consoleを監視してください
  • エラーは迅速に修正してください

一般的なスキーマタイプ

タイプ使用例必須プロパティ
Organization会社のホームページ/概要name, url
WebSiteホームページ(検索ボックス)name, url
Articleブログ記事、ニュースheadline, image, datePublished, author
Product商品ページname, image, offers
SoftwareApplicationSaaS/アプリページname, offers
FAQPageFAQコンテンツmainEntity (Q&A配列)
HowToチュートリアルname, step
BreadcrumbListパンくずリストがあるページitemListElement
LocalBusiness地域ビジネスページname, address
Eventイベント、ウェビナーname, startDate, location

完全なJSON-LDの例については: references/schema-examples.md を参照してください


クイックリファレンス

Organization(会社ページ)

必須: name, url 推奨: logo, sameAs(ソーシャルプロフィール), contactPoint

Article/BlogPosting

必須: headline, image, datePublished, author 推奨: dateModified, publisher, description

Product

必須: name, image, offers(price + availability) 推奨: sku, brand, aggregateRating, review

FAQPage

必須: mainEntity(Question/Answerペアの配列)

BreadcrumbList

必須: itemListElement(position, name, itemを含む配列)


複数のスキーマタイプ

@graphを使用して、1ページに複数のスキーマタイプを組み合わせることができます:

{
  "@context": "https://schema.org",
  "@graph": [
    { "@type": "Organization", ... },
    { "@type": "WebSite", ... },
    { "@type": "BreadcrumbList", ... }
  ]
}

検証とテスト

ツール

よくあるエラー

必須プロパティの欠落 - Googleのドキュメントで必須フィールドを確認してください

値が無効 - 日付はISO 8601形式、URLは完全修飾、列挙型は正確に記述してください

ページコンテンツとの不一致 - スキーマが表示されているコンテンツと一致しません


実装

静的サイト

  • HTMLテンプレートにJSON-LDを直接追加する
  • 再利用可能なスキーマにはインクルード/パーシャルを使用する

動的サイト(React、Next.js)

  • スキーマをレンダリングするコンポーネントを作成する
  • SEOのためにサーバーサイドレンダリングする
  • データをJSON-LDにシリアライズする

CMS / WordPress

  • プラグイン(Yoast、Rank Math、Schema Pro)
  • テーマの修正
  • カスタムフィールドから構造化データへ

出力形式

スキーマ実装

// 完全なJSON-LDコードブロック
{
  "@context": "https://schema.org",
  "@type": "...",
  // 完全なマークアップ
}

テストチェックリスト

  • リッチリザルツテストで検証できる
  • エラーや警告がない
  • ページコンテンツと一致している
  • すべての必須プロパティが含まれている

タスク固有の質問

  1. これはどのタイプのページですか?
  2. どのリッチリザルトを達成したいですか?
  3. スキーマに使用できるデータは何ですか?
  4. ページに既存のスキーマはありますか?
  5. 使用している技術スタックは何ですか?

関連スキル

  • seo-audit: スキーマレビューを含む全体的なSEOのため
  • ai-seo: AI検索最適化のため(スキーマはAIがコンテンツを理解するのに役立ちます)
  • programmatic-seo: 大規模なテンプレートスキーマのため
  • site-architecture: パンくず構造とナビゲーションスキーマ計画のため

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions

ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions

ai-seo

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions

analytics

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions

aso

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions

attribution

When the user wants to figure out which marketing actually drives conversions and revenue, choose or interpret an attribution model, or reconcile conflicting numbers across tools. Also use when the user mentions

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions

cold-email

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions

co-marketing

When the user wants to find co-marketing partners, plan joint campaigns, or brainstorm partnership opportunities. Use when the user says

community-marketing

Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: \

competitor-profiling

When the user wants to research, profile, or analyze competitors from their URLs. Also use when the user mentions

competitors

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions

content-strategy

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions

copy-editing

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions

copywriting

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says

coreyhaines31/ab-test-setup

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics-tracking. For page-level conversion optimization, see page-cro.

coreyhaines31/analytics-tracking

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For A/B test measurement, see ab-test-setup.

coreyhaines31/aso-audit

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.

coreyhaines31/competitor-alternatives

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For sales-specific competitor docs, see sales-enablement.

coreyhaines31/email-sequence

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding-cro.

関連スキル