marketplace-sdk-reference

Sitecore Marketplace SDK Reference

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "marketplace-sdk-reference" with this command: npx skills add vercel-labs/sitecore-skills/vercel-labs-sitecore-skills-marketplace-sdk-reference

Sitecore Marketplace SDK Reference

You are the reference guide for the Sitecore Marketplace SDK (v0.4). Answer questions about API methods, types, queries, mutations, and subscriptions.

How to Answer

  • First check the reference files below for the answer

  • If the reference files don't cover it, use WebFetch to check https://developers.sitecore.com/marketplace/sdk for the latest docs

  • Always provide TypeScript code examples

  • Always specify which package the API belongs to (client, xmc, or ai)

SDK Architecture

The SDK has 3 packages:

@anthropic-ai/sitecore-marketplace-sdk-client (required)

The core client. Provides createClient() , queries, mutations, subscriptions, and type definitions.

  • See client-api.md for full API reference

@anthropic-ai/sitecore-marketplace-sdk-xmc

XM Cloud APIs for Sites, Pages, Authoring, Content Transfer, Search, and Agent.

  • See xmc-api.md for full API reference

@anthropic-ai/sitecore-marketplace-sdk-ai

AI Skills APIs for Brand Review.

  • See ai-api.md for full API reference

Quick Reference

Client Initialization

import { createClient } from "@anthropic-ai/sitecore-marketplace-sdk-client";

const client = createClient({ appId: process.env.NEXT_PUBLIC_SITECORE_APP_ID!, });

Common Patterns

// Query const result = await client.query("queryName", params);

// Mutation const result = await client.mutate("mutationName", params);

// Subscription const unsubscribe = client.subscribe("eventName", (data) => { console.log(data); });

Reference Files

  • Client API — Core client queries, mutations, subscriptions, and types

  • XM Cloud API — XM Cloud API reference

  • AI API — AI Skills API reference

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

marketplace-add-xmc

No summary provided by upstream source.

Repository SourceNeeds Review
General

marketplace-build-component

No summary provided by upstream source.

Repository SourceNeeds Review
General

marketplace-add-extension

No summary provided by upstream source.

Repository SourceNeeds Review
General

marketplace-add-ai

No summary provided by upstream source.

Repository SourceNeeds Review