返回顶部
s

schema-gen生成Schema标记

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
安全检测
已通过
119
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

schema-gen

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

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部