Install it into your project and every coding agent you use β Claude Code, Codex, Cursor, Gemini CLI, Copilot β gains an SEO auditor that maps your routes, checks them against Google's official rules, fixes the gaps, and proves it with a real audit against your live server.
Three things in one repository:
- A knowledge base of Google's SEO guidance (
docs/01βdocs/17), distilled from Google Search Central and web.dev, every claim cited. Docs 01β11 cover the page; 12β17 cover crawling and crawl budget, indexing and canonicals, content quality and the spam policies, measurement, migrations, and off-page authority. - A skill that installs into whichever agent you use, so "audit my SEO" activates the whole workflow without you pasting anything.
- Two tools that run (
tools/) β because reading a repository tells you what a project intends, and only a request tells you what the server returns.
The tools are not decoration. Tested against five production sites before release,
seo-audit.mjsfound two live P1 blockers β aDisallow: /_next/breaking rendering, and a template returning 200 for every URL under it β that source review had not surfaced.
git clone https://github.com/umutxyp/Seo-Promt-Master.git
cd /path/to/your-project
bash /path/to/Seo-Promt-Master/install.shThat copies the knowledge base and tools into .seo-prompt-master/ and writes the entry point each agent actually reads:
| Agent | File it discovers |
|---|---|
| Claude Code | .claude/skills/seo-audit/SKILL.md |
| OpenAI Codex CLI, Amp, Jules | AGENTS.md |
| Cursor | .cursor/rules/seo-prompt-master.mdc |
| Gemini CLI | GEMINI.md |
| GitHub Copilot | .github/copilot-instructions.md |
Then just ask: "run the SEO audit". The agent finds the workflow itself.
An existing AGENTS.md or GEMINI.md is appended to, never replaced, and re-running the installer is safe.
Prefer not to install? Drop the repo next to your project β most agents auto-discover AGENTS.md and start on their own. Or paste START.md into any chat assistant and say "begin at Phase 0". Or ignore the automation entirely and read docs/README.md as a current, cited SEO reference.
# The thorough pass β sample the sitemap, audit each page, score it
node tools/seo-audit.mjs --url https://example.com --max 40 --md report.md
# The ten-second deploy tripwire
SEO_SMOKE_404_PATHS="/ /blog /products" bash tools/seo-smoke.sh https://example.comZero dependencies. Node 18+ for the auditor, curl and awk for the smoke test. Both exit non-zero on failure, so either can gate a deploy or a CI job. Both work against http://localhost:3000.
What seo-audit.mjs catches that reading code cannot:
- Soft 404s per template β a route answering 200 for URLs that do not exist. In frameworks with Suspense boundaries this has no visible symptom at all; a
loading.tsxabove one segment silently turns that whole template's 404 into a 200 shell. - One-way hreflang β a set that is not reciprocal is discarded in full, so every language in the cluster loses the signal. Only visible by comparing pages against each other.
- Streamed metadata β frameworks that flush
<head>early and emit<title>later. Browsers hoist it; bots that stop reading at</head>see an untitled page. - Plus: robots.txt against RFC 9309 group semantics, blocked render-critical paths, sitemap limits and
lastmodcredibility, host consolidation, canonical self-reference and duplicate titles, JSON-LD validity,aggregateRatingwith no ratings behind it, raw-HTML content volume, image dimensions.
What it deliberately cannot see, and so stays your job: content quality (docs/14), off-page authority (docs/17), and real field Core Web Vitals, which come from CrUX rather than from fetching a page (docs/05). A high score means the technical foundation is sound β not that the site will rank.
See tools/README.md.
seo-prompt-master/
βββ install.sh β writes the skill into your project, for every agent
βββ VERSION Β· CHANGELOG.md β semver; a major means old scores aren't comparable
β
βββ .claude/skills/seo-audit/SKILL.md β Claude Code
βββ AGENTS.md β Codex, Amp, Jules (and most others)
βββ .cursor/rules/seo-prompt-master.mdc β Cursor
βββ GEMINI.md β Gemini CLI
βββ .github/copilot-instructions.md β GitHub Copilot
βββ CLAUDE.md Β· START.md β the workflow itself
β
βββ tools/ β the parts that run
β βββ seo-audit.mjs live audit, scored, exits 1 on any P1
β βββ seo-smoke.sh deploy tripwire
β βββ README.md
β
βββ prompts/ β the 5-phase workflow (+ 1 optional)
β βββ 00-bootstrap.md detect stack, load docs, run the audit tool
β βββ 01-discover-routes.md enumerate & classify every route
β βββ 02-audit-page.md 9-point audit per public page
β βββ 03-prioritize-fixes.md one ordered backlog (infra-first)
β βββ 04-apply-and-verify.md fix + typecheck/lint/build + prove it
β βββ 05-live-signals.md optional: field data via MCP
β
βββ docs/ β the knowledge base (source of truth)
β βββ 01-meta-and-head.md 06-sitemaps.md
β βββ 02-internationalization.md 07-image-seo.md
β βββ 03-ugc-forums-blogs.md 08-structured-data.md
β βββ 04-page-structure.md 09-2024-2026-updates.md
β βββ 05-rendering-and-core-web-vitals.md
β βββ 10-ai-crawlers-and-geo.md 11-scoring-rubric.md
β β
β βββ 12-crawling-and-robots.md RFC 9309, crawl budget, log analysis
β βββ 13-indexing-and-duplicates.md canonicals, facets, soft 404s, GSC states
β βββ 14-quality-eeat-and-spam.md the 16 spam policies, scaled content
β βββ 15-measurement-and-verification.md GSC, BigQuery, proving a change
β βββ 16-migrations-and-incidents.md redirect maps, rollback, hack response
β βββ 17-offpage-and-entity-authority.md links, digital PR, entity building
β
βββ verticals/ β 24 industry overlays (optional, additive)
βββ checklists/ β quick pass/fail lists
βββ templates/ β output files the AI fills in
βββ examples/ β a worked example
START.md
β
ββ Phase 0 Bootstrap ......... detect framework, i18n, rendering; load docs/;
β RUN tools/seo-audit.mjs for the baseline
ββ Phase 1 Discover .......... every route β ROUTES-INVENTORY.md
β classify: public-index / public-noindex / private
ββ Phase 2 Audit ............. 9-point check per page β SEO-AUDIT-PROGRESS.md
ββ Phase 3 Prioritize ........ one backlog, infra-first (P1 β P2 β P3)
ββ Phase 4 Fix & verify ...... change β typecheck/lint/build β re-fetch β tick
ββ Phase 5 Live signals ...... optional: CrUX and live scrape via MCP
Progress lives in ROUTES-INVENTORY.md and SEO-AUDIT-PROGRESS.md, so a long run survives a context reset and resumes instead of restarting.
Metadata Β· Canonical + hreflang Β· Robots and indexing Β· Structured data Β· Headings and semantics Β· Images Β· Internal links and pagination Β· Rendering Β· Sitemap β every rule tracing to a cited section in docs/.
The output is a number with its working shown: a deterministic SEO Score and GEO Score out of 100 (docs/11), each with a per-category breakdown. A P1 crawl/index blocker caps a page's score no matter what else it gets right β a page that cannot be indexed does not benefit from polish. No score is reported as final without full coverage plus a self-recheck of a random sample. And it is a technical-readiness score, stated as such every time: backlinks, content quality and competition are out of scope.
Most SEO checklists are shallow, generic, or quietly out of date. This one is:
- Current. It is explicit about what changed: INP replaced FID in March 2024, FAQ rich results were removed in May 2026,
rel=next/prevhas been unused since 2019, Google does not support IndexNow,llms.txtis not required. Advice that repeats any of those is old, and the knowledge base says so. - Cited. Every claim links to Google's own documentation. If something is not in
docs/, the agent is instructed to say "not covered by the knowledge base" rather than recall it from training data. - Executable. An agent can run it against your code and your server, not just read it.
- Honest about its limits. It separates ranking factors from hygiene, logs deliberate skips, and names the three things it cannot measure.
Umut Bayraktar β @umutxyp
Full-stack developer and AI-systems researcher. Founder at Codeshare Technology.
The methodology comes out of running these, not out of theory:
- βοΈ MCStat.org β Minecraft server list, 6.7K servers and ~250K players tracked daily
- π΅ Beatra β Discord music bot, 32.8K servers and 2.1M+ users
- π¬ JustDiscord β Discord server and bot list, 16K+ listings across 21 languages
- π Codeshare β digital marketplace for code, licences and services
- π‘οΈ Sylon β AI-powered Discord moderation
π Portfolio Β· GitHub Β· Codeshare
If this saved you time, star the repo. π
MIT Β© Umut Bayraktar (@umutxyp). Knowledge base compiled from public Google Search Central and web.dev documentation; all trademarks belong to their owners. Not affiliated with or endorsed by Google.
Google's guidance moves. PRs that update a rule with a source link, add a framework recipe, or add a check to tools/ are very welcome β see CONTRIBUTING.md.