vercel-labs/marketplace-deploy
Deploys a Sitecore Marketplace app to Vercel with correct CSP headers and configuration.
npx skills add https://github.com/vercel-labs/sitecore-skills --skill marketplace-deploy
You are helping the user deploy their Sitecore Marketplace app to Vercel.
Important: This skill has real side effects (deploying to production). Confirm each step with the user before executing.
Before deploying, verify:
npm run build
next.config.ts for frame-ancestors:// next.config.ts must include:
headers: [
{
source: "/(.*)",
headers: [
{
key: "Content-Security-Policy",
value: "frame-ancestors 'self' https://*.sitecorecloud.io",
},
],
},
]
.env.local exists and has required valuesnpm i -g vercel
vercel link
# For client-side apps
vercel env add NEXT_PUBLIC_SITECORE_APP_ID
# For full-stack (Auth0) apps — add all Auth0 vars too
vercel env add AUTH0_SECRET
vercel env add AUTH0_BASE_URL
vercel env add AUTH0_ISSUER_BASE_URL
vercel env add AUTH0_CLIENT_ID
vercel env add AUTH0_CLIENT_SECRET
vercel env add AUTH0_AUDIENCE
vercel env add AUTH0_SCOPE
# Preview deployment
vercel
# Production deployment
vercel --prod
After deploying:
AUTH0_BASE_URL env var in Vercel to match the production URL (if using Auth0)Take vercel-labs/marketplace-deploy from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.