marketplace-scaffold
Scaffold a New Sitecore Marketplace App
You are helping the user scaffold a new Sitecore Marketplace app using the official Sitecore Marketplace SDK (v0.4).
Step 1: Gather Requirements
Ask the user the following questions (skip any they've already answered):
- App name — What should the app be called? (default: from $ARGUMENTS if provided)
- Architecture — Client-side only or full-stack?
- Client-side: UI runs entirely in the iframe, communicates via SDK client. Simpler, no server needed.
- Full-stack: Includes Next.js API routes/server actions for server-side SDK access. Required for Auth0, server-side mutations, or proxying external APIs.
- Authentication — Built-in (default) or Auth0?
- Built-in: Zero-config, SDK handles auth automatically. Sufficient for most apps.
- Auth0: Required for server-side API access, external service integration, or custom auth flows. Requires Auth0 tenant setup.
- Optional packages — Which additional SDK packages?
- XM Cloud (
xmc): Access Sites, Pages, Authoring, Content Transfer, Search, and Agent APIs - AI Skills (
ai): Access Brand Review API for AI-powered content analysis
- XM Cloud (
More from vercel-labs/sitecore-skills
marketplace-add-extension
Adds a new extension point route to a Sitecore Marketplace app. Use when the user wants to add a custom field, dashboard widget, context panel, fullscreen page, or standalone route.
15marketplace-add-xmc
Adds XM Cloud API integration to a Sitecore Marketplace app. Use when the user wants to access Sites, Pages, Authoring, Content Transfer, Search, or Agent APIs from XM Cloud.
14marketplace-sdk-reference
Sitecore Marketplace SDK API reference. Use when the user asks about SDK methods, types, queries, mutations, subscriptions, or how to use any Sitecore Marketplace SDK API.
14marketplace-build-component
Builds UI components using the Blok design system for Sitecore Marketplace apps. Use when the user wants to create UI, add components, build a page layout, or work with Blok/shadcn components in a marketplace app.
14marketplace-deploy
Deploys a Sitecore Marketplace app to Vercel with correct CSP headers and configuration.
13marketplace-add-ai
Adds AI Skills integration (Brand Review API) to a Sitecore Marketplace app. Use when the user wants to add AI-powered content analysis, brand review, or brand compliance checking.
13