agentleFS
LockeZeRoLockeZeRo/site-builder/.claude/skills/seo-schema/SKILL.md

seo-schema

Skill0 starsChanged 3 months agoMITView on GitHub

Structured data, metadata and on-page SEO for the theme. Triggers on "schema", "structured data", "SEO", "meta description", "rich results", "LocalBusiness".

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-agentic, seo-sxo and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AgriciDanielSkill

    seo-agentic

    Audit and fix agent readiness: the Lighthouse Agentic Browsing fraction, accessibility tree for agents, robots.txt and Content-Signal for AI agents, WAF treatment of agent traffic, llms.txt, Markdown delivery, ai-catalog.json, /.well-known discovery files, and WebMCP tools. Use when the user asks whether AI agents can use or browse the site, or about llms.txt or WebMCP. Exclude AI citability and brand signals (seo-geo) and commerce protocol depth (seo-ecommerce).

    Also in 5 projects that use this

  • timruebenachSkill

    seo-sxo

    Search Experience Optimization: reads Google SERPs backwards to detect page-type mismatches, derives user stories from search intent signals, and scores pages from multiple persona perspectives. Identifies why well-optimized pages fail to rank by analyzing what Google rewards for each keyword. Use when user says "SXO", "search experience", "page type mismatch", "SERP analysis", "user story", "persona scoring", "why isn't my page ranking", "intent mismatch", or "wireframe".

    Also in 14 projects that use this

  • timruebenachSkill

    seo-google

    Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic. Provides real Google field data for Core Web Vitals, indexation status, search performance, and organic traffic trends. Use when user says "search console", "GSC", "PageSpeed", "CrUX", "field data", "indexing API", "GA4 organic", "URL inspection", "google api setup", "real CWV data", "impressions", "clicks", "CTR", "position data", "LCP", "INP", "CLS", "FCP", "TTFB", or "Lighthouse scores".

    Also in 13 projects that use this

  • mangollcSkill

    seo-backlinks

    Backlink analysis and link building strategy: competitor backlink profiling, outreach plan generation, monthly SEO reporting framework, toxic link identification, link opportunity scoring, and unlinked mention discovery.

    Also in 15 projects that use this

  • mangollcSkill

    seo-local

    Local SEO optimization: Google Business Profile post generation, 30-day posting calendars, NAP consistency checks, local citation audits, review response templates, local keywords.

    Also in 19 projects that use this

  • indranilbanerjeeSkill

    seo-drift

    Compare two SEO exports (Search Console, two dates): gainers, losers, drift classes. \"what moved after the core update\"

    Also in 13 projects that use this

  • +6 more from timruebenach

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add a builder function in theme/inc/schema.php.

    line 26
  2. Distinctive:

    Do not mark up content that is not visible on the page.

    line 50
  3. Very specific:

    Do not add aggregateRating without real, verifiable reviews.

    line 52
  4. Very specific:

    Do not keyword-stuff the service-area list.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SEO and structured data

Where it lives

theme/inc/schema.php emits JSON-LD. It reads everything from site.config.php — name, address, phone, service areas — so the schema and the visible page can never disagree. That is the point: mismatched NAP data between your markup and your footer is a real ranking problem and an easy one to create by hand.

What is emitted

TypeWhereSource
LocalBusinessEvery pageSB_COMPANY, SB_STREET, SB_PHONE_*, SB_SERVICE_AREAS
ProductSingle listingThe listing's own meta
BreadcrumbListArchives and singlesPost hierarchy

Adding a type

  1. Add a builder function in theme/inc/schema.php.
  2. Source every value from a SB_* constant or post meta. Never a literal.
  3. Validate the emitted JSON before shipping:

    php -r 'define("ABSPATH",1); require "site.config.example.php";' && echo "config parses"

    Then paste a rendered page's JSON-LD into Google's Rich Results Test. Schema that parses as JSON but fails Google's requirements is the normal failure mode — a syntax check alone proves very little here.

On-page rules

  • One <h1> per page. The hero heading is it.
  • Meta description: 150–160 characters, written for a human, containing the query the page answers.
  • Internal links are relative (/services/), never absolute. Absolute links break the moment you work on a staging domain.
  • Image alt text describes the image. Decorative images get alt="", not a keyword.

What not to do

  • Do not mark up content that is not visible on the page. It is a manual-action risk and buys nothing.
  • Do not add aggregateRating without real, verifiable reviews.
  • Do not keyword-stuff the service-area list. SB_SERVICE_AREAS should be places you actually serve.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.