schema-markup-generator by aaron-he-zhu/seo-geo-claude-skills
npx skills add https://github.com/aaron-he-zhu/seo-geo-claude-skills --skill schema-markup-generatorSEO& GEO Skills Library · 20 项 SEO + GEO 技能 · 一键安装所有:
npx skills add aaron-he-zhu/seo-geo-claude-skills
研究 · keyword-research · competitor-analysis · serp-analysis · content-gap-analysis
构建 · seo-content-writer · geo-content-optimizer · meta-tags-optimizer · schema-markup-generator
优化 · · · ·
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
此技能用于创建 JSON-LD 格式的 Schema.org 结构化数据标记,以帮助搜索引擎理解您的内容,并在搜索结果页中启用富媒体搜索结果。
Generate schema markup for this [content type]: [content/URL]
Create FAQ schema for these questions and answers: [Q&A list]
Create Product schema for [product name] with [details]
Generate LocalBusiness schema for [business name and details]
Review and improve this schema markup: [existing schema]
有关工具类别占位符,请参阅 CONNECTORS.md。
连接 ~~web crawler 时: 自动抓取并提取页面内容(可见文本、标题、列表、表格)、现有架构标记、页面元数据以及可映射到架构属性的结构化内容元素。
仅使用手动数据时: 要求用户提供:
使用提供的数据继续完整的工作流程。在输出中注明哪些数据来自自动提取,哪些来自用户提供。
当用户请求架构标记时:
参考 CORE-EEAT Benchmark 项目 O05 (Schema Markup) 了解内容类型到架构的映射:
### CORE-EEAT 架构映射 (O05)
| 内容类型 | 必需架构 | 条件性架构 |
|-------------|----------------|--------------------|
| 博客 (指南) | Article, Breadcrumb | FAQ, HowTo |
| 博客 (工具) | Article, Breadcrumb | FAQ, Review |
| 博客 (洞察) | Article, Breadcrumb | FAQ |
| 对比 | Comparison*, Breadcrumb, FAQ | AggregateRating |
| 最佳推荐 | ItemList, Breadcrumb, FAQ | 每个工具的 AggregateRating |
| 用例 | WebPage, Breadcrumb, FAQ | — |
| 常见问题 | FAQPage, Breadcrumb | — |
| 着陆页 | SoftwareApplication, Breadcrumb, FAQ | WebPage |
| 客户评价 | Review, Breadcrumb | FAQ, Person |
*使用上面的映射确保架构类型与内容类型匹配 (CORE-EEAT O05: 通过标准)。*
### 架构分析
**内容类型**:[博客/产品/FAQ/操作指南/本地商家等]
**页面 URL**:[URL]
**符合条件的富媒体结果**:
| 富媒体结果类型 | 资格 | 影响 |
|------------------|-------------|--------|
| FAQ | ✅/❌ | 高 - 扩展搜索结果页展示 |
| How-To | ✅/❌ | 中 - 在搜索结果页显示步骤 |
| Product | ✅/❌ | 高 - 显示价格、库存状态 |
| Review | ✅/❌ | 高 - 显示星级评分 |
| Article | ✅/❌ | 中 - 显示发布日期、作者 |
| Breadcrumb | ✅/❌ | 中 - 显示导航路径 |
| Video | ✅/❌ | 高 - 显示视频缩略图 |
**推荐的架构类型**:
1. [主要架构类型] - [原因]
2. [次要架构类型] - [原因]
根据识别出的内容类型,生成相应的 JSON-LD 架构。支持的类型:FAQPage、HowTo、Article/BlogPosting/NewsArticle、Product、LocalBusiness、Organization、BreadcrumbList、Event、Recipe 以及组合的多类型架构。
参考:有关所有架构类型(包含必需和可选属性)的完整、可直接复制的 JSON-LD 模板,请参阅 references/schema-templates.md。
对于生成的每个架构,请包含:
在同一页面上组合多个架构类型时,请将它们包装在单个 <script type="application/ld+json"> 标签内的 JSON 数组中。
## 实施指南
### 将架构添加到您的页面
**选项 1:在 HTML <head> 中**
```html
<head>
<script type="application/ld+json">
[Your JSON-LD schema here]
</script>
</head>
选项 2:在 </body> 结束前
<script type="application/ld+json">
[Your JSON-LD schema here]
</script>
</body>
~~schema validator
Schema.org Validator
~~search console
## 验证检查点
### 输入验证
* 提供了页面 URL 或内容
* 架构类型适合内容(博客用 Article,电子商务用 Product 等)
* 所有必需数据可用(根据架构类型,如作者、日期、价格等)
* 已确认内容符合富媒体结果资格
### 输出验证
* JSON 语法验证通过(无尾随逗号,引号正确)
* 所选架构类型的所有必需属性均已存在
* URL 是绝对的,而非相对的
* 日期采用 ISO 8601 格式 (YYYY-MM-DDTHH:MM:SS+00:00)
* 架构内容与可见页面内容完全匹配
* 通过 ~~schema validator 且无错误
* 每个数据点的来源清晰说明(~~web crawler 提取、用户提供或手动输入)
## 示例
**用户**:"为关于 SEO 的页面生成包含 3 个问题的 FAQ 架构"
**输出**:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is SEO?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO (Search Engine Optimization) is the practice of optimizing websites and content to rank higher in search engine results pages (SERPs). It involves technical optimizations, content creation, and link building to increase organic visibility and drive qualified traffic to your website."
}
},
{
"@type": "Question",
"name": "How long does SEO take to work?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO typically takes 3-6 months to show significant results, though this varies based on competition, domain authority, and effort invested. New websites may take 6-12 months, while established sites with existing authority can see improvements in 1-3 months for less competitive keywords."
}
},
{
"@type": "Question",
"name": "Is SEO better than paid advertising?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO and paid advertising serve different purposes. SEO provides sustainable, long-term traffic without per-click costs but takes time to build. Paid advertising delivers immediate results but stops when you stop paying. Most successful businesses use both: paid ads for immediate leads and SEO for long-term growth."
}
}
]
}
实施:将上述 JSON-LD 包裹在 <script type="application/ld+json">...</script> 中,并放置在 <head> 或 </body> 之前。使用 ~~schema validator 进行测试。
SEO Guide: Complete Beginner's Tutorial
yoursite.com/seo-guide/
Learn SEO from scratch with our comprehensive guide...
▼ What is SEO?
SEO (Search Engine Optimization) is the practice of optimizing...
▼ How long does SEO take to work?
SEO typically takes 3-6 months to show significant results...
▼ Is SEO better than paid advertising?
SEO and paid advertising serve different purposes...
## 架构类型速查表
| 内容类型 | 架构类型 | 关键属性 |
|--------------|-------------|----------------|
| 博客文章 | BlogPosting/Article | headline, datePublished, author |
| 产品 | Product | name, price, availability |
| 常见问题 | FAQPage | Question, Answer |
| 操作指南 | HowTo | step, totalTime |
| 本地商家 | LocalBusiness | address, geo, openingHours |
| 食谱 | Recipe | ingredients, cookTime |
| 活动 | Event | startDate, location |
| 视频 | VideoObject | uploadDate, duration |
| 课程 | Course | provider, name |
| 评价 | Review | itemReviewed, ratingValue |
## 成功秘诀
1. **匹配可见内容** - 架构必须反映用户看到的内容
2. **不要滥用** - 仅对相关内容添加架构
3. **保持更新** - 在日期和价格变更时更新
4. **充分测试** - 部署前进行验证
5. **监控 Search Console** - 关注错误和警告
## 架构类型决策树
> **参考**:有关完整的决策树(内容到架构的映射)、行业特定建议、实施优先级(P0-P4)和验证速查表,请参阅 [references/schema-decision-tree.md](./references/schema-decision-tree.md)。
## 参考资料
- [架构模板](./references/schema-templates.md) - 所有架构类型的可直接复制的 JSON-LD 模板
- [验证指南](./references/validation-guide.md) - 常见错误、必需属性、测试工作流程
## 相关技能
- [seo-content-writer](../seo-content-writer/) — 创建值得标记的内容
- [on-page-seo-auditor](../../optimize/on-page-seo-auditor/) — 审核现有架构
- [technical-seo-checker](../../optimize/technical-seo-checker/) — 技术验证
- [entity-optimizer](../../cross-cutting/entity-optimizer/) — 实体审计为 Organization、Person、Product 架构提供信息
每周安装次数
662
代码仓库
GitHub 星标数
339
首次出现
2026年2月12日
安全审计
安装于
opencode570
gemini-cli558
codex556
github-copilot538
amp521
cursor515
SEO& GEO Skills Library · 20 skills for SEO + GEO · Install all:
npx skills add aaron-he-zhu/seo-geo-claude-skills
Research · keyword-research · competitor-analysis · serp-analysis · content-gap-analysis
Build · seo-content-writer · geo-content-optimizer · meta-tags-optimizer · schema-markup-generator
Optimize · on-page-seo-auditor · technical-seo-checker · internal-linking-optimizer · content-refresher
Monitor · rank-tracker · backlink-analyzer · performance-reporter · alert-manager
Cross-cutting · content-quality-auditor · domain-authority-auditor · entity-optimizer · memory-management
This skill creates Schema.org structured data markup in JSON-LD format to help search engines understand your content and enable rich results in SERPs.
Generate schema markup for this [content type]: [content/URL]
Create FAQ schema for these questions and answers: [Q&A list]
Create Product schema for [product name] with [details]
Generate LocalBusiness schema for [business name and details]
Review and improve this schema markup: [existing schema]
See CONNECTORS.md for tool category placeholders.
With ~~web crawler connected: Automatically crawl and extract page content (visible text, headings, lists, tables), existing schema markup, page metadata, and structured content elements that map to schema properties.
With manual data only: Ask the user to provide:
Proceed with the full workflow using provided data. Note in the output which data is from automated extraction vs. user-provided data.
When a user requests schema markup:
Reference the CORE-EEAT Benchmark item O05 (Schema Markup) for content-type to schema mapping:
### CORE-EEAT Schema Mapping (O05)
| Content Type | Required Schema | Conditional Schema |
|-------------|----------------|--------------------|
| Blog (guides) | Article, Breadcrumb | FAQ, HowTo |
| Blog (tools) | Article, Breadcrumb | FAQ, Review |
| Blog (insights) | Article, Breadcrumb | FAQ |
| Alternative | Comparison*, Breadcrumb, FAQ | AggregateRating |
| Best-of | ItemList, Breadcrumb, FAQ | AggregateRating per tool |
| Use-case | WebPage, Breadcrumb, FAQ | — |
| FAQ | FAQPage, Breadcrumb | — |
| Landing | SoftwareApplication, Breadcrumb, FAQ | WebPage |
| Testimonial | Review, Breadcrumb | FAQ, Person |
*Use the mapping above to ensure schema type matches content type (CORE-EEAT O05: Pass criteria).*
### Schema Analysis
**Content Type**: [blog/product/FAQ/how-to/local business/etc.]
**Page URL**: [URL]
**Eligible Rich Results**:
| Rich Result Type | Eligibility | Impact |
|------------------|-------------|--------|
| FAQ | ✅/❌ | High - Expands SERP presence |
| How-To | ✅/❌ | Medium - Shows steps in SERP |
| Product | ✅/❌ | High - Shows price, availability |
| Review | ✅/❌ | High - Shows star ratings |
| Article | ✅/❌ | Medium - Shows publish date, author |
| Breadcrumb | ✅/❌ | Medium - Shows navigation path |
| Video | ✅/❌ | High - Shows video thumbnail |
**Recommended Schema Types**:
1. [Primary schema type] - [reason]
2. [Secondary schema type] - [reason]
2. Generate Schema Markup
Based on the identified content type, generate the appropriate JSON-LD schema. Supported types: FAQPage, HowTo, Article/BlogPosting/NewsArticle, Product, LocalBusiness, Organization, BreadcrumbList, Event, Recipe, and combined multi-type schemas.
Reference : See references/schema-templates.md for complete, copy-ready JSON-LD templates for all schema types with required and optional properties.
For each schema generated, include:
* All required properties for the chosen type
* Rich result preview showing expected SERP appearance
* Notes on which properties are required vs. optional
When combining multiple schema types on one page, wrap them in a JSON array inside a single <script type="application/ld+json"> tag.
Provide Implementation and Validation
## Implementation Guide
### Adding Schema to Your Page
**Option 1: In HTML <head>**
```html
<head>
<script type="application/ld+json">
[Your JSON-LD schema here]
</script>
</head>
Option 2: Before closing
<script type="application/ld+json">
[Your JSON-LD schema here]
</script>
</body>
1. **~~schema validator**
* Test your live URL or paste code
* Check for errors and warnings
2. **Schema.org Validator**
* URL: <https://validator.schema.org/>
* Validates against Schema.org spec
3. **~~search console**
* Monitor rich results in ~~search console
* Check Enhancements reports for issues
* JSON syntax is valid (no trailing commas)
* All required properties present
* URLs are absolute, not relative
* Dates are in ISO 8601 format
* Content matches visible page content
* No policy violations
User : "Generate FAQ schema for a page about SEO with 3 questions"
Output :
## FAQ Schema for SEO Page
### Schema Markup
```json
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is SEO?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO (Search Engine Optimization) is the practice of optimizing websites and content to rank higher in search engine results pages (SERPs). It involves technical optimizations, content creation, and link building to increase organic visibility and drive qualified traffic to your website."
}
},
{
"@type": "Question",
"name": "How long does SEO take to work?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO typically takes 3-6 months to show significant results, though this varies based on competition, domain authority, and effort invested. New websites may take 6-12 months, while established sites with existing authority can see improvements in 1-3 months for less competitive keywords."
}
},
{
"@type": "Question",
"name": "Is SEO better than paid advertising?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO and paid advertising serve different purposes. SEO provides sustainable, long-term traffic without per-click costs but takes time to build. Paid advertising delivers immediate results but stops when you stop paying. Most successful businesses use both: paid ads for immediate leads and SEO for long-term growth."
}
}
]
}
Implementation: Wrap the above JSON-LD in<script type="application/ld+json">...</script> and place in <head> or before </body>. Test with ~~schema validator.
SEO Guide: Complete Beginner's Tutorial
yoursite.com/seo-guide/
Learn SEO from scratch with our comprehensive guide...
▼ What is SEO?
SEO (Search Engine Optimization) is the practice of optimizing...
▼ How long does SEO take to work?
SEO typically takes 3-6 months to show significant results...
▼ Is SEO better than paid advertising?
SEO and paid advertising serve different purposes...
## Schema Type Quick Reference
| Content Type | Schema Type | Key Properties |
|--------------|-------------|----------------|
| Blog Post | BlogPosting/Article | headline, datePublished, author |
| Product | Product | name, price, availability |
| FAQ | FAQPage | Question, Answer |
| How-To | HowTo | step, totalTime |
| Local Business | LocalBusiness | address, geo, openingHours |
| Recipe | Recipe | ingredients, cookTime |
| Event | Event | startDate, location |
| Video | VideoObject | uploadDate, duration |
| Course | Course | provider, name |
| Review | Review | itemReviewed, ratingValue |
## Tips for Success
1. **Match visible content** - Schema must reflect what users see
2. **Don't spam** - Only add schema for relevant content
3. **Keep updated** - Update dates and prices when they change
4. **Test thoroughly** - Validate before deploying
5. **Monitor Search Console** - Watch for errors and warnings
## Schema Type Decision Tree
> **Reference**: See [references/schema-decision-tree.md](./references/schema-decision-tree.md) for the full decision tree (content-to-schema mapping), industry-specific recommendations, implementation priority tiers (P0-P4), and validation quick reference.
## Reference Materials
- [Schema Templates](./references/schema-templates.md) - Copy-ready JSON-LD templates for all schema types
- [Validation Guide](./references/validation-guide.md) - Common errors, required properties, testing workflow
## Related Skills
- [seo-content-writer](../seo-content-writer/) — Create content worth marking up
- [on-page-seo-auditor](../../optimize/on-page-seo-auditor/) — Audit existing schema
- [technical-seo-checker](../../optimize/technical-seo-checker/) — Technical validation
- [entity-optimizer](../../cross-cutting/entity-optimizer/) — Entity audit informs Organization, Person, Product schema
Weekly Installs
662
Repository
GitHub Stars
339
First Seen
Feb 12, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode570
gemini-cli558
codex556
github-copilot538
amp521
cursor515
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI代码审查工具 - 自动化安全漏洞检测与代码质量分析 | 支持多领域检查清单
1,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装