/sitecore-content-sdk-angular:content-sdk-angular-multisite-managementfrom Sitecore Content SDK - Angular
Manages multisite routing in Angular Content SDK apps: configures createMultisiteMiddleware in server.ts, site resolution order, .sitecore/sites.json, and getSiteName in loaders. Use when working with sites, hosts, or site config.
Ships in Sitecore Content SDK - Angular. 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.
Multisite in an Angular head app runs as Express middleware in src/server.ts. Paths are relative to the head app.
.sitecore/sites.json changes.Read first: src/server.ts, .sitecore/sites.json.
createMultisiteMiddleware({ ...config.multisite, sites, defaultSite, matcher }) resolves the site per request in this order: sc_site query parameter, then sc_site cookie, then hostname, then defaultSite. The result is written to req.scParams.siteName and becomes part of the loader cache key.
Loaders read it with getSiteName(context).
The site list comes from .sitecore/sites.json, generated by generateSites() during sitecore-tools project build.
Multisite settings live in sitecore.config.ts, in the first argument of defineConfig:
defineConfig({ multisite: { enabled: true, useCookieResolution: (req) => … } }, environment)
With multisite.enabled: false, every request uses defaultSite.
Cross-origin setups may not send the sc_site cookie. Use ?sc_site= or SameSite=None; Secure.
Order (as upstream gives it for Angular): multisite is step 9 of the Express chain, before bot tracking (10), redirects (11) and personalize (12), all of which read the resolved site. Upstream note: the Next.js templates run BotTracking before Multisite in their proxy chain. The Angular docs say the opposite, and this skill states the Angular order only. Do not carry the Next.js order over.
getSiteName(context). Never hardcode a site name in a loader or a link..sitecore/sites.json. Do not hardcode or hand-edit it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
multisite, sitecore, angular-head, express-middleware, site-resolution
18 skills in this plugin
/content-sdk-angular-component-data-strategyHow a component gets Sitecore data in an Angular Content SDK app: placeholder inputs, route resolve data, SitecoreContextService, no component-level fetch. Use when wiring data or it is missing after navigation. Not Next.js./content-sdk-angular-component-registrationRegisters components in .sitecore/component-map.ts and the SITECORE_COMPONENT_MAP token in an Angular Content SDK app. Use when a component shows as missing or the map changes. Not Next.js./content-sdk-angular-npx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-content-sdk-angularOther plugins' skills for the same job