content-sdk-multisite-management
Multisite via createMultisiteMiddleware in server.ts; site read in loaders with getSiteName.
by Sitecore★ 39 GitHub stars
Install content-sdk-multisite-management in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Multisite management (Angular)
Detail: AGENTS-angular-specifics.md#multisite
Read first: src/server.ts, .sitecore/sites.json
When
- Multisite routing, site resolution, or
sites.jsonchanges
Rules
createMultisiteMiddlewareresolves the site in a fixed order:sc_sitequery →sc_sitecookie → hostname →defaultSite, and writes it toreq.scParams- It must run before bot tracking, redirects and personalize, all of which read the resolved site
- Loaders read the site with
getSiteName(context)— never hardcode a site name - The site list comes from
.sitecore/sites.json(generated bygenerateSites()); do not hardcode or hand-edit it - Site is part of the loader cache key — do not remove it
- Cross-origin setups may not send the
sc_sitecookie; use?sc_site=orSameSite=None; Secure
Stop
- Stop if changing middleware order without explicit approval
- Stop if a link or loader would hardcode a site
Docs: Content SDK for Angular.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the content-sdk-multisite-management skill do?
Multisite via createMultisiteMiddleware in server.ts; site read in loaders with getSiteName.
How do I install the content-sdk-multisite-management skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the content-sdk-multisite-management skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…