Chuyển đến nội dung
Skillpedia
SEO26k · #10014

seo-schema

Skill này làm gì

Skill này xem xét và viết đánh dấu dữ liệu có cấu trúc cho các trang web. Skill dành cho chủ website muốn trang của mình đủ điều kiện hiển thị kết quả tìm kiếm phong phú.

Khi nào nên dùng

  • ✓Khi bạn muốn kiểm tra dữ liệu có cấu trúc của một trang có hợp lệ không.
  • ✓Khi bạn muốn thêm đánh dấu sản phẩm hoặc bài viết vào trang.
  • ✓Khi bạn muốn tìm các loại schema cũ hoặc đã lỗi thời trên website.

Liên kết skill

https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-schema/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-schema/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra dữ liệu có cấu trúc trên trang sản phẩm của tôi và cho biết có chỗ nào sai không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill đọc đánh dấu JSON-LD trên trang, kiểm tra nó với các thuộc tính bắt buộc, rồi báo cáo lỗi và có thể viết đánh dấu đã sửa hoặc đánh dấu mới.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 (checked October 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",
  "nam
Câu hỏi thường gặp

Skill khuyến nghị định dạng nào?

Skill khuyến nghị JSON-LD, là định dạng mà Google ưu tiên.

Những loại schema nào đang hoạt động cho kết quả phong phú?

Skill liệt kê các loại đang hoạt động như Product, Article, Review, Event và JobPosting, và đánh dấu các loại đã bị loại bỏ.

Skill có tạo đánh dấu mới không?

Có. Skill có thể tạo dữ liệu có cấu trúc khi bạn yêu cầu.

Chi tiết

Mô tả gốc của tác giả

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.

repo: AgriciDaniel/claude-seo

Độ phổ biến

Sao GitHub
26k
Vị trí xếp hạng
#10014
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự