/sitecore-content-sdk-nextjs-pages-router:content-sdk-pages-router-multisite-managementfrom Sitecore Content SDK - Next.js Pages Router
Manages multisite resolution, .sitecore/sites.json config, and proxy chain for Sitecore Content SDK with Next.js Pages Router. Use when working with multiple sites or hostnames.
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.
Site resolution from request (e.g. hostname or cookie); proxy rewrites to internal path. No [locale] in URL; Next.js i18n handles locale separately.
.sitecore/sites.json. Proxy in src/proxy.ts; ensure src/middleware.ts re-exports it if present. Keep chain order: PreviewProxy → BotTrackingProxy → MultisiteProxy → RedirectsProxy → PersonalizeProxy. Exclude /api, _next, static assets in matcher/skip..sitecore/sites.json (typically generated by Sitecore CLI or deployment). Avoid hand-editing unless the format is known.src/proxy.ts. Next.js runs middleware from middleware.ts at root or in src/ — if the app only has proxy.ts, add src/middleware.ts that re-exports it.defineProxy(preview, botTracking, multisite, redirects, personalize).exec(req) (create-content-sdk-app nextjs template, checked 2026-11-30). Do not change this order. PreviewProxy authorizes preview requests on the editing host and does nothing elsewhere; BotTrackingProxy detects bots; MultisiteProxy resolves the site from the request (hostname or cookie) and rewrites; redirects and personalization run after.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