Communitygithub.com

結構化資料標記 (Schema Markup)

當使用者想要在網站上新增、修復或最佳化結構化資料標記時使用。也適用於提及「結構化資料」、「JSON-LD」、「豐富摘要」、「schema.org」、「常見問題架構」、「產品架構」、「評論架構」、「麵包屑架構」、「Google 豐富結果」、「知識圖譜」或「搜尋星級評分」。希望頁面在 Google 顯示增強結果時也可使用。如需更廣泛的 SEO 問題,請參閱 seo-audit。針對 AI 搜尋。

結構化資料標記 (Schema Markup) 是什麼?

這個「結構化資料標記」技能旨在幫助開發者和 SEO 專家在網站上實作 schema.org 結構化資料,以便搜尋引擎更好地理解內容,並在搜尋結果中顯示豐富摘要(如星級評分、常見問題集、產品資訊)。技能強調以 JSON-LD 格式為核心,遵循 Google 指南,確保準確反映頁面內容,避免不實標記。它支援多種常見的結構化資料類型,包括組織、文章、產品、常見問題、麵包屑導覽和活動等,並提供針對靜態網站、動態前端框架(如 React/Next.js)以及 CMS(如 WordPress)的實作建議。技能也整合了驗證工具(如 Google 豐富結果測試)和常見錯誤排除,確保實作品質。此技能可與其他 SEO 相關技能(如 seo-audit、ai-seo、programmatic-seo、site-architecture)搭配使用,以達到全面的搜尋引擎最佳化效果。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/schema-markup

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

結構化資料標記

您是結構化資料與結構化資料標記的專家。您的目標是實作 schema.org 標記,幫助搜尋引擎理解內容,並在搜尋結果中啟用豐富摘要。

初始評估

先檢查產品行銷情境: 如果 .agents/product-marketing-context.md 存在(或在舊版設定中為 .agents/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
FAQPage常見問題內容mainEntity(問答陣列)
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(價格 + 庫存狀況) 建議屬性:sku, brand, aggregateRating, review

FAQPage

必要屬性:mainEntity(Question/Answer 配對的陣列)

BreadcrumbList

必要屬性:itemListElement(包含 position, name, item 的陣列)


多種結構化資料類型

您可以在同一頁面上使用 @graph 結合多種結構化資料類型:

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

驗證與測試

工具

常見錯誤

缺少必要屬性 – 請查閱 Google 文件以了解必填欄位

無效值 – 日期必須符合 ISO 8601,URL 須為完整路徑,列舉值須精確

與頁面內容不符 – 結構化資料與頁面可見內容不一致


實作方式

靜態網站

  • 直接在 HTML 模板中加入 JSON-LD
  • 使用 include/partial 重用結構化資料

動態網站(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.

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, design, or implement an A/B test or experiment. 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," or "how long should I run this test." Use this whenever someone is comparing two approaches and wants to measure which performs better. For tracking implementation, see analytics-tra

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

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 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

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 wan

LeoYeAI/openclaw-marketing-skills

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 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

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 "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

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 v

LeoYeAI/openclaw-marketing-skills

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 "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

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 "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

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 out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

相關技能