技能标识:schema-markup-generator
Generate JSON-LD structured data for FAQ, HowTo, Article, Product, LocalBusiness rich results. Schema标记/结构化数据
CODEBLOCK9
User: "Generate FAQ schema for a page about SEO with 3 questions"
Output:
CODEBLOCK10 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._
### SERP Preview
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...
CODEBLOCK12
| 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 |
Reference: See 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.
After delivering content or optimization output to the user, ask:
"Save these results for future sessions?"
If yes, write a dated summary to memory/content/YYYY-MM-DD-<topic>.md containing:
Gate check recommended: Run content-quality-auditor before publishing (PostToolUse hook will remind automatically).
If any findings should influence ongoing strategy, recommend promoting key conclusions to memory/hot-cache.md.
SEO & GEO 技能库 · 20 项 SEO + GEO 技能 · ClawHub · skills.sh
系统模式:此构建技能遵循共享的技能合约和状态模型。
本技能以 JSON-LD 格式创建 Schema.org 结构化数据标记,帮助搜索引擎理解您的内容,并在搜索结果页中实现丰富结果。
系统角色:构建层技能。它将简报和信号转化为资产,供其他技能进行审核、发布和监控。
当对话涉及以下任何情况时使用此技能——即使未使用 SEO 术语:
当任务需要可交付的资产或转换,且应直接进入质量审核、部署或监控时,使用此技能。
从以下提示之一开始。使用技能合约中的仓库格式,以简短的交接摘要结束。
为此[内容类型]生成架构标记:[内容/URL]
为这些问题和答案创建 FAQ 架构:[问答列表]
为[产品名称]创建 Product 架构,包含[详细信息]
为[商家名称和详细信息]生成 LocalBusiness 架构
审核并改进此架构标记:[现有架构]
预期输出:一个可直接使用的资产或可实施的转换,以及一个简短的交接摘要,准备存入 memory/content/。
工具类别占位符请参见 CONNECTORS.md。
已连接 ~~网页爬虫:
自动爬取并提取页面内容(可见文本、标题、列表、表格)、现有架构标记、页面元数据以及可映射到架构属性的结构化内容元素。
仅使用手动数据:
要求用户提供:
使用提供的数据继续完整工作流程。在输出中注明哪些数据来自自动提取,哪些来自用户提供。
当用户请求架构标记时:
参考 CORE-EEAT 基准中的 O05(架构标记) 项,进行内容类型到架构的映射:
markdown
### 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 | — |
| FAQ | FAQPage, Breadcrumb | — |
| 落地页 | SoftwareApplication, Breadcrumb, FAQ | WebPage |
| 推荐语 | Review, Breadcrumb | FAQ, Person |
使用上述映射确保架构类型与内容类型匹配(CORE-EEAT O05:通过标准)。
markdown
### 架构分析
内容类型:[博客/产品/FAQ/How-To/本地商家等]
页面 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 以及组合的多类型架构。
> 参考:参见 references/schema-templates.md,获取所有架构类型的完整、可直接复制的 JSON-LD 模板,包含必需和可选属性。
对于生成的每个架构,包括:
- 所选类型的所有必需属性
- 丰富结果预览,显示预期的搜索结果页外观
- 关于哪些属性是必需与可选的说明
当在同一页面组合多种架构类型时,将它们包装在单个
选项 2:在关闭 之前
html
### 验证步骤
1. ~~架构验证器
- 测试您的实时 URL 或粘贴代码
- 检查错误和警告
2. Schema.org 验证器
- URL:https://validator.schema.org/
- 根据 Schema.org 规范进行验证
3. ~~搜索控制台
- 在 ~~搜索控制台中监控丰富结果
- 检查增强报告中的问题
### 验证清单
- [ ] JSON 语法有效(无尾随逗号)
- [ ] 所有必需属性存在
- [ ] URL 是绝对路径,非相对
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 schema-markup-generator-1776294081 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 schema-markup-generator-1776294081 技能
skillhub install schema-markup-generator-1776294081
文件大小: 16.57 KB | 发布时间: 2026-4-16 16:51