AgentSkillsCN

schema-patterns

用于潜在客户开发网站的Schema.org结构化数据模式。LocalBusiness、常见问题解答、操作指南、服务、评价、面包屑列表。丰富的摘要,提升搜索结果页面可见度。

SKILL.md
--- frontmatter
name: schema-patterns
description: Schema.org structured data patterns for lead gen sites. LocalBusiness, FAQ, HowTo, Service, Review, BreadcrumbList. Rich snippets for better SERP visibility.

Schema Patterns Skill

Purpose

Provides comprehensive Schema.org markup patterns for lead generation sites to maximize rich snippet visibility in search results. Implement structured data to enable knowledge panels, FAQ accordions, star ratings, and other rich SERP features that increase click-through rates.

Core Rules

  1. One primary schema per page - LocalBusiness OR Organization at root
  2. Nest related schemas - Reviews inside LocalBusiness, not separate
  3. Validate always - Test with Google Rich Results Test before deployment
  4. Match visible content - Schema must reflect what users see on page
  5. Keep updated - Hours, prices, reviews must be current
  6. Use absolute URLs - All image and link URLs must be absolute, not relative
  7. Follow Google requirements - Check required fields for each schema type
  8. No fake content - Only use real, verifiable reviews and ratings
  9. Test in production - Validate with Search Console after deployment
  10. Prioritize P0 schemas - LocalBusiness and FAQPage first for lead gen

Schema Priority for Lead Gen

PrioritySchema TypeRich ResultPage Type
P0LocalBusinessKnowledge panel, mapsAll pages
P0FAQPageFAQ accordion in SERPFAQ sections
P1ServiceService listingsService pages
P1BreadcrumbListBreadcrumb trailInner pages
P1AggregateRatingStar ratingsBusiness pages
P2HowToStep-by-step cardsGuide content
P2ArticleArticle cardsBlog posts
P3VideoObjectVideo thumbnailsVideo content
P3ProductProduct cardsProduct pages

References

Schema Implementation Files

External Resources

Quick Start

  1. Add LocalBusiness schema to your base layout (all pages)
  2. Add FAQPage schema to pages with FAQ sections
  3. Add Service schema to service-specific pages
  4. Add BreadcrumbList schema to all inner pages
  5. Validate all schemas with Google Rich Results Test
  6. Monitor Search Console for schema errors
  7. Update business info (hours, prices) regularly

Usage Example

astro
---
// src/layouts/BaseLayout.astro
import LocalBusinessSchema from '@/components/schema/LocalBusinessSchema.astro';
import BreadcrumbSchema from '@/components/schema/BreadcrumbSchema.astro';

const breadcrumbs = getBreadcrumbs(Astro.url.pathname);
---

<html>
  <head>
    <LocalBusinessSchema {...siteConfig.business} />
    {breadcrumbs.length > 1 && <BreadcrumbSchema items={breadcrumbs} />}
  </head>
  <body>
    <slot />
  </body>
</html>

See references/supporting-schemas.md for complete multi-schema examples.

Forbidden

  • Schema for content not visible on the page
  • Fake reviews or ratings
  • Outdated business information (hours, prices, phone)
  • Multiple conflicting primary schemas
  • Spammy keyword stuffing in schema values
  • Hidden schema-only content not shown to users
  • Relative URLs in schema markup

Definition of Done

  • LocalBusiness schema implemented on all pages
  • FAQPage schema added to FAQ sections
  • Service schema on all service pages
  • BreadcrumbList on all inner pages
  • Article schema on blog posts
  • All schemas validated with Google Rich Results Test (zero errors)
  • No schema errors in Google Search Console
  • Schema content matches visible page content
  • Business info (hours, prices, contact) is current and accurate
  • All image and link URLs are absolute