seo-on-page-schema
9
总安装量
8
周安装量
#33053
全站排名
安装命令
npx skills add https://github.com/kostja94/marketing-skills --skill seo-on-page-schema
Agent 安装分布
opencode
8
gemini-cli
8
github-copilot
8
codex
8
amp
8
cline
8
Skill 文档
SEO On-Page: Schema / Structured Data
Guides implementation of Schema.org structured data (JSON-LD) for rich snippets and enhanced search results.
When invoking: On first use, if helpful, open with 1Ã? sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Scope (On-Page SEO)
- Schema markup: Schema.org types (Recipe, Product, Article, Event, LocalBusiness, etc.) for rich results
Initial Assessment
Check for product marketing context first: If .claude/product-marketing-context.md or .cursor/product-marketing-context.md exists, read it for product type and content.
Identify:
- Page type: Article, Product, FAQ, Organization, etc.
- Content: What entities to describe
- Goal: Rich snippets, Knowledge Panel, etc.
Common Schema Types
| Type | Use case |
|---|---|
| Organization | Site-wide, company info |
| WebSite | Site-wide, search action |
| Article | Blog posts, news |
| Product | E-commerce product pages |
| FAQPage | FAQ sections |
| BreadcrumbList | Breadcrumb navigation |
| LocalBusiness | Local business pages |
Best Practices
| Principle | Guideline |
|---|---|
| Accuracy | Data must match visible page content |
| Completeness | Include all required properties |
| JSON-LD | Preferred format; place in <script type="application/ld+json"> |
| Validation | Test with Rich Results Test |
Implementation
Next.js (metadata)
export const metadata = {
other: {
'script:ld+json': JSON.stringify({
"@context": "https://schema.org",
"@type": "Article",
"headline": "...",
"author": { "@type": "Person", "name": "..." },
"datePublished": "2024-01-01"
}),
},
};
HTML (generic)
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "..."
}
</script>
Output Format
- Schema type recommendation
- JSON-LD structure
- Required vs. optional properties
- Validation steps
- References: Schema.org, Google Structured Data
Related Skills
- seo-on-page-metadata: Metadata complements schema
- seo-technical-indexing: Google Indexing API for JobPosting, BroadcastEvent