schema-markup

GitHub

生成符合 Schema.org 标准的 JSON-LD 结构化数据,帮助页面获得搜索结果中的富媒体展示(如评分、FAQ、面包屑)。提供所需字段说明、Google 指南合规性及验证建议。

exports/openclaw/schema-markup/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

用户询问关于 schema markup 或结构化数据 用户请求生成 rich snippets、JSON-LD 或实现 FAQ/星级展示

Install

npx skills add mohitagw15856/pm-claude-skills --skill schema-markup -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/exports/openclaw/schema-markup -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@schema-markup

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill schema-markup -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "schema-markup",
    "homepage": "https:\/\/mohitagw15856.github.io\/pm-claude-skills\/skill\/schema-markup.html",
    "metadata": {
        "openclaw": {
            "emoji": "📈"
        }
    },
    "description": "Generate structured-data (Schema.org \/ JSON-LD) markup to win rich results in search. Use when asked about schema markup, structured data, rich snippets, JSON-LD, or making a page eligible for stars\/FAQ\/breadcrumb results. Produces valid JSON-LD for the right schema type, the rich-result it targets, required vs. recommended fields, and validation\/guideline notes."
}

Schema Markup Skill

Structured data tells search engines exactly what a page is — a product, a recipe, an FAQ, an event — making it eligible for rich results (star ratings, FAQ drop-downs, breadcrumbs) that win clicks. This skill produces valid JSON-LD for the right Schema.org type, with the fields Google actually requires, and flags the guideline traps that get markup ignored or penalised.

Required Inputs

Ask for these only if they aren't already provided:

  • The page & its content — what the page is (product, article, FAQ, local business, event, recipe, how-to…).
  • The rich result you want — e.g. review stars, FAQ accordion, breadcrumbs, sitelinks, event listing.
  • The data — the actual values (name, price, rating, dates, Q&As) — markup must match visible content.

Output Format

Schema markup: [type] for [page]

Target rich result — which Google rich result this enables, and the eligibility note (e.g. review snippets need real, visible reviews).

Schema type — the correct Schema.org type (and any nesting, e.g. ProductAggregateRating + Offer).

JSON-LD — ready to paste in a <script type="application/ld+json"> block:

{
  "@context": "https://schema.org",
  "@type": "...",
  "...": "..."
}

Use the real provided values; mark any placeholders clearly.

Required vs. recommended fields — what Google requires for the rich result vs. nice-to-have, so nothing essential is missing.

Validation & guidelines — test in Google's Rich Results Test + Schema validator; the key rules: markup must reflect visible page content, no fake/marked-up-but-hidden data, no review spam (no self-serving aggregate ratings without real reviews). Note anything that would disqualify it.

Quality Checks

  • The schema type matches the page content and the intended rich result
  • The JSON-LD is valid (proper @context/@type, correct nesting) and uses real values
  • All Google-required fields for that rich result are present
  • Markup reflects content actually visible on the page — no hidden or fabricated data
  • Validation steps and the relevant structured-data guidelines are noted

Anti-Patterns

  • Do not mark up content that isn't visible on the page — Google treats that as spam
  • Do not fabricate ratings/reviews or self-apply AggregateRating without real reviews
  • Do not omit required fields — the rich result simply won't trigger
  • Do not use the wrong type (e.g. Product for an article) — it won't validate
  • Do not ship without validating in the Rich Results Test

Based On

Schema.org structured data + Google's structured-data guidelines for rich results (JSON-LD, required fields, content-match rules).

Version History

  • 54fad50 Current 2026-07-19 12:32

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
b6815572
Indexed
2026-07-19 12:32

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 13:07
浙ICP备14020137号-1 $방문자$