Schema test urls

From lightspeedwp/.github · View interactive version

Schema test urls is an AI agent skill from the GitHub repository lightspeedwp/.github. Build a list of URLs to test a WordPress site's structured data against, with one page per public post type, post type archive, taxonomy in use, key page (home, about, contact, privacy, terms), author archive and search results. Use before a schema audit, or when someone asks which pages to test sch

How to use this skill

Skill file

Schema Test URLs

Pick the smallest set of URLs that exercises every kind of page a WordPress

site renders, so a structured data audit covers each template once.

When to use this skill

Procedure

1. Confirm the site

Ask for the site's home URL if it is not known, and which environment it is

(local, development, staging or live). Local sites with self-signed

certificates (*.local, *.test, localhost) work without extra steps.

2. Run discovery

In a clone of lightspeedwp/.github (Node.js 20+):

node agents/wp-schema-audit-agent/lib/schema-tool.cjs urls <site-url>

The tool reads the REST API (/wp-json/, or ?rest_route= when pretty

permalinks are off) and returns a table of URLs, plus the types and

taxonomies it skipped and why. Use --list for a plain list to save as a

file, or --json for the full result.

| Kind | How it is chosen |

| --------- | -------------------------------------------------------------------------------------------------------------------------------------- |

| home | The site URL. |

| single | The newest item of each public post type, kept only if it answers HTTP 200. Internal types (menus, templates, blocks, fonts) are left out. |

| archive | Each post type's archive, whether WordPress redirects ?post_type=<type> to it or renders it in place. |

| term | The most-used term of each taxonomy that has terms in use. |

| page | Pages whose slug marks them as key pages: about, contact, privacy, terms, FAQ, team, blog, news, careers, booking, enquiry. |

| author | The first author archive, when the users endpoint is public. |

| search | A search results page. |

3. Review the list with the user

special sent to its archive) has no schema of its own. Point this out; it

usually comes from a plugin setting, and it decides where that type's

schema has to live.

(pop-ups, presets); no published items and no terms in use mean there is

nothing to test yet. Ask whether test content should be published first.

with its own template, and add it.

(for example a special with and without a linked tour), a parent and a

child term in a hierarchical taxonomy, and the posts page.

Save the agreed list, one URL per line (# comments allowed), for the

CODE0 skill.

Without the tool

Read the site's sitemap index (/sitemap_index.xml for Yoast SEO,

/wp-sitemap.xml for core) and take the first entry of each sub-sitemap.

The first entry of a post type sitemap is often its archive. Then add the

key pages and a search URL by hand.

Rules

type or taxonomy without asking.

to work around the block.


_Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!_

Contributors

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.