Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

schema-markup模式标记

Agent Skill

schema-markup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,725

周安装

673

GitHub Stars

公开资料未说明

下载量

6,493
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:schema-markup(模式标记)
来源仓库:https://github.com/clawdbot/skills
仓库路径:skills/schema-markup
安装命令:
npx skills add clawdbot/skills --skill "schema-markup"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add clawdbot/skills --skill "schema-markup"

简介

schema-markup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 它支持基于关键词、任务场景或来源线索进行信息匹配与过滤。
  • 通过 npx skills add clawdbot/skills --skill "schema-markup" 安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
schema-markup
model
fast
version
1.0.0
description
>
tags
[seo, schema, structured-data, json-ld, rich-snippets, search]

Schema Markup

Implement schema.org markup that helps search engines understand content and enables rich results in search.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install schema-markup

When to Use

  • Adding structured data to new or existing pages
  • Fixing schema validation errors
  • Optimizing for specific rich results (FAQ, product, article)
  • Implementing JSON-LD in React/Next.js applications
  • Auditing existing schema markup

Initial Assessment

Before implementing schema, understand:

  1. Page Type — What kind of page? What's the primary content? What rich results are possible?
  2. Current State — Any existing schema? Errors? Which rich results already appearing?
  3. Goals — Which rich results are you targeting? What's the business value?

Core Principles

1. Accuracy First

  • Schema must accurately represent page content
  • Don't markup content that doesn't exist on the page
  • Keep updated when content changes

2. Use JSON-LD

  • Google recommends JSON-LD format
  • Easier to implement and maintain than microdata or RDFa
  • Place in <head> or before </body>

3. Follow Google's Guidelines

  • Only use markup Google supports for rich results
  • Avoid spam tactics
  • Review eligibility requirements for each type

4. Validate Everything

  • Test before deploying
  • Monitor Search Console enhancement reports
  • Fix errors promptly

Common Schema Types

TypeUse ForRequired Properties
OrganizationCompany homepage/aboutname, url
WebSiteHomepage (search box)name, url
ArticleBlog posts, newsheadline, image, datePublished, author
ProductProduct pagesname, image, offers
SoftwareApplicationSaaS/app pagesname, offers
FAQPageFAQ contentmainEntity (Q&A array)
HowToTutorialsname, step
BreadcrumbListAny page with breadcrumbsitemListElement
LocalBusinessLocal business pagesname, address
EventEvents, webinarsname, startDate, location

For complete JSON-LD examples with required/recommended field annotations: See references/schema-examples.md

Quick Reference

Organization (Company Page)

Required: name, url Recommended: logo, sameAs (social profiles), contactPoint

Article/BlogPosting

Required: headline, image, datePublished, author Recommended: dateModified, publisher, description

Product

Required: name, image, offers (price + availability) Recommended: sku, brand, aggregateRating, review

FAQPage

Required: mainEntity (array of Question/Answer pairs)

BreadcrumbList

Required: itemListElement (array with position, name, item)

Multiple Schema Types

Combine multiple schema types on one page using @graph:

{
  "@context": "https://schema.org",
  "@graph": [
    { "@type": "Organization", "..." : "..." },
    { "@type": "WebSite", "..." : "..." },
    { "@type": "BreadcrumbList", "..." : "..." }
  ]
}

Use @id to create referenceable entities — define once, reference elsewhere with { "@id": "..." }.

Validation and Testing

Tools

  • Google Rich Results Test: https://search.google.com/test/rich-results
  • Schema.org Validator: https://validator.schema.org/
  • Search Console: Enhancements reports

Common Errors

ErrorCauseFix
Missing required fieldRequired property not includedAdd the missing property
Invalid URLRelative URL or malformedUse fully qualified URLs (https://...)
Invalid date formatNot ISO 8601Use YYYY-MM-DDTHH:MM:SS+00:00
Invalid enum valueWrong enumeration valueUse exact schema.org URLs (e.g., https://schema.org/InStock)
Content mismatchSchema doesn't match visible contentEnsure schema reflects actual page content
Invalid priceCurrency symbol or commas includedUse numeric value only ("149.99")

Implementation

Static Sites

  • Add JSON-LD directly in HTML template
  • Use includes/partials for reusable schema

Dynamic Sites (React, Next.js)

export function JsonLd({ data }: { data: Record<string, unknown> }) {
  return (
    <script
      type="application/ld+json"
      dangerouslySetInnerHTML={{ __html: JSON.stringify(data) }}
    />
  );
}

CMS / WordPress

  • Plugins: Yoast, Rank Math, Schema Pro
  • Theme modifications for custom types
  • Custom fields mapped to structured data

Testing Checklist

  • [ ] Validates in Rich Results Test with no errors
  • [ ] No warnings for recommended properties
  • [ ] Schema content matches visible page content
  • [ ] All required properties included for each type
  • [ ] URLs are fully qualified
  • [ ] Dates are ISO 8601 format
  • [ ] Prices are numeric without currency symbols

Task-Specific Questions

Before implementing, gather answers to:

  1. What type of page is this? (product, article, FAQ, local business)
  2. What rich results are you targeting? (FAQ dropdown, product stars, breadcrumbs)
  3. What data is available to populate the schema? (prices, ratings, dates)
  4. Is there existing schema on the page? (check with Rich Results Test first)
  5. What's your tech stack? (static HTML, React/Next.js, CMS/WordPress)

Implementation Workflow

  1. Identify page types — map your site's pages to schema types
  2. Start with homepage — Organization + WebSite schema
  3. Add per-page schema — Article for blog, Product for shop, etc.
  4. Add BreadcrumbList — every page with navigation breadcrumbs
  5. Validate each page — Rich Results Test before and after
  6. Monitor Search Console — check enhancement reports weekly after launch

NEVER Do

  1. NEVER add schema for content that doesn't exist on the page — this violates Google's guidelines and risks penalties
  2. NEVER use microdata or RDFa when JSON-LD is an option — JSON-LD is easier to maintain and Google's recommended format
  3. NEVER hardcode schema that should be dynamic — product prices, availability, and ratings must reflect current data
  4. NEVER skip validation before deploying — invalid schema is worse than no schema; it wastes crawl budget
  5. NEVER mark up every page identically — each page type needs its own appropriate schema types
  6. NEVER ignore Search Console errors — schema errors can cause rich results to disappear entirely

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

30.07%
按下载量换算1,952

OpenCode

24.53%
按下载量换算1,593

Codex

18.35%
按下载量换算1,191

clawdbot

13.04%
按下载量换算847

trae

8.52%
按下载量换算553

Cursor

3.99%
按下载量换算259

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills