astro-seo
Skill0 starsChanged 24 days agoMITView on GitHub
Implement SEO on Astro static sites: generate llms.txt, sitemap.xml, robots.txt, add JSON-LD schema (LocalBusiness, Service, FAQPage), submit URLs via IndexNow, run the GEO/AI-search launch checklist. Triggers on: astro seo, llms.txt, json-ld, sitemap, indexnow, robots.txt, schema markup, structured data, geo, ai search, astro launch.
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Lexington-Themes/astro-skillstheir own version, first seen Nov 8, 2026
- RelayStack/astro-seo-toolkitword for word, first seen Oct 13, 2026
- jdevalk/skillstheir own version, first seen Apr 16, 2026
Other versions3 projects use a version of this.
Word for word · 1
- RelayStack/astro-seo-toolkit★ 7100% same
Edited · 0
None found.
Wrote their own version · 2
- jdevalk/skills★ 100same name
- Lexington-Themes/astro-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Default to implement when the request is vague ("seo this site", "launch checklist").
- Distinctive: line 41
Verify with the audit command.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Astro SEO
Zero-dependency Node scripts in scripts/ plus Astro wiring guides in references/. Node 18+, no installs. Scripts run standalone (node scripts/<name>.mjs; usage errors list the flags) and as imports. scripts/integration.mjs writes every file in one pass.
Commands
| User says | You do |
| implement | Full wiring into an Astro project (section below) |
| audit [path] | Run every check in references/audit.md against source or dist/, report pass/fail |
| schema [page] | Emit JSON-LD with scripts/json-ld.mjs; per-page recipes in references/astro-wiring.md |
| generate | Write llms.txt + sitemap.xml + robots.txt in one pass with scripts/integration.mjs |
| llms-txt | Generate public/llms.txt from the content dir, then validate it |
| llms-full | Inline full page bodies into public/llms-full.txt (companion for agents that need more than the index) |
| sitemap / robots | Generate public/sitemap.xml / public/robots.txt |
| submit [urls] | IndexNow the changed URLs after deploy |
| geo | Walk references/geo.md item by item, fix or file issues for each gap |
Default to implement when the request is vague ("seo this site", "launch checklist").
Implement
- Locate the content dir (
src/content/**, elsesrc/pages/**) and the canonical URL (astro.config.mjs→site). Ask for the URL ifsiteis unset. - Best option when the project can take a dev dependency: add the integration to
astro.config.mjsso the files regenerate on every build.npm install -D astro-seo-toolkitimport astroSeo from "astro-seo-toolkit/integration";→integrations: [astroSeo({ contentDir: <content> })] - Otherwise generate into the project's
public/with a single command:node scripts/integration.mjs --dir <content> --site <url> --out <project>/public(or one file at a time:node scripts/llms-txt.mjs,scripts/sitemap.mjs,scripts/robots.mjs) - Schema: one
toScript(...)block per page type in the Astro layout viaset:html(recipes inreferences/astro-wiring.md). Every public page gets exactly one valid JSON-LD block. - Build hook: prepend generation to the project's
buildscript so the files never go stale. - Verify with the audit command. Fix failures, never hand-wave them.
- Post-deploy: submit changed URLs with
scripts/indexnow.mjs(needs the site's IndexNow key file in place).
Ground rules
llms.txtis not a Google lever (Google ignores it). It serves Claude/GPT/Perplexity agents. Say so when asked.- AI citations require normal indexation first: sitemap submitted, URLs indexed. No index, no citations.
--disallow-aionly on explicit owner opt-out; it also kills AI citations.references/load on demand:astro-wiring.mdfor implementation detail,audit.mdfor verification,geo.mdfor launch review.
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
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.

