schema_markup_generator
Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- schema_markup_generator
- tags
- [ "seo-technical", "schema", "json-ld", "structured-data" ]
- author
- SEOSONA OS
- version
- 1.0.0
- description
- Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).
- mcp_compatible
- true
03 SKILL.md 正文
🛠️ Skill: Schema Markup Generator
Purpose: Automatically generates valid JSON-LD structured data markup for any web page type, maximizing rich snippet eligibility in Google Search.
📥 Inputs & Requirements
- Dependencies: Schema.org vocabulary reference, Google Rich Results Test API
- Input Format:
{ "url": "https://...", "page_type": "Article|Product|FAQ|LocalBusiness|Organization|BreadcrumbList|HowTo|Event|Recipe|VideoObject", "data": {...} }
🧠 Execution Steps (The Method)
- Page Type Detection: If
page_typenot specified, analyze page content to auto-detect the most appropriate schema type. - Data Extraction: Pull required fields from page content (title, author, datePublished, images, etc.).
- Schema Generation: Build the JSON-LD object following Schema.org spec. Support nested schemas (e.g., Article with BreadcrumbList and Organization).
- Validation: Validate against Google Rich Results Test. Fix any errors/warnings.
- Output: Provide the complete
<script type="application/ld+json">block ready to paste into the page head.
🛡️ Cognitive Guardrails
- DO NOT: Generate schema markup that misrepresents page content (Google penalizes misleading structured data).
- DO NOT: Use deprecated schema types or properties.
✅ Quality Validation Criteria (MANDATORY)
- [ ] JSON-LD is syntactically valid (parseable by JSON.parse).
- [ ] All required properties for the schema type are present.
- [ ] Schema matches actual page content (no fabricated data).
- [ ] Passes Google Rich Results Test without errors.
💻 Example Invocation
User: "Tạo schema FAQ cho trang dịch vụ SEO"
Action: Execute `schema_markup_generator` with page_type "FAQPage"
Result: "[Valid JSON-LD block generated with 5 Q&A pairs]"
04 同仓库更多 Skills
web_crawler_katana
High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.
server_log_analyzer
Analyzes Nginx/Apache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.
internal_linking_optimizer
Analyzes and optimizes the internal link graph of a website for SEO authority distribution.
google_trends_analyzer
Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.
brand_context_analyzer
Tracks brand mentions, sentiment, and online reputation across web sources.
aeo_search_optimizer
Analyzes AI-generated search results (Google AI Overview, Bing Chat, Perplexity) to optimize content for Answer Engine Optimization.