Skip to content

Latest commit

Β 

History

85 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” SEO Prompt Master

Google SEO, every other search engine, and AI answer engines β€” as an AI skill, a prompt library, and a tool that actually runs.

Install it into your project, and every coding agent you use β€” Claude Code, Codex, Cursor, Gemini CLI, Copilot β€” gains an SEO + GEO auditor. It maps your routes, checks them against the official rules of Google, Bing, Yandex, Apple and the AI crawlers, fixes the gaps, and proves the fixes with a real audit against your live server.

License: MIT Version Tests Docs: Google Search Central Works with PRs welcome

Usage guide Β· TΓΌrkΓ§e kullanΔ±m rehberi Β· Prompt library Β· Knowledge base


⚑ Quick start β€” pick one

You want… Do this Time
A score and a findings list for a live site npx github:umutxyp/Seo-Promt-Master --url https://your-site.com --md seo-report.md 1 min
An agent to audit and fix your codebase bash /path/to/Seo-Promt-Master/install.sh inside your project, then tell your agent "run the SEO audit" 1 min to set up
A ready-made prompt for one task (robots.txt, hreflang, JSON-LD, traffic drop…) Open the prompt library, copy, fill in {{variables}}, paste 30 s
To read the rules docs/README.md β€” a current, cited reference to SEO and GEO β€”

No account, no API key, and zero dependencies. Node 18+ is the only requirement for the tool.


What is this?

Four things in one repository:

  1. A knowledge base (docs/01–docs/18), distilled from Google Search Central, web.dev, and the official documentation of Bing, Yandex, Apple, Brave, DuckDuckGo and the AI crawler operators. Every claim is cited. Docs 01–11 cover the page. Docs 12–18 cover crawling and crawl budget, indexing and canonicals, content quality and the spam policies, measurement, migrations, off-page authority, and the engines beyond Google.
  2. A skill that installs into whichever agent you use, so "audit my SEO" starts the whole workflow without you pasting anything.
  3. A prompt library β€” 47 copy-paste prompts in 8 categories, from "rewrite my robots.txt" to "diagnose a traffic drop". Each one is built to ask for evidence and to refuse outdated advice. It's also available as a CSV.
  4. Two tools that run (tools/). Reading a repository tells you what a project intends; only a request tells you what the server returns.

The tools are not decoration. Tested against production sites before release, seo-audit.mjs found live P1 blockers that source review had missed: a Disallow: /_next/ breaking rendering, and a template returning 200 for every URL under it.


πŸš€ Install as a skill

git clone https://github.com/umutxyp/Seo-Promt-Master.git
cd /path/to/your-project
bash /path/to/Seo-Promt-Master/install.sh

That copies the knowledge base, prompt library and tools into .seo-prompt-master/, then writes the entry-point file each agent actually reads:

Agent File it discovers
Claude Code .claude/skills/seo-audit/SKILL.md
OpenAI Codex CLI, Amp, Jules, Windsurf 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.

If your project already has an AGENTS.md or GEMINI.md, the installer appends to it and never replaces it. Re-running the installer is safe.

Prefer not to install? Put 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".


πŸ› οΈ The tools

# The thorough pass β€” sample the sitemap, audit each page, compute SEO + GEO scores
npx github:umutxyp/Seo-Promt-Master --url https://example.com --max 40 --md report.md
# (or, from a clone:)  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.com

Both have zero dependencies. The auditor needs Node 18+; the smoke test needs curl and awk. Both exit non-zero on failure, so either can gate a deploy or a CI job (--fail-on P1|P2|never), and both work against http://localhost:3000.

What seo-audit.mjs catches that reading code cannot:

  • Soft 404s, template by template β€” a route that answers 200 for URLs that don't exist. In frameworks with Suspense boundaries this has no visible symptom at all: a loading.tsx above one segment silently turns that whole template's 404 into a 200 shell.
  • One-way hreflang β€” a set that isn't reciprocal is discarded in full, so every language in the cluster loses the signal. You can only see it by comparing pages against each other.
  • Signals that contradict each other β€” a canonical pointing at a redirect, a 404 or a noindex page; sitemap URLs that redirect or that robots.txt blocks; a noindex sent in the X-Robots-Tag header that no one sees in the HTML.
  • A crawler access matrix β€” robots.txt resolved per RFC 9309 for Googlebot, Bingbot (which also feeds DuckDuckGo, Yahoo and Copilot), Applebot (Siri, Spotlight, Safari), YandexBot, DuckDuckBot, Baiduspider, Naver and Seznam, plus 16 AI crawlers split into training, AI search and user-triggered. Blocking Bing by accident is a P1; blocking an AI trainer is a policy decision.
  • Streamed metadata β€” frameworks that flush <head> early and emit <title> later. Browsers hoist it; bots that stop reading at </head> see an untitled page.
  • Bot protection β€” it recognises a Cloudflare, Akamai or Imperva challenge and reports it once, instead of scoring an unreadable site as broken.
  • Plus: render-critical JS and CSS blocked by robots.txt, sitemap limits and lastmod credibility (including .xml.gz), host consolidation, duplicate titles, JSON-LD validity and policy (Product with no offer, review or rating; aggregateRating with no ratings behind it), raw-HTML content volume, image dimensions, viewport, lang, and AI-answer snippet controls (nosnippet, noarchive/nocache).

The output is an SEO Score and a GEO Score out of 100, each with a per-category breakdown that shows where the points went, the crawler access table, and every finding cited to docs/.

What it deliberately cannot see β€” so it 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 for every flag.


πŸ“š The prompt library

Category Examples
Start here Full audit & fix Β· 15-minute health check Β· Explain my report
Technical SEO robots.txt Β· sitemap Β· soft 404s Β· canonicals Β· migration redirect map Β· hreflang Β· JS rendering Β· CWV
On-page & content Titles & descriptions in bulk Β· internal linking Β· thin-content triage Β· E-E-A-T
Structured data JSON-LD generator Β· validator Β· entity + sameAs
GEO: AI answer engines AI-crawler policy Β· answer-first rewrite Β· AI citation tracking
Beyond Google Bing + IndexNow Β· Yandex Β· Apple/Safari/Brave Β· Naver/Baidu
Monitoring & diagnosis Traffic drop Β· Search Console export Β· CI gates Β· monthly report
Framework recipes Next.js Β· Nuxt Β· SvelteKit/Astro/Remix Β· WordPress Β· Laravel/Django/Rails

πŸ“‚ What's inside

seo-prompt-master/
β”œβ”€β”€ install.sh                ← writes the skill into your project, for every agent
β”œβ”€β”€ package.json              ← `npx github:umutxyp/Seo-Promt-Master` runs the auditor
β”œβ”€β”€ GUIDE.md Β· GUIDE.tr.md    ← usage guides (English Β· TΓΌrkΓ§e)
β”œβ”€β”€ 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, Windsurf (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 SEO + GEO audit, scored, exits 1 on any P1
β”‚   β”œβ”€β”€ seo-smoke.sh             deploy tripwire
β”‚   └── build-prompts-csv.mjs    regenerates prompt-library/prompts.csv
β”‚
β”œβ”€β”€ prompt-library/           ← 47 copy-paste prompts in 8 categories (+ prompts.csv)
β”œβ”€β”€ prompts/                  ← the 5-phase workflow (+ 1 optional)
β”œβ”€β”€ docs/                     ← the knowledge base (source of truth), 01–18
β”œβ”€β”€ verticals/                ← 24 industry overlays (optional, additive)
β”œβ”€β”€ checklists/ Β· templates/ Β· examples/
└── tests/                    ← fixture sites the tools are tested against (npm test)

🧠 The workflow

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 where it stopped.


βœ… What it checks

Metadata Β· Canonical + hreflang Β· Robots and indexing (meta and header) Β· Structured data Β· Headings and semantics Β· Images Β· Internal links and pagination Β· Rendering Β· Sitemap Β· Crawler access for every major search engine and AI crawler β€” every rule traces 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 or index blocker caps a page's score no matter what else it gets right, because a page that cannot be indexed gains nothing from polish. No score is reported as final without full coverage plus a self-recheck of a random sample. And it is always stated as a technical-readiness score: backlinks, content quality and competition are out of scope.


❀️ Why it exists

Most SEO checklists are shallow, generic, or quietly out of date. This one is:

  • Current (reviewed October 2026). It is explicit about what changed: INP replaced FID in March 2024; FAQ rich results are limited to government and health sites; HowTo rich results are gone; rel=next/prev has been unused by Google since 2019; Google doesn't support IndexNow but Bing and Yandex do; Bing still obeys Crawl-delay; llms.txt is not a ranking or citation lever. Advice that repeats the old version is out of date, and the knowledge base says so.
  • Not Google-only. Google is the reference engine, but Bing's index sits behind DuckDuckGo, Yahoo and Copilot, and Applebot sits behind Siri and Safari's suggestions. docs/18 covers where the engines differ, and the auditor checks all of them.
  • Cited. Every claim links to official documentation. If something isn't in docs/, the agent is told to say "not covered by the knowledge base" rather than recall it from training data.
  • Executable and tested. An agent can run it against your code and your server. The tools are themselves tested against a healthy and a deliberately broken fixture site on every push.
  • Honest about its limits. It separates ranking factors from hygiene, logs deliberate skips, and names what it can't measure.

πŸ‘€ Author

Umut Bayraktar β€” @umutxyp

Full-stack developer, AI-systems researcher and content creator, with 6+ years of building platforms end to end. Founder and CEO of Codeshare Technology, a London-based software studio (founded 2025; its products date back to 2020) built on one idea: software that stays free for the people who need it.

The methodology here comes from running these products, not from theory β€” and the tools were tested against their production sites before every release:

Product What it is
🎡 Beatra Free, high-quality Discord music bot with a full web dashboard β€” relaunched October 2025
πŸ›‘οΈ Sylon AI-powered Discord moderation: spam and ad protection, tickets, server guard, welcome automation, logs and analytics β€” grown out of Server Support (2020)
⛏️ MCStat Live Minecraft discovery layer β€” 6.7K+ servers with real-time stats and player counts
πŸ’¬ JustDiscord Directory of Discord servers, bots, emojis, stickers and packs with verified ownership β€” 8K+ bots, 90K+ emojis, 23 languages
πŸ“Ί JustAnime Anime and manga tracker β€” your library, per-episode and per-chapter progress, ratings and reviews
πŸ€– Dotrai Browser-based AI assistant that answers with live web search and runs real code to check its own work

Across the portfolio: 41.5K+ Discord servers, 3M+ Discord users and 466K+ Minecraft players reached (figures from codeshare.me, October 2026).

Open source: MusicBot Β· Seo-Promt-Master Β· Discord-Bot-Website Β· Personal-Website Β· v14-discord-bot Β· Shroudly

πŸ”— Portfolio Β· GitHub Β· LinkedIn Β· YouTube Β· Codeshare Technology

If this saved you time, star the repo. 🌟


πŸ“„ License

MIT Β© Umut Bayraktar (@umutxyp). The knowledge base is compiled from public documentation by Google Search Central, web.dev, Microsoft Bing, Yandex, Apple, Brave, DuckDuckGo and the AI crawler operators. All trademarks belong to their owners. This project is not affiliated with or endorsed by any of them.


🀝 Contributing

Search guidance moves. PRs that update a rule with a source link, add a framework recipe or a prompt, or add a check to tools/ (with a fixture test) are very welcome β€” see CONTRIBUTING.md.

About

πŸ” Google SEO's full docs as an AI prompt machine β€” drop it into your AI assistant to map every public route, audit each page against Google's rules, and fix the gaps step by step.

Topics

Resources

Contributing

Stars

557 stars

Watchers

8 watching

Forks

Used by

Contributors

Languages