google-structured-data
БесплатноБез исполняемых скриптовНе проверенGoogle Search structured data implementation - Schema.org markup for rich results, JSON-LD templates, JavaScript generation, and SEO best practices
от enuno★ 17 звёзд на GitHubОб этом скилле
Google Structured Data Skill
Implement Schema.org structured data markup for Google Search rich results. This skill provides JSON-LD templates, required/recommended properties, and best practices for all major structured data types.
When to Use This Skill
Trigger this skill when:
- Adding structured data to web pages for SEO
- Implementing JSON-LD markup for rich results
- Creating Schema.org markup for articles, products, events, FAQs, recipes, videos, or local businesses
- Generating structured data dynamically with JavaScript or Google Tag Manager
- Debugging structured data issues
- Optimizing search appearance in Google Search, News, or Discover
Quick Reference
Supported Formats
- JSON-LD (Recommended) - Embedded in
<script type="application/ld+json"> - Microdata - Inline HTML attributes
- RDFa - Semantic HTML attributes
Core Principles
- Mark up visible content only - Don't mark up hidden content
- Be accurate - Markup must represent actual page content
- Be specific - Use the most specific Schema.org type
- Include all required properties - Each type has mandatory fields
- Test before deploying - Use Rich Results Test tool
Common Structured Data Types
1. Article (NewsArticle, BlogPosting)
Use for: News articles, blog posts, sports articles
Required: None (all recommended)
Recommended Properties:
headline- Article title (keep concise)image- Representative images (16x9, 4x3, 1x1 ratios; min 50K pixels)datePublished- ISO 8601 with timezonedateModified- Last modification dateauthor- Person or Organization with name and URL
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "Article Title Here",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"datePublished": "2024-01-05T08:00:00+08:00",
"dateModified": "2024-02-05T09:20:00+08:00",
"author": [{
"@type": "Person",
"name": "Jane Doe",
"url": "https://example.com/profile/janedoe123"
}]
}
2. Product
Use for: E-commerce product pages, product reviews
Required Properties:
name- Product name
Recommended Properties:
image- Product imagesdescription- Product descriptionbrand- Brand nameoffers- Price, availability, currencyaggregateRating- Average ratingreview- Individual reviews
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Executive Anvil",
"image": "https://example.com/anvil.jpg",
"description": "Sleek and deadly executive anvil.",
"brand": {
"@type": "Brand",
"name": "ACME"
},
"offers": {
"@type": "Offer",
"url": "https://example.com/anvil",
"priceCurrency": "USD",
"price": 119.99,
"availability": "https://schema.org/InStock",
"priceValidUntil": "2025-12-31"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.4,
"reviewCount": 89
}
}
3. LocalBusiness
Use for: Physical business locations, restaurants, stores
Required Properties:
name- Business nameaddress- Full postal address
Recommended Properties:
telephone- With country codeopeningHoursSpecification- Business hoursgeo- Latitude/longitude (min 5 decimal places)url- Location-specific URLpriceRange- "$" to "$$$$" or price rangeservesCuisine- For restaurantsmenu- Menu URL for food establishments
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Dave's Steak House",
"address": {
"@type": "PostalAddress",
"streetAddress": "148 W 51st St",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10019",
"addressCountry": "US"
},
"telephone": "+12122459600",
"url": "https://www.example.com/restaurant-locations/manhattan",
"servesCuisine": "American",
"priceRange": "$$$",
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.761293,
"longitude": -73.982294
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "11:30",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Saturday"],
"opens": "16:00",
"closes": "23:00"
}
],
"menu": "https://www.example.com/menu"
}
4. FAQPage
Use for: FAQ pages on authoritative sites (government, health)
Required Properties:
mainEntity- Array of Question objects
Question Required Properties:
name- Full question textacceptedAnswer- Answer object withtextproperty
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is the return policy?",
Установить google-structured-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-structured-data?
Google Search structured data implementation - Schema.org markup for rich results, JSON-LD templates, JavaScript generation, and SEO best practices
Как установить скилл google-structured-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-structured-data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic