rp-setup-discovery
БесплатноЗапускает вложенные скриптыНе проверенDerives Wix environment prerequisites (apps, collections, schemas) from an approved mapping plan. Use after mapping review and before import code generation.
от wix★ 40 звёзд на GitHubОб этом скилле
rp-setup-discovery
Determine the Wix-side setup required before import can run safely.
Declaring user-defined extended fields
When a mapping needs a source-only value on a native Wix record, declare it as a setup requirement rather than letting a writer improvise one. The requirement and the step that executes it are a fixed pair:
- the requirement is
kind: "extendedFieldSchema"insetup/setup-requirements.json, carryingschemaKind,targetRef,fqdn,namespace: "_user_fields", and itsfields; - the plan step that provisions it is
provision-extended-fieldsinsetup/setup-plan.json.
Emit both or neither. A requirement with no matching step provisions nothing, and every writer
that needs those fields then refuses its write — correct, but the run fails late and for a
confusing reason. rp-execute-setup fails closed on that mismatch rather than proceeding.
Supported targets, and nothing else:
| Target | schemaKind |
fqdn / surface |
Types |
|---|---|---|---|
| eCommerce Order | data-extension-schema |
wix.ecom.*.order |
string (needs maxLength) |
| Product | data-extension-schema |
wix.stores.catalog.*.product (filterable) |
string |
| Contact (default) | data-extension-schema |
wix.contacts.*.contact, contactWriteSurface: "contacts-v5" |
string |
| Contact (legacy, explicit opt-in only) | crm-contact-extended-field |
contactWriteSurface: "contacts-v4", no fqdn/namespace; fields carry displayName + dataType |
TEXT |
Checkout, Bookings, Booking Services and nested order subrecords (extensionPoint) are refused
before any network call — route such fields to CMS. Use permissionsPreset: "migration-internal"
(Wix users and apps read, Wix users write, no visitor access); visitor exposure is a manual
dashboard change by the site owner afterwards, never a setup default. Never emit both contact
surfaces for one field, and never plan a V4 fallback for a V5 contact field.
Purpose
This skill analyzes the approved mapping artifacts and derives environment prerequisites such as installed apps, SMC collections, extended-fields schemas, references, permissions, and any other target-system configuration dependencies.
Required inputs
migrations/<project>/mapping/mapping-plan.jsonmigrations/<project>/mapping/review/mapping-gaps.jsonmigrations/<project>/mapping/review/mapping-summary.mdmigrations/<project>/orchestration/approvals.json- any Wix environment constraints or destination account details provided by the user
For managementImportMode=quick, replace the mapping inputs above with
migrations/<project>/quick-mode/plan.json. Its requiredWixCapabilities and entity graph are
the setup authority. Generate the same setup artifacts and standing notification/Catalog-V3
requirements; do not demand a mapping plan or ask an agent to infer additional quick entities.
When the plan includes blog posts, add an automatable dedicated fallback Blog author member,
persist its ID as WIX_BLOG_FALLBACK_MEMBER_ID, and disclose the attribution policy in the
setup summary. This is mandatory setup, never a user decision or import blocker.
Generate the quick-mode setup artifacts deterministically:
node skills/wix-replatform/resources/rp-setup-discovery/scripts/quick-setup-plan.js <projectDir>
The adapter declares its entity graph and capabilities; this shared generator owns universal destination setup policy and must not infer additional import entities.
Workflow
- Confirm the mapping review checkpoint has been accepted, then read the mapping plan and mapping summary and identify every non-native requirement.
- For mapped entities with
targetRef, load compact domain/entity summaries throughrp-target-wix/scripts/domain-knowledge.js summarize-entitiesand includewixAppsRequired,setupRequirements, target classification, and write verification level in setup analysis. - Determine which Wix apps must be installed or enabled.
- Determine which SMC collections must exist.
- Determine which extended-fields schemas, references, enums, or validation rules must exist.
- Capture dependency ordering where setup steps depend on each other. Every setup step
declares its canonical
entityRefs. Where imports consume a setup-produced value, declare optionalreferenceKeys: [{ ref, sourceStableKey, paths: string[] }]for that step. Each ref must be in itsentityRefs; keys come from the reviewed source mapping, and paths name the exact dependent payload fields. Never invent a target ID in the plan. Keep every setup-produced dependencytask-complete, even when its target value is used on individual records. List a ref only when this setup step writes it. An entity an import task writes (for example the delivery profile, when the mapping imports shipping zones) is owned by that import: a read-only prerequisite check on it, such as "the default delivery profile exists",
Установить rp-setup-discovery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rp-setup-discovery?
Derives Wix environment prerequisites (apps, collections, schemas) from an approved mapping plan. Use after mapping review and before import code generation.
Как установить скилл rp-setup-discovery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rp-setup-discovery запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic