/local-seo-skills:local-schemafrom local-seo-skills
Implements LocalBusiness structured data markup (JSON-LD) for local SEO. Helps match schema with Google Business Profile data and improve local search visibility.
Ships in local-seo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in implementing structured data for local businesses. Your goal is to correctly implement LocalBusiness schema that reinforces GBP data and improves local search visibility.
Schema on your website must match your GBP data exactly. Mismatches create conflicting signals. The schema is your website confirming what GBP says about your business.
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://example.com/#business",
"name": "Smith Plumbing",
"image": "https://example.com/images/logo.png",
"url": "https://example.com",
"telephone": "+17165550100",
"email": "[email protected]",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St, Suite 200",
"addressLocality": "Buffalo",
"addressRegion": "NY",
"postalCode": "14201",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "42.8864",
"longitude": "-78.8784"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "17:00"
}
],
"areaServed": [
{ "@type": "City", "name": "Buffalo", "sameAs": "https://en.wikipedia.org/wiki/Buffalo,_New_York" },
{ "@type": "City", "name": "Orchard Park" },
{ "@type": "City", "name": "Hamburg" }
],
"priceRange": "$$",
"sameAs": [
"https://www.facebook.com/smithplumbing",
"https://www.yelp.com/biz/smith-plumbing-buffalo"
],
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "142"
},
"hasOfferCatalog": {
"@type": "OfferCatalog",
"name": "Plumbing Services",
"itemListElement": [
{
"@type": "Offer",
"itemOffered": {
"@type": "Service",
"name": "Emergency Plumbing",
"description": "24/7 emergency plumbing repair"
}
}
]
}
}
Use the most specific LocalBusiness subtype:
| Business Type | Schema @type |
|---|---|
| General business | LocalBusiness |
| Plumber | Plumber |
| Electrician | Electrician |
| HVAC | HVACBusiness |
| Dentist | Dentist |
| Restaurant | Restaurant |
| Auto repair | AutoRepair |
| Attorney | Attorney |
| Real estate agent | RealEstateAgent |
| Hair salon | HairSalon |
| Medical practice | MedicalBusiness |
Full list: https://schema.org/LocalBusiness (check subtypes)
Each location needs its own schema with a unique @id:
{
"@type": "Plumber",
"@id": "https://example.com/locations/buffalo-ny/#business",
"name": "Smith Plumbing - Buffalo",
"url": "https://example.com/locations/buffalo-ny/",
...
}
On the homepage, reference all locations:
{
"@type": "Organization",
"@id": "https://example.com/#organization",
"name": "Smith Plumbing",
"department": [
{ "@id": "https://example.com/locations/buffalo-ny/#business" },
{ "@id": "https://example.com/locations/orchard-park-ny/#business" }
]
}
For businesses without a public address, omit address and emphasize areaServed:
{
"@type": "Plumber",
"name": "Smith Plumbing",
"areaServed": [
{ "@type": "City", "name": "Buffalo, NY" },
{ "@type": "City", "name": "Orchard Park, NY" },
{ "@type": "State", "name": "New York" }
],
"telephone": "+17165550100",
"url": "https://example.com"
}
document.querySelectorAll('script[type="application/ld+json"]')address format doesn't match GBPgeo coordinates@type (too generic)telephone missing country codeopeningHoursSpecification doesn't match actual hours@id across pages⚠️ Detection limitation: web_fetch and curl strip <script> tags. Many CMS plugins inject JSON-LD via JavaScript. Always use Rich Results Test or browser tools to verify schema exists.
| What You Found | Next Action | Skill |
|---|---|---|
| Schema implemented, need to verify GBP matches | Audit GBP to ensure all data aligns exactly with schema | gbp-optimization |
| Need schema on multiple location pages | Build schema per page with location-specific data | local-landing-pages |
| Schema is part of a broader audit | Feed schema findings into the full audit report | local-seo-audit |
| Schema added but rankings unchanged | Schema alone rarely moves rankings — it reinforces other signals. Check if the real issue is elsewhere | geogrid-analysis |
Default next step: After implementing schema, validate with Google's Rich Results Test, then monitor Search Console for structured data errors over the next 2 weeks.
See docs/tool-routing to pick based on what's connected.
What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/ahrefs-toolWhen the user wants backlink analysis, link gap analysis, competitor link profiles, referring domain data, or link building research. Trigger on "backlinks," "who links to," "link profile," "referring domains," "link gap," "Ahrefs," "link building research," or "why do they outrank me" (often a link authority issue)./ai-local-searchWhen the user wants to optimize for AI-powered local search results including Google AI Overviews, AI Mode, ChatGPT, Gemini, Perplexity, or Grok. Also use when the user mentions "AI Overviews," "AI search local," "ChatGPT local," "GEO," "LLMO," "generative search," "AI recommendations," "AI Mode," or "showing up in AI answers for local." For traditional map pack ranking, see gbp-optimization./npx claudepluginhub garrettjsmith/localseoskills --plugin local-seo-skillsOther plugins' skills for the same job