marketplace-scaffold
Installation
SKILL.md
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 (