/sitecore-content-sdk-nextjs-pages-router:content-sdk-pages-router-route-configurationfrom Sitecore Content SDK - Next.js Pages Router
Configures routing and layout for Sitecore Content SDK Pages Router apps: catch-all [[...path]].tsx, extractPath, locale, data flow via getStaticProps to Layout. Use when changing routes, placeholders, or layout.
Ships in Sitecore Content SDK - Next.js Pages Router. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Single catch-all route; no [site] or [locale] in the URL path. Site is resolved by middleware; locale from Next.js i18n (context.locale).
src/pages/[[...path]].tsx. Use extractPath(context) for path and context.locale for locale. Fetch all data in getStaticProps/getServerSideProps and pass to _app and Layout. Not-found/error: use getErrorPage in getStaticProps or 404.tsx / _error.tsx as appropriate.src/pages/[[...path]].tsx. This is the only page that renders Sitecore content. Do not add another page or catch-all for Sitecore content.extractPath(context) (from @sitecore-content-sdk/nextjs/utils) to get the path array. Locale: Use context.locale (Next.js i18n). Do not assume path or locale from headers or elsewhere.notFound: true, Next.js renders 404.tsx. For Sitecore-driven error content use client.getErrorPage(ErrorPage.NotFound) or ErrorPage.InternalServerError in getStaticProps; the template 404.tsx fetches it only when scConfig.generateStaticPaths is on. _error.tsx is the error boundary; it does not fetch from Sitecore.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/content-sdk-pages-router-component-data-strategyComponent data in a Content SDK Pages Router app: getComponentData after getPage resolves component props for the layout. Use when wiring component data or BYOC in a Pages Router app. Not App Router./content-sdk-pages-router-component-registrationRegisters components in the generated .sitecore/component-map.ts of a Content SDK Pages Router app (regenerate, never hand-edit). Use when adding a component or layout or the editor cannot find one. Not App Router./content-sdk-pages-router-component-scaffoldnpx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-content-sdk-nextjs-pages-routerOther plugins' skills for the same job