/sitecore-content-sdk-nextjs-pages-router:content-sdk-pages-router-dictionary-and-i18nfrom Sitecore Content SDK - Next.js Pages Router
Adds or changes translated content, locale, and dictionary in a Sitecore Content SDK Pages Router app using Next.js built-in i18n. Use when working with getDictionary, context.locale, or next.config i18n locales.
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.
This app uses Next.js built-in i18n. There is no [locale] in the URL path; locale is provided by Next.js as context.locale in getStaticProps/getServerSideProps.
next.config.js → i18n.locales, defaultLocale. In getStaticProps/getServerSideProps use context.locale; after getPage use client.getDictionary({ site: page.siteName, locale: page.locale }). Use a single getDictionary per request. Do not assume locale from headers.next.config.js → i18n.locales and i18n.defaultLocale. Match (or subset) Sitecore languages.context.locale in getStaticProps and getServerSideProps. Pass it to client.getPage(path, { locale: context.locale }). After fetching the page, use page.siteName and page.locale (or context.locale) for client.getDictionary({ site: page.siteName, locale: page.locale }) and for getComponentData.context.locale and the page's site/locale for Sitecore calls.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-content-sdk-nextjs-pages-router11 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-scaffoldCreates a new Sitecore component in a Content SDK Pages Router app: file layout, props interface, src/components/ placement, generated component map. Use when adding or scaffolding a component. Not App Router./content-sdk-pages-router-component-variantsImplements component variants: different renderings or data-driven variants of the same component type. Pages Router: register in .sitecore/component-map.ts; getComponentData resolves props. Use when one component has multiple presentations./content-sdk-pages-router-editing-safe-renderingMakes Content SDK Pages Router components work in SitecoreAI editing and preview: context.preview, previewData, getPreview, design library data. Use when fixing editor or preview behaviour. Not App Router./content-sdk-pages-router-graphql-data-fetchingFetches page, dictionary and component data in a Content SDK Pages Router app: getPage, getDictionary, getComponentData, getPagePaths for SSG. Use when fetching page or dictionary content. Not App Router.Other plugins' skills for the same job