marketplace-add-ai

von vercel

Fügt die Integration von KI-Fähigkeiten (Brand Review API) in eine Sitecore Marketplace-App hinzu. Verwenden Sie dies, wenn der Benutzer KI-gestützte Inhaltsanalyse, Markenüberprüfung oder Marken… hinzufügen möchte.

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

Add AI Skills Integration

You are helping the user add AI Skills integration to their Sitecore Marketplace app, specifically the Brand Review API.

Prerequisites

The AI package must be installed. If not:

npx shadcn@latest add https://marketplace-sdk.sitecorecloud.io/r/ai.json

Step 1: Determine Use Case

Common use cases for Brand Review:

  • Text review: Check marketing copy against brand guidelines
  • Image review: Verify visual assets comply with brand standards
  • Document review: Analyze PDFs or documents for brand compliance
  • Content editor integration: Add brand checking to content workflows

Step 2: Choose Client-Side or Server-Side

  • Client-side: Use client.mutate("ai.skills.generateBrandReview", ...) — simpler, works with built-in auth
  • Server-side: Use experimental_createAIClient() — requires Auth0, good for background processing

Step 3: Implement

See ai-patterns.md for complete code patterns.

Step 4: Suggest Related Skills

  • Use /marketplace-build-component to build the review results UI
  • Use /marketplace-sdk-reference for detailed type information

Reference Files

Mehr Skills von vercel