mcpField
M
marketplace-add-extension

marketplace-add-extension

github.com/vercel-labsDevelopment556 installsUpdated 30w ago
Repository

About marketplace-add-extension

marketplace-add-extension is a skill for adding extension-point routes to Sitecore Marketplace apps. It helps select an extension type, generate a route, and register it in the Developer Portal.

Key features

  1. 01Guidance for five extension types
  2. 02Route generation for an extension
  3. 03Custom route path support
  4. 04Developer Portal registration steps
  5. 05Pointers to related Marketplace skills

Use cases

  1. 01Adding a custom field route
  2. 02Creating a dashboard widget route
  3. 03Adding a Pages context panel
  4. 04Setting up a standalone or fullscreen route

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vercel-labs/sitecore-skills --skill marketplace-add-extension

After installing, type/marketplace-add-extensionin Claude Code to confirm it loaded.

Bundled filesreferences/extension-types.md

Details

From the project README

Add an Extension Point Route

You are helping the user add a new extension point to their Sitecore Marketplace app.

Step 1: Determine Extension Type

Ask the user which type (or infer from $ARGUMENTS):

TypeSlugDescriptionTypical Size
Custom Fieldcustom-fieldInline field in content editor~300px wide
Dashboard Widgetdashboard-widgetWidget on the dashboard~400x300px
Pages Context Panelpages-context-panelSide panel in Pages editor~350px wide, full height
FullscreenfullscreenFull-page within Sitecore shellFull viewport
StandalonestandaloneIndependent pageFull viewport

Step 2: Generate the Route

Create the route at app/<extension-type>/page.tsx (or a custom path the user prefers).

See extension-types.md for complete boilerplate templates for each extension type.

Step 3: Register in Developer Portal

Remind the user to register the extension point in the Sitecore Developer Portal:

  1. Go to Developer Portal → Your App → Extension Points
  2. Click "Add Extension Point"
  3. Select the type and set the route path (e.g., /custom-field)

Step 4: Suggest Next Steps

  • Use /marketplace-build-component to build out the UI
  • Use /marketplace-sdk-reference to look up available queries/mutations for this extension type
  • Use /marketplace-add-xmc if the extension needs XM Cloud data

Reference Files

Comments

Markdown supported