Nextjs Seo

laguagu/claude-code-nextjs-skills/skills/nextjs-seo

作者 laguaguc51d9c872cf5無授權條款68 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 天前更新

Next.js App Router SEO implementation and audits. Use for metadata and social images, sitemap/robots, canonicals and localization, structured data, Core Web Vitals evidence, AI crawler policy or search-indexing diagnosis. Not for general Next.js feature work unrelated to SEO.

僅含說明Marketing & Sales
AI 產生的概覽

指導 Next.js App Router 的 SEO 實作與稽核,涵蓋中繼資料、網站地圖、結構化資料、AI 爬蟲政策與索引診斷。

功能
提供在 Next.js App Router 專案中實作與稽核 SEO 的說明與參考資料。內容涵蓋 Metadata API、社群圖片、網站地圖與 robots、標準連結與本地化、結構化資料、Core Web Vitals 證據、AI 爬蟲政策,以及搜尋索引問題排查。產出的是指引與稽核結論,而非程式碼或檔案。
適用情境
適用於處理 Next.js App Router 的 SEO 工作,例如中繼資料與社群圖片、網站地圖或 robots 設定、標準連結與本地化、結構化資料、Core Web Vitals 證據、AI 爬蟲政策,或診斷索引問題。不適用於與 SEO 無關的一般 Next.js 功能開發。
執行需求
無需指令碼,僅包含說明與參考文件。需要存取專案已安裝的 Next.js 版本及其在 node_modules 下的內建文件,稽核時還需要正式環境 URL、回應標頭與搜尋控制台類報告。

Next.js SEO

Start from the page's task, production response and observed search behavior. Read the installed Next.js version and relevant node_modules/next/dist/docs/ pages (bundled from 16.2); otherwise use matching official documentation. Metadata, Viewport and MetadataRoute types are also in node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts. Keep framework APIs, caching mode and deployment policy consistent with the project.

Useful, distinct content matters more than a longer page. Give titles, headings and descriptions separate jobs; add a FAQ, summary, badges or extra pages only when they help the reader. Publication dates must reflect meaningful changes. Verify authorship, credentials and factual claims.

Implementation and audit scope

  • Verify public URLs, redirects, status codes, crawl rules, index directives and canonicals before adding markup. A sitemap supports discovery; it does not make a page indexable or guarantee indexing.
  • Keep important public content available in the served HTML when practical. A Client Component can be server-prerendered; use client alone does not remove content from HTML.
  • Use the App Router Metadata API and file conventions. Resolve relative metadata URLs with the correct production metadataBase and verify emitted absolute URLs. Do not rely on missing-base behavior across versions/hosts.
  • Configure refresh/invalidation for data-backed pages, metadata and sitemaps. A database query alone does not guarantee publication updates reach them. Use cache-components when enabled; caching is a freshness decision rather than a required SEO directive.
  • Structured data must describe real visible content and a supported consumer. Check current rich-result eligibility instead of adding every schema type.
  • Preserve the owner's crawler policy. Training, search and user-triggered retrieval have different controls; robots rules are not access control.

Read for the affected area

  • Metadata [blocked]: inheritance, social images, icons and streaming.
  • Sitemaps/robots [blocked]: discovery, localization and preview policy.
  • Structured data [blocked]: current eligibility and safe serialization.
  • AI search [blocked]: crawler purposes, policy and evidence.
  • Audit checklist [blocked]: scoped production and Search Console checks.
  • Troubleshooting [blocked]: indexing, HTML and hydration diagnosis.

Separate evidence in the report: a performance export shows queries/traffic; URL Inspection and indexing reports address crawl/index/canonical status; field measurements address Core Web Vitals. Lighthouse is a lab diagnostic and cannot establish field INP. Good field thresholds at the 75th percentile are LCP ≤ 2.5 s, INP ≤ 200 ms and CLS ≤ 0.1.

Verify status, headers and complete production HTML, including relevant bot responses, then open the route directly and test its interaction. A spoofed User-Agent tests response handling, not actual verified bot access. Report unavailable checks explicitly and avoid ranking, indexing or citation promises.

來源與署名

來源:laguagu/claude-code-nextjs-skills位於skills/nextjs-seo提交c51d9c8

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架