Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

google-structured-data

БесплатноБез исполняемых скриптовНе проверен

Google Search structured data implementation - Schema.org markup for rich results, JSON-LD templates, JavaScript generation, and SEO best practices

enunoот 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

  1. Mark up visible content only - Don't mark up hidden content
  2. Be accurate - Markup must represent actual page content
  3. Be specific - Use the most specific Schema.org type
  4. Include all required properties - Each type has mandatory fields
  5. 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 timezone
  • dateModified - Last modification date
  • author - 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 images
  • description - Product description
  • brand - Brand name
  • offers - Price, availability, currency
  • aggregateRating - Average rating
  • review - 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 name
  • address - Full postal address

Recommended Properties:

  • telephone - With country code
  • openingHoursSpecification - Business hours
  • geo - Latitude/longitude (min 5 decimal places)
  • url - Location-specific URL
  • priceRange - "$" to "$$$$" or price range
  • servesCuisine - For restaurants
  • menu - 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 text
  • acceptedAnswer - Answer object with text property
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is the return policy?",
Полный SKILL.md на GitHub

Установить google-structured-data в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/guidelines.mdreferences/javascript-generation.mdreferences/types-overview.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить google-structured-data с