闲社服务运行正常AI智能体自动化平台
s

生成Schema标记

技能标识:schema-gen

Generate Schema.org JSON-LD structured data markup for Person, Organization, Product, FAQ, HowTo, Article, LocalBusiness, Event, WebSite, BreadcrumbList, VideoObject, and SoftwareApplication.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

生成Schema标记

schema-gen

为任何 schema 类型生成有效的 Schema.org JSON-LD 结构化数据标记。

支持的 Schema 类型

类型关键字段Google 富搜索结果
Personname, jobTitle, url, image, sameAs, worksFor是
Organization
name, url, logo, description, sameAs, foundingDate | 是 | | Product | name, description, image, price, availability, brand | 是 | | Article | headline, author, datePublished, image, publisher | 是 | | FAQ | questions (question + answer 配对) | 是 | | HowTo | name, steps (name + text), totalTime | 是 | | LocalBusiness | name, address, telephone, openingHours, geo | 是 | | Event | name, startDate, location, description, offers | 是 | | WebSite | name, url, potentialAction (SearchAction) | 是 (站点链接) | | BreadcrumbList | items (name + url position 配对) | 是 | | VideoObject | name, description, thumbnailUrl, uploadDate, duration | 是 | | SoftwareApplication | name, operatingSystem, applicationCategory, offers | 是 |

如何生成

当被要求生成 schema 标记时:

  1. 1. 根据用户请求确定所需的 schema 类型
  2. 询问必填字段(或从上下文中提取)
  3. 生成有效的 JSON-LD,包含:
- @context:始终为 https://schema.org - @type:schema 类型名称 - 所有提供的字段格式正确
  1. 4. 在带有 json 语法高亮的代码块中输出
  2. 包裹在

    重要说明

    • - 始终包含 @context: https://schema.org
    • 从输出中移除空/空值字段
    • 对于 FAQ schema:每个问题都需要 @type: Question 和一个包含 @type: Answer 的 acceptedAnswer
    • 对于 HowTo:每个步骤都需要 @type: HowToStep
    • 对于 BreadcrumbList:每个项目都需要 @type: ListItem 并包含 position(数字)
    • 验证地址:https://search.google.com/test/rich-results
    • 对于地址:使用 @type: PostalAddress,包含 streetAddress、addressLocality、addressRegion、postalCode、addressCountry
    • 对于地理坐标:使用 @type: GeoCoordinates,包含 latitude、longitude

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 schema-gen-1776107521 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 schema-gen-1776107521 技能

通过命令行安装

skillhub install schema-gen-1776107521

下载

⬇ 下载 schema-gen v1.0.0(免费)

文件大小: 1.81 KB | 发布时间: 2026-4-14 10:27

v1.0.0 最新 2026-4-14 10:27
Initial release of schema-gen.

- Supports generating Schema.org JSON-LD for 12 common types, including Person, Product, FAQ, and more
- Guides users to provide necessary fields for each schema type
- Outputs validated, ready-to-use JSON-LD within script tags for easy HTML insertion
- Ensures removal of empty/null fields and proper substructure formatting (e.g., FAQ, HowTo, Breadcrumb)
- Includes best practices and validation tips for rich Google results
返回顶部