金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

schema-markup

schema-markup 是面向内容与媒体的 Agent Skill,来自 MadAppGang/claude-code。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Schema.org markup implementation patterns for rich results. Use when adding structured data to content for enhanced SERP appearances.

SKILL.md

下载 MD ↓
pluginseo
updated2026-01-20
nameschema-markup
descriptionSchema.org markup implementation patterns for rich results. Use when adding structured data to content for enhanced SERP appearances.

plugin: seo updated: 2026-01-20

Schema Markup

When to Use

  • Adding structured data to content
  • Implementing rich results
  • Validating existing schema
  • Planning schema strategy

Common Schema Types

Article/BlogPosting

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Article Title (max 110 chars)",
  "image": ["https://example.com/image.jpg"],
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Publisher Name",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.jpg"
    }
  },
  "datePublished": "2025-01-01",
  "dateModified": "2025-01-15"
}

FAQPage

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Question text?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Answer text."
      }
    }
  ]
}

HowTo

{
  "@context": "https://schema.org",
  "@type": "HowTo",
  "name": "How to do something",
  "step": [
    {
      "@type": "HowToStep",
      "name": "Step 1 title",
      "text": "Step 1 description"
    },
    {
      "@type": "HowToStep",
      "name": "Step 2 title",
      "text": "Step 2 description"
    }
  ]
}

Implementation Checklist

  • [ ] Use JSON-LD format (preferred by Google)
  • [ ] Place in <head> or end of <body>
  • [ ] Include all required properties
  • [ ] Validate with Google Rich Results Test
  • [ ] Test with Schema.org validator
  • [ ] Check Search Console for errors

Best Practices

  1. Be specific: Use most specific type (BlogPosting over Article)
  2. Be accurate: Only mark up visible content
  3. Be complete: Include all required properties
  4. Test thoroughly: Use validation tools
  5. Monitor: Check Search Console regularly

来源:MadAppGang/claude-code · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本