/sitecore-content-sdk-angular:content-sdk-angular-graphql-data-fetchingfrom Sitecore Content SDK - Angular
Fetches page, dictionary, and preview data in an Angular Content SDK app via getClient() inside loaders. Use when fetching Sitecore data in Angular head apps.
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.
All Sitecore data in an Angular head app enters through loaders that call the one SitecoreClient. Paths are relative to the head app.
Read first: src/content-sdk/loaders/page.loader.ts, src/content-sdk/client/sitecore-client.ts.
src/content-sdk/client/sitecore-client.ts exports getClient(), a lazy singleton that constructs new SitecoreClient(scConfig) on first use. It is lazy on purpose: build-time route extraction runs without credentials, and eager construction would throw.getPage, getDictionary, getPreview, getErrorPage, getPagePaths, getSiteMap, getHeadLinks.getClient() directly), provideSitecoreAngular({ sitecoreClient: getClient() }) in app.config.ts, and the Express middleware in server.ts (sitemap, robots, llms.txt). In components, inject SITECORE_CLIENT_TOKEN (as LayoutComponent does for getHeadLinks).splitLocaleFromPath(context.url, scConfig.angular.locales).nonLocalePathgetLanguage(context)getSiteName(context)getClient().getPage(path, { locale, site, personalize })getClient().getDictionary({ locale, site })getEditingPreviewData(context.csdkRequestData), then getPreview()HttpClient in a component for layout data.getClient(). Do not call new SitecoreClient(...) anywhere else.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-angular18 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-Other plugins' skills for the same job