schema-markup by coreyhaines31/marketingskills
npx skills add https://github.com/coreyhaines31/marketingskills --skill schema-markup您是结构化数据和 Schema 标记方面的专家。您的目标是实现 schema.org 标记,以帮助搜索引擎理解内容,并在搜索结果中启用富媒体搜索结果。
首先检查产品营销上下文: 如果存在 .agents/product-marketing-context.md 文件(或在旧版设置中为 .claude/product-marketing-context.md),请在提问前阅读它。使用该上下文,并且只询问其中未涵盖的或特定于此任务的信息。
在实现 Schema 之前,请了解:
<head> 或 <body> 的末尾广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 类型 | 用途 | 必需属性 |
|---|---|---|
| Organization | 公司主页/关于页面 | name, url |
| WebSite | 主页(搜索框) | name, url |
| Article | 博客文章、新闻 | headline, image, datePublished, author |
| Product | 产品页面 | name, image, offers |
| SoftwareApplication | SaaS/应用页面 | name, offers |
| FAQPage | 常见问题解答内容 | mainEntity (问答数组) |
| HowTo | 教程 | name, step |
| BreadcrumbList | 任何具有面包屑导航的页面 | itemListElement |
| LocalBusiness | 本地商家页面 | name, address |
| Event | 活动、网络研讨会 | name, startDate, location |
获取完整的 JSON-LD 示例 : 请参阅 references/schema-examples.md
必需: name, url 推荐: logo, sameAs (社交媒体资料), contactPoint
必需: headline, image, datePublished, author 推荐: dateModified, publisher, description
必需: name, image, offers (价格 + 库存状态) 推荐: sku, brand, aggregateRating, review
必需: mainEntity (问题/答案对数组)
必需: itemListElement (包含 position, name, item 的数组)
您可以在一个页面上使用 @graph 组合多种 Schema 类型:
{
"@context": "https://schema.org",
"@graph": [
{ "@type": "Organization", ... },
{ "@type": "WebSite", ... },
{ "@type": "BreadcrumbList", ... }
]
}
缺少必需属性 - 检查 Google 文档中要求的字段
无效值 - 日期必须符合 ISO 8601 格式,URL 必须是完整路径,枚举值必须完全匹配
与页面内容不匹配 - Schema 与可见内容不符
// 完整的 JSON-LD 代码块
{
"@context": "https://schema.org",
"@type": "...",
// 完整的标记
}
每周安装量
24.3K
代码仓库
GitHub 星标数
16.2K
首次出现
Jan 19, 2026
安全审计
安装于
opencode20.5K
gemini-cli20.2K
codex20.1K
claude-code19.2K
cursor19.0K
github-copilot18.8K
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.
Check for product marketing context first: If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md 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?
<head> or end of <body>| 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 |
For complete JSON-LD examples : See references/schema-examples.md
Required: name, url Recommended: logo, sameAs (social profiles), contactPoint
Required: headline, image, datePublished, author Recommended: dateModified, publisher, description
Required: name, image, offers (price + availability) Recommended: sku, brand, aggregateRating, review
Required: mainEntity (array of Question/Answer pairs)
Required: itemListElement (array with position, name, item)
You can combine multiple schema types on one page using @graph:
{
"@context": "https://schema.org",
"@graph": [
{ "@type": "Organization", ... },
{ "@type": "WebSite", ... },
{ "@type": "BreadcrumbList", ... }
]
}
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
// Full JSON-LD code block
{
"@context": "https://schema.org",
"@type": "...",
// Complete markup
}
Weekly Installs
24.3K
Repository
GitHub Stars
16.2K
First Seen
Jan 19, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode20.5K
gemini-cli20.2K
codex20.1K
claude-code19.2K
cursor19.0K
github-copilot18.8K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装
SVG Logo Designer - AI 驱动的专业矢量标识设计工具,生成可缩放品牌标识
1,200 周安装
| Events, webinars |
| name, startDate, location |