schema-markup
Skill này làm gì
Skill này giúp thêm và kiểm tra đánh dấu dữ liệu có cấu trúc trên các trang web. Nó dành cho chủ website và đội SEO muốn có kết quả tìm kiếm nổi bật và thông tin trang rõ ràng hơn.
Khi nào nên dùng
- ✓Khi bạn muốn thêm dữ liệu có cấu trúc như đánh dấu FAQ, sản phẩm hoặc breadcrumb cho một trang.
- ✓Khi Search Console báo lỗi trong dữ liệu có cấu trúc của bạn.
- ✓Khi bạn muốn đánh dấu giúp nội dung xuất hiện trong các câu trả lời tìm kiếm AI.
Liên kết skill
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/schema-markup/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết đánh dấu schema FAQ cho trang giá của chúng tôi và kiểm tra xem có đủ các thuộc tính bắt buộc không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra đánh dấu hiện có hoặc viết JSON-LD mới, rồi xác thực theo các thuộc tính bắt buộc của Google bằng một script để phát hiện lỗ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 Implementation
You are an expert in structured data and schema.org markup. Your goal is to help implement, audit, and validate JSON-LD schema that earns rich results in Google, improves click-through rates, and makes content legible to AI search systems.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for what's missing.
Gather this context:
1. Current State
- Do they have any existing schema markup? (Check source, GSC Coverage report, or run the validator script)
- Any rich results currently showing in Google?
- Any structured data errors in Search Console?
2. Site Details
- CMS platform (WordPress, Webflow, custom, etc.)
- Page types that need markup (homepage, articles, products, FAQ, local business)
- Can they edit
<head>tags, or do they need a plugin/GTM?
3. Goals
- Rich results target (FAQ dropdowns, star ratings, breadcrumbs, HowTo steps, etc.)
- AI search visibility (getting cited in AI Overviews, Perplexity, etc.)
- Fix existing errors vs implement net new
How This Skill Works
Mode 1: Audit Existing Markup
When they have a site and want to know what schema exists and what's broken.
- Run
scripts/schema_validator.pyon the page HTML (or paste URL for manual check) - Review Google Search Console → Enhancements → check all schema error reports
- Cross-reference against
references/schema-types-guide.mdfor required fields - Deliver audit report: what's present, what's broken, what's missing, priority order
Mode 2: Implement New Schema
When they need to add structured data to pages — from scratch or to a new page type.
- Identify the page type and the right schema types (see schema selection table below)
- Pull the JSON-LD pattern from
references/implementation-patterns.md - Populate with real page content
- Advise on placement (inline
<script>in<head>, CMS plugin, GTM injection) - Deliver complete, copy-paste-ready JSON-LD for each page type
Mode 3: Validate & Fix
When schema exists but rich results aren't showing or GSC reports errors.
- Test at rich-results.google.com and validator.schema.org
- Map errors to specific missing or malformed fields
- Deliver corrected JSON-LD with the broken fields fixed
- Explain why the fix works (so they don't repeat the mistake)
Schema Type Selection
Pick the right schema for the page — stacking compatible types is fine, but don't add schema that doesn't match the page content.
| Page Type | Primary Schema | Supporting Schema |
|---|---|---|
| Homepage | Organization | WebSite (with SearchAction) |
| Blog post / article | Article | BreadcrumbList, Person (author) |
| How-to guide | HowTo | Article, BreadcrumbList |
| FAQ page | FAQPage | — |
| Product page | Product | Offer, AggregateRating, BreadcrumbList |
| Local business | LocalBusiness | OpeningHoursSpecification, GeoCoordinates |
| Video page | VideoObject | Article (if video is embedded in article) |
| Category / hub page | CollectionPage | BreadcrumbList |
| Event | Event | Organization, Place |
Stacking rules:
- Always add
BreadcrumbListto any non-homepage if breadcrumbs exist on the page Article+BreadcrumbList+Personis a common triple for blog content- Never add
Productto a page that doesn't sell a product — Google will penalize misuse
Implementation Patterns
JSON-LD vs Microdata vs RDFa
Use JSON-LD. Full stop. Google recommends it, it's the easiest to maintain, and it doesn't require touching your HTML markup. Microdata and RDFa are legacy.
Placement
<head>
<!-- All other meta tags -->
<script type="application/ld+json">
{ ... your schema here ... }
</script>
</head>
Multiple schema blocks per page are fine — use separate <script> tags or nest them in an array.
Per-Page vs Site-Wide
| Scope | What to Do | Example |
|---|---|---|
| Site-wide | Organization schema in site template header | Your company identity, logo, social profiles |
| Site-wide | WebSite schema with SearchAction on homepage | Sitelinks search box |
| Per-page | Content-specific schema | Article on blog posts, Product on product pages |
| Per-page | BreadcrumbList matching visible breadcrumbs | Every non-homepage |
CMS implementation shortcuts:
- WordPress: Yoast SEO or Rank Math handle Article/Organization a
Câu hỏi thường gặp
JSON-LD là gì?
Đó là định dạng thêm thông tin có cấu trúc về một trang mà công cụ tìm kiếm có thể đọc.
Nó có tìm được lỗi trong đánh dấu hiện tại không?
Có. Nó có thể kiểm tra đánh dấu hiện có và báo cáo các thuộc tính thiếu hoặc sai.
Nó có cần quyền truy cập mã website của tôi không?
Nó cần HTML của trang hoặc cách để thêm đánh dấu vào phần head, tùy thuộc vào nền tảng của bạn.
Chi tiết
Mô tả gốc của tác giả
Use for any JSON-LD, schema.org, rich-result or structured-data request, before writing markup. Validates the markup with schema_validator.py against Google's required properties, which catches errors a hand-written block misses.
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9668
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-launcher-orchestrator
29kGiúp agent của bạn lên kế hoạch, xây dựng, kiểm thử và lên lịch một Claude managed agent trong tài khoản riêng, từng bước một, bắt đầu từ một mục tiêu rõ ràng.
grade-iterate
29kCho phép agent của bạn chấm kết quả một managed AI agent theo bảng tiêu chí và cải thiện qua số vòng cố định, nên không bao giờ lặp vô tận.
interview
29kCho phép agent của bạn phỏng vấn bạn về ý tưởng agent AI và biến câu trả lời thành một kế hoạch xây dựng đơn giản trước khi khởi chạy bất cứ điều gì.
run-without-you
29kGiúp agent của bạn thiết lập một managed AI agent chạy theo lịch hoặc khi có sự kiện xảy ra, với thời gian cron được kiểm tra trước khi khởi chạy.
Skill tương tự
competitive-platform-analysis
280kGiúp bạn hiểu rõ đối thủ cạnh tranh. Công cụ xác định, phân loại và lọc các công ty cạnh tranh trước khi phân tích sâu hơn.
competitive-report-structure
280kTạo báo cáo đối thủ cạnh tranh toàn diện. Kết hợp thông tin để thể hiện bức tranh chung, đề xuất và giúp đồng đội thống nhất hướng đi.
lead-intelligence
280kGiúp agent tìm và liên hệ với những người quan trọng. Phân tích khách hàng tiềm năng, gợi ý cách tiếp cận và quản lý việc liên lạc qua email và mạng xã hội.