Guides crawlability improvements: robots, X-Robots-Tag, site structure, and internal linking.
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site structure.
Identify:
PrincipleGuidelineDepthImportant pages within 3–4 clicks from homepageOrphan pagesAdd internal links to pages with no incoming links; see internal-links for link strategyHierarchyLogical structure; hub pages link to content
Problem: With infinite scroll, crawlers cannot emulate user behavior (scroll, click "Load more"); content loaded after initial page load is not discoverable. Same applies to masonry + infinite scroll, lazy-loaded lists, and similar patterns.
Solution: Prefer pagination for key content. If keeping infinite scroll, make it search-friendly per Google's recommendations:
RequirementPracticeComponent pagesChunk content into paginated pages accessible without JavaScriptFull URLsEach page has unique URL (e.g. ?page=1, ?lastid=567); avoid #1No overlapEach item listed once in series; no duplication across pagesDirect accessURL works in new tab; no cookie/history dependencypushState/replaceStateUpdate URL as user scrolls; enables back/forward, shareable links404 for out-of-bounds?page=999 returns 404 when only 998 pages exist
Reference: Infinite scroll search-friendly recommendations (Google Search Central, 2014)
rel="prev" / rel="next" where applicableCrawl budget is the number of URLs Googlebot will crawl on your site in a given period. Large sites (10,000+ pages) may waste up to 30% of crawl budget on duplicates, redirects, and low-value URLs.
Waste sourceFixDuplicate URLsCanonical; consolidate; 301 to preferredRedirect chainsPoint directly to final URLParameter proliferationUse rel="canonical"; consider Clean-param (Yandex)Low-value pagesnoindex for thin/duplicate; see indexing****Crawl trapsAvoid infinite URL generation (e.g. faceted filters)
Sitemap: Include only indexable, canonical URLs. See xml-sitemap, canonical-tag.
AI crawlers (GPTBot, ClaudeBot, PerplexityBot, etc.) now represent ~28% of Googlebot's crawl volume. Their behavior differs from search engines—optimizing for both improves GEO (AI search visibility). See generative-engine-optimization for GEO strategy. Vercel/MERJ study (Dec 2024):
FactorAI Crawlers (GPTBot, Claude)GooglebotJavaScriptDo not execute JS; cannot read client-side rendered contentFull JS rendering404 rate34% of fetches hit 404s8%Redirects14% of fetches follow redirects1.5%Content in initial HTMLJSON, RSC in initial response can be indexedSame
Recommendations for AI crawlability:
PracticeActionServer-side renderingCritical content in initial HTML. Use SSR, ISR, or SSG. See rendering-strategies for full guide.URL managementKeep sitemaps updated; use consistent URL patterns; avoid outdated /static/ assets that cause 404s. AI crawlers frequently hit outdated URLs.RedirectsFix redirect chains; point directly to final URL. AI crawlers waste ~14% of fetches on redirects.404 handlingFix broken links; remove or redirect outdated URLs. High 404 rates suggest AI crawlers may use stale URL lists.
Reference: The rise of the AI crawler (Vercel, 2024)
IssueCheckRedirect chainsUpdate links to point directly to final URLBroken links301 or remove; audit internal and externalOrphan pagesAdd internal links from hub or navigation; see internal-links for strategyInfinite scrollProvide paginated component pages; or replace with pagination for key content; see aboveAI crawlers missing contentEnsure critical content in initial HTML; see rendering-strategies