Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

seo-schema-structured-dataSEO schema structured 数据

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

517

周安装

22

GitHub Stars

公开资料未说明

下载量

181
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/autom8minds/seo-skills --skill seo-schema-structured-data

简介

用于辅助数据整理、表格处理与结构化数据生成。

  • 适合清洗字段、汇总指标或准备可视化素材。
  • 通过 npx 命令从 GitHub 仓库安装并使用。
  • 使用时需确认数据来源与字段含义,避免误判;涉及敏感数据时应先脱敏。
  • seo-schema-structured-data 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Schema.org Structured Data & JSON-LD


JSON-LD Fundamentals

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for structured data. It is injected via a <script> tag in the <head> or <body> of an HTML page.

Basic Syntax

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Implement Structured Data",
  "author": {
    "@type": "Person",
    "name": "Jane Smith"
  }
}
</script>

Core Keywords

KeywordPurposeExample
@contextDeclares the vocabulary (always https://schema.org)"@context": "https://schema.org"
@typeSpecifies the entity type"@type": "Article"
@idUnique identifier for an entity (enables cross-referencing)"@id": "https://example.com/#organization"
@graphContains multiple entities in a single JSON-LD block"@graph": [{...}, {...}]

Nesting Entities

Entities can be nested directly or referenced by @id:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "author": {
    "@type": "Person",
    "name": "Jane Smith",
    "@id": "https://example.com/#jane"
  },
  "publisher": {
    "@id": "https://example.com/#organization"
  }
}

Arrays

Use arrays when a property has multiple values:

{
  "@type": "Article",
  "author": [
    { "@type": "Person", "name": "Jane Smith" },
    { "@type": "Person", "name": "John Doe" }
  ]
}

The @graph Pattern (Multi-Entity Pages)

Use @graph to describe multiple entities on a single page (e.g., Organization + WebPage + BreadcrumbList):

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Example Corp",
      "url": "https://example.com"
    },
    {
      "@type": "WebPage",
      "@id": "https://example.com/about/#webpage",
      "url": "https://example.com/about/",
      "name": "About Us",
      "isPartOf": { "@id": "https://example.com/#website" }
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },
        { "@type": "ListItem", "position": 2, "name": "About" }
      ]
    }
  ]
}

Google-Supported Schema Types

The following types are recognized by Google and can trigger rich results. Each section lists required (R) and recommended (Rec) properties.


Article (NewsArticle, BlogPosting)

Triggers: article rich result with headline, image, date in search.

PropertyStatusNotes
headlineRMax 110 characters
imageRAt least 696px wide; multiple images recommended
datePublishedRISO 8601 format
dateModifiedRecISO 8601 format
authorRPerson or Organization with name and url
publisherRecOrganization with name and logo
descriptionRecShort summary of the article
mainEntityOfPageRecURL of the page

MCP Tool: Use extract_schema on any article URL to see its current structured data, then generate_schema with type Article to produce compliant markup.


Product (with Offer, AggregateRating)

Triggers: product rich result with price, availability, rating stars.

PropertyStatusNotes
nameRProduct name
imageRAt least one image
descriptionRecProduct description
skuRecStock-keeping unit
brandRecBrand name
offersROffer or AggregateOffer
offers.priceRNumeric price
offers.priceCurrencyRISO 4217 currency code
offers.availabilityRItemAvailability enum (e.g., https://schema.org/InStock)
offers.urlRecURL to buy
aggregateRatingRecAggregateRating with ratingValue and reviewCount
reviewRecIndividual Review objects

Nesting pattern: AggregateRating and Offer nest inside Product:

{
  "@type": "Product",
  "name": "Widget",
  "offers": {
    "@type": "Offer",
    "price": "29.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "120"
  }
}

FAQPage (with Question / Answer)

Triggers: expandable FAQ accordion in search results.

PropertyStatusNotes
mainEntityRArray of Question objects
Question.nameRThe question text
Question.acceptedAnswerRAnswer object
Answer.textRThe answer text (HTML allowed)

Rules:

  • Only use FAQPage for pages where the primary content is a list of questions and answers.
  • Each question and answer must be visible on the page.
  • Do not use for forums or single-question pages (use QAPage instead).

HowTo (with HowToStep)

Triggers: step-by-step rich result or carousel.

PropertyStatusNotes
nameRTitle of the how-to
stepRArray of HowToStep objects
step.nameRStep title
step.textRStep instructions
step.imageRecImage for each step
step.urlRecURL anchor to step on page
totalTimeRecISO 8601 duration (e.g., PT30M)
estimatedCostRecMonetaryAmount object
supplyRecHowToSupply items needed
toolRecHowToTool items needed

LocalBusiness (and Subtypes)

Triggers: local knowledge panel, map pack eligibility data.

Subtypes: Restaurant, Dentist, LegalService, RealEstateAgent, MedicalBusiness, etc.

PropertyStatusNotes
nameRBusiness name
addressRPostalAddress object
telephoneRecPhone number
openingHoursSpecificationRecArray of hours
geoRecGeoCoordinates (lat/long)
urlRecWebsite URL
imageRecBusiness photo
priceRangeRece.g., $$ or $10-50
servesCuisineRecFor Restaurant subtype
aggregateRatingRecAggregateRating
reviewRecReview objects

Organization

Triggers: knowledge panel data, logo in search results.

PropertyStatusNotes
nameROrganization name
urlRWebsite URL
logoRImageObject or URL (min 112x112px, square preferred)
sameAsRecArray of social profile URLs
contactPointRecContactPoint object
addressRecPostalAddress
descriptionRecShort description
foundingDateRecISO 8601 date

BreadcrumbList

Triggers: breadcrumb trail in search results replacing the URL.

PropertyStatusNotes
itemListElementRArray of ListItem objects
ListItem.positionRInteger (1-indexed)
ListItem.nameRBreadcrumb label
ListItem.itemR*URL (*omit on last item)

WebSite (with SearchAction for Sitelinks Search Box)

Triggers: sitelinks search box on branded queries.

PropertyStatusNotes
urlRHomepage URL
nameRecSite name
potentialActionRSearchAction object
SearchAction.targetRURL template with {search_term_string}
SearchAction.query-inputR"required name=search_term_string"
{
  "@type": "WebSite",
  "url": "https://example.com/",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}

Event

Triggers: event rich result with date, location, ticket info.

PropertyStatusNotes
nameREvent name
startDateRISO 8601 datetime
locationRPlace or VirtualLocation
location.nameRVenue name
location.addressRPostalAddress
endDateRecISO 8601 datetime
descriptionRecEvent description
imageRecEvent image
offersRecOffer with price/url/availability
performerRecPerson or Organization
organizerRecPerson or Organization
eventStatusRecEventScheduled, EventCancelled, EventPostponed, etc.
eventAttendanceModeRecOfflineEventAttendanceMode, OnlineEventAttendanceMode, MixedEventAttendanceMode

Recipe

Triggers: recipe rich result with image, rating, cook time.

PropertyStatusNotes
nameRRecipe name
imageRMultiple images at different aspect ratios
authorRPerson or Organization
datePublishedRecISO 8601
descriptionRecShort description
prepTimeRecISO 8601 duration
cookTimeRecISO 8601 duration
totalTimeRecISO 8601 duration
recipeYieldRece.g., "4 servings"
recipeIngredientRecArray of strings
recipeInstructionsRArray of HowToStep objects
nutritionRecNutritionInformation (calories)
aggregateRatingRecAggregateRating
videoRecVideoObject

VideoObject

Triggers: video rich result with thumbnail, duration, upload date.

PropertyStatusNotes
nameRVideo title
descriptionRVideo description
thumbnailUrlRThumbnail image URL
uploadDateRISO 8601 date
contentUrlRecDirect URL to video file
embedUrlRecEmbed URL
durationRecISO 8601 duration
interactionStatisticRecView count

Course

Triggers: course rich result in search and Google for Education.

PropertyStatusNotes
nameRCourse title
descriptionRCourse description
providerROrganization offering the course
offersRecOffer with price
courseCodeRecIdentifier
hasCourseInstanceRecCourseInstance with schedule

SoftwareApplication

Triggers: software rich result with rating, price, OS.

PropertyStatusNotes
nameRApp name
operatingSystemRece.g., "Windows 10", "Android"
applicationCategoryRece.g., "GameApplication", "BusinessApplication"
offersROffer with price (use "0" for free)
aggregateRatingRecAggregateRating
reviewRecReview objects

Review

Triggers: review snippet with star rating.

PropertyStatusNotes
itemReviewedRThe entity being reviewed (Product, LocalBusiness, etc.)
authorRPerson who wrote the review
reviewRatingRRating object with ratingValue
reviewRating.bestRatingRecMaximum rating value
reviewRating.worstRatingRecMinimum rating value
datePublishedRecISO 8601 date
reviewBodyRecFull text of the review

Dynamic Schema Generation Patterns

When building pages programmatically, generate schema from your data models:

Server-Side Rendering (Next.js example)

export default function ProductPage({ product }) {
  const schema = {
    "@context": "https://schema.org",
    "@type": "Product",
    "name": product.title,
    "image": product.images,
    "description": product.description,
    "sku": product.sku,
    "brand": { "@type": "Brand", "name": product.brand },
    "offers": {
      "@type": "Offer",
      "price": product.price,
      "priceCurrency": "USD",
      "availability": product.inStock
        ? "https://schema.org/InStock"
        : "https://schema.org/OutOfStock"
    }
  };

  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
      />
      {/* Page content */}
    </>
  );
}

CMS Integration Pattern

For WordPress, Shopify, or headless CMS:

  1. Map CMS fields to schema properties in a template or plugin.
  2. Ensure price, availability, and rating data are pulled from the live data source.
  3. Use conditional logic to only output properties that have values.

Validation Approach

Step 1: Rich Results Test (Google)

Step 2: Schema Markup Validator (Schema.org)

Step 3: Google Search Console

  • Check Enhancements section for structured data reports.
  • Monitor errors, warnings, and valid item counts.
  • Review indexing of pages with structured data.

MCP Tool: Use extract_schema on any URL to pull all JSON-LD, Microdata, and RDFa. Use generate_schema with a target type to produce valid markup from page content.


Common Pitfalls

PitfallProblemFix
Invisible contentSchema describes content not visible to usersEnsure every structured data property matches visible page content
Missing required fieldsGoogle ignores incomplete markupAlways include all required properties per type
Wrong @typeUsing a type Google does not support for rich resultsUse only Google-documented types
Fake reviewsSchema includes fabricated ratings or reviewsOnly mark up genuine, real user reviews
Outdated pricesProduct schema shows old priceDynamically generate schema from live data
Multiple conflicting typesTwo Product schemas on one page with different dataUse one canonical schema per entity
Self-referencing issues@id references that point nowhereEnsure every @id reference has a matching definition
Incorrect date formatUsing MM/DD/YYYY instead of ISO 8601Always use YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS+00:00
HTTP image URLsImages referenced over HTTP not HTTPSUse HTTPS URLs for all images
Spam policy violationsMarking up content solely for SEO manipulationFollow Google's structured data spam policies

Related Skills

  • seo-on-page-optimization -- for content and meta tag optimization
  • seo-technical-audit -- for crawlability and indexing issues
  • seo-mcp-tools-expert -- for detailed MCP tool usage

Key MCP Tools for Structured Data

ToolUse For
extract_schemaExtract existing structured data from any URL
generate_schemaGenerate valid JSON-LD markup for a given page and type

See SCHEMA_TEMPLATES.md for ready-to-use JSON-LD templates. See VALIDATION_RULES.md for Google's validation requirements. See RICH_RESULTS_GUIDE.md for which types trigger which rich results.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

37.38%
按下载量换算68

Claude

29.81%
按下载量换算54

Cursor

17.36%
按下载量换算31

Gemini CLI

9.17%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills