跳到正文
cccskills
免费在 GitHub 公开

seo-schema

Detect and check structured data, machine-readable descriptions of page content, and generate suitable Schema.org JSON-LD snippets. Get a report of missing fields, syntax errors, and markup issues, plus code prepared for implementation.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Detect, validate, or generate Schema.org JSON-LD for a supplied page or entity. Use only when structured data or rich-result markup is requested.

集成工具Search Console
查看安装方法

适用场景

  • Check existing structured data for errors
  • Generate markup for products, articles, or businesses
  • Review deprecated schema types
  • Prepare a validation report and JSON-LD snippets

包含的文件(3)

  • SKILL.md6.9 KB
  • LICENSE.txt143 B
  • references/deprecated-types-2024-2026.md5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Schema Markup Analysis & Generation

Detection

  1. Extract JSON-LD with "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py --url <url> --json (or scan <script type="application/ld+json"> in the page source). Flag any block without @context or @type: Google cannot attach it to an entity (a rating in such a block does not reach the Product).
  2. Check for Microdata (itemscope, itemprop)
  3. Check for RDFa (typeof, property)
  4. Always recommend JSON-LD as primary format (Google's stated preference)

Validation

  • Check required properties per schema type
  • Validate against Google's supported rich result types
  • Test for common errors:
    • Missing @context
    • Invalid @type
    • Wrong data types
    • Placeholder text
    • Relative URLs (should be absolute)
    • Invalid date formats
  • Flag deprecated types (see below)

Schema Type Status (as of June 2026)

Read ../seo/references/schema-types.md for the full list. Key rules:

ACTIVE (recommend freely):

Organization, LocalBusiness, SoftwareApplication, WebApplication, Product (with Certification markup as of April 2025), ProductGroup, Offer, Service, Article, BlogPosting, NewsArticle, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ProfilePage, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting

VIDEO & SPECIALIZED (recommend freely):

BroadcastEvent, Clip, SeekToAction, SoftwareSourceCode

See schema/templates.json for ready-to-use JSON-LD templates for these types.

JSON-LD and JavaScript rendering: Google supports structured data generated with JavaScript, but its "Generate structured data with JavaScript" guide (last updated 2025-12-10) warns that dynamically generated Product markup can make Shopping crawls less frequent and less reliable for fast-changing price and availability. For time-sensitive markup (especially Product, Offer), include JSON-LD in the initial server-rendered HTML.

NO RICH RESULTS, KEEP IF USEFUL:

  • FAQPage: Google retired FAQ rich results for ALL sites on May 7, 2026 (supersedes the Aug 2023 gov/health restriction). No Google SERP rich-result benefit; flag existing FAQPage at Info (not Critical) rather than removal. For genuine user Q&A pages, use QAPage.

DEPRECATED (never recommend):

  • HowTo: Rich results removed September 2023
  • SpecialAnnouncement: Deprecated July 31, 2025
  • CourseInfo, EstimatedSalary, LearningVideo: Retired June 2025
  • ClaimReview: No Search rich result since June 2025. Google's Fact Check Explorer still uses the markup, so fact-checking publishers may keep it; never recommend it for SERP features
  • VehicleListing: Retired from rich results June 2025
  • Practice Problem: Deprecation notice 2025-11-05; tooling support removed starting January 2026; documentation removed 2026-01-06
  • Search Console / Rich Results Test / appearance-filter support for CourseInfo, ClaimReview, EstimatedSalary, LearningVideo, SpecialAnnouncement, VehicleListing was removed 2025-09-09 (Search Console API through December 2025).

Still supported (despite earlier phase-out notices):

  • Book Actions: NOT deprecated. The June 2025 phase-out banner was removed on 2025-11-05 because a Search feature still uses the markup.

Supported for Dataset Search only:

  • Dataset: Not discontinued; consumed by Google Dataset Search, with no Google Search rich-result surface. Don't advise removal as if it were killed.

Still supported (do not flag):

  • QAPage (expanded comment-thread properties 2026-03-24), DiscussionForumPosting, Education Q&A (Quiz / eduQuestionType=Flashcard). For e-commerce, hasAdultConsideration (added 2026-05-20; value https://schema.org/SexualContentConsideration) is required for adult products. Product.category accepts Text, CategoryCode, or arrays mixing both.

Generation

When generating schema for a page:

  1. Identify page type from content analysis
  2. Select appropriate schema type(s)
  3. Generate valid JSON-LD with all required + recommended properties
  4. Include only truthful, verifiable data. Use placeholders clearly marked for user to fill
  5. Validate output before presenting
  6. For review markup, reject fake reviews and undisclosed incentivized reviews. An incentive must be clearly and prominently disclosed on the page.

Common Schema Templates

Organization

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "[Company Name]",
  "url": "[Website URL]",
  "logo": "[Logo URL]",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "[Phone]",
    "contactType": "customer service"
  },
  "sameAs": [
    "[Facebook URL]",
    "[LinkedIn URL]",
    "[Twitter URL]"
  ]
}

LocalBusiness

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "[Business Name]",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "[Street]",
    "addressLocality": "[City]",
    "addressRegion": "[State]",
    "postalCode": "[ZIP]",
    "addressCountry": "US"
  },
  "telephone": "[Phone]",
  "openingHours": "Mo-Fr 09:00-17:00",
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "[Lat]",
    "longitude": "[Long]"
  }
}

Article/BlogPosting

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "[Title]",
  "author": {
    "@type": "Person",
    "name": "[Author Name]"
  },
  "datePublished": "[YYYY-MM-DD]",
  "dateModified": "[YYYY-MM-DD]",
  "image": "[Image URL]",
  "publisher": {
    "@type": "Organization",
    "name": "[Publisher]",
    "logo": {
      "@type": "ImageObject",
      "url": "[Logo URL]"
    }
  }
}

Output

  • SCHEMA-REPORT.md: detection and validation results
  • generated-schema.json: ready-to-use JSON-LD snippets

Validation Results

SchemaTypeStatusIssues
......✅/⚠️/❌...

Recommendations

  • Missing schema opportunities
  • Validation fixes needed
  • Generated code for implementation

Error Handling

ScenarioAction
URL unreachableReport connection error with status code. Suggest verifying URL and checking if the page requires authentication.
No schema markup foundReport that no JSON-LD, Microdata, or RDFa was detected. Recommend appropriate schema types based on page content analysis.
Invalid JSON-LD syntaxParse and report specific syntax errors (missing brackets, trailing commas, unquoted keys). Provide corrected JSON-LD output.
Deprecated schema type detectedFlag the deprecated type with its retirement date. Recommend the current replacement type or advise removal if no replacement exists.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

seo

免费

Audit a website or individual page across technical SEO, content quality, performance, images, and AI search readiness. Route work to specialized checks and receive a combined report with prioritized recommendations tailored to the site's business type.

中文简介正在准备中。当前显示英语简介。

  • Audit SEO issues across an entire website
  • Investigate problems on a specific page
  • Plan SEO improvements for a business type
AgriciDaniel/claude-seo2万2026年10月22日 更新

Check whether AI browsing agents can access content and interact with a website. Review accessible controls, access policies, and discovery files, explain Lighthouse results, and draft fixes with evidence and priorities for review.

中文简介正在准备中。当前显示英语简介。

  • Audit whether AI agents can use a website
  • Understand Lighthouse Agentic Browsing results
  • Review access policies for different AI agent purposes
AgriciDaniel/claude-seo2万2026年10月22日 更新

Analyze live Ahrefs data to review backlinks, linking websites, organic search keywords, and popular content by topic. Get site rating metrics, estimated search traffic, and country breakdowns to assess a site's search presence and plan further investigation.

中文简介正在准备中。当前显示英语简介。

  • Review linking websites and backlink characteristics
  • Check organic search keywords and ranking distributions
  • Compare estimated search traffic by country
AgriciDaniel/claude-seo2万2026年10月22日 更新

seo-audit

免费

Audit an entire website for technical issues, content quality, page performance, and AI search readiness. Receive an SEO health score out of 100, detailed findings, and a prioritized action plan, with optional PDF or HTML reporting.

中文简介正在准备中。当前显示英语简介。

  • Assess SEO health across an entire website
  • Prioritize fixes and build an improvement roadmap
  • Review content, performance, and AI search readiness together
AgriciDaniel/claude-seo2万2026年10月22日 更新

Analyze links pointing to a website, including source quality, link text, suspicious patterns, and competitor gaps. Get source-labeled findings, link acquisition opportunities, and checks of known links, with scoring limited to cases with sufficient data.

中文简介正在准备中。当前显示英语简介。

  • Review backlink sources and link text
  • Find suspicious links that need manual review
  • Identify sites linking to competitors but not to your site
AgriciDaniel/claude-seo2万2026年10月22日 更新

seo-bing

免费

Inspect Bing link data, compare sites you manage, and submit new URLs through IndexNow, a service for notifying participating search engines of updates. Use it to support indexing and prepare pages for potential Microsoft Copilot citations.

中文简介正在准备中。当前显示英语简介。

  • Submit new page URLs through IndexNow
  • Compare Bing link data for two managed sites
  • Verify the IndexNow key setup
AgriciDaniel/claude-seo2万2026年10月22日 更新

查看 AgriciDaniel 的全部技能

报告此技能的问题