Command Palette

Search for a command to run...

Back to skills
skill № 39421

content-sdk-component-registration

Registers components in .sitecore/component-map.ts and the SITECORE_COMPONENT_MAP token.

FreeNo executable scripts
Sitecoreby Sitecore★ 39 GitHub stars

Install content-sdk-component-registration 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
Sign up freeI already have an account

About this skill

Component registration (Angular)

Detail: AGENTS-key-concepts.md#component-map Read first: .sitecore/component-map.ts, sitecore.cli.config.ts

When

  • Component renders as "missing component" in layout or editor
  • Task touches the component map or componentMap.paths

Rules

  • Every layout component must appear in .sitecore/component-map.ts, keyed by its Sitecore rendering name
  • Prefer regeneration (npm run sitecore-tools:generate-map) over hand-editing; the generator scans componentMap.paths from sitecore.cli.config.ts for @Component( decorators
  • The map is provided via { provide: SITECORE_COMPONENT_MAP, useValue: componentMap } in app.config.ts and imported again in server.ts for the editing config middleware
  • The built-in ['Form', ScFormComponent] entry is emitted by the generator — do not remove it
  • Components need a default export for the { ...Module } spread to resolve

Stop

  • Stop if renaming map entries would break published layout without a matching Sitecore-side update

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-component-registration skill do?

Registers components in .sitecore/component-map.ts and the SITECORE_COMPONENT_MAP token.

How do I install the content-sdk-component-registration 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-component-registration skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare content-sdk-component-registration with