Skills
Chapter 14 of 20
Derives Wix environment prerequisites (apps, collections, schemas) from an approved mapping plan.
5 minutes · 1,044 words · 12 sections
Determine the Wix-side setup required before import can run safely.
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.
migrations/<project>/mapping/mapping-plan.jsonmigrations/<project>/mapping/review/mapping-gaps.jsonmigrations/<project>/mapping/review/mapping-summary.mdmigrations/<project>/orchestration/approvals.jsontargetRef, load compact domain/entity summaries through
rp-target-wix/scripts/domain-knowledge.js summarize-entities and include
wixAppsRequired, setupRequirements, target classification, and write verification
level in setup analysis.migrations/<project>/setup/run.jsonmigrations/<project>/setup/setup-plan.jsonmigrations/<project>/setup/setup-requirements.jsonmigrations/<project>/setup/setup-blockers.jsonmigrations/<project>/setup/llm-handoff.jsonmigrations/<project>/setup/review/setup-summary.mdmigrations/<project>/orchestration/checkpoints.jsonTreat mapping/review/mapping-summary.md as the user-facing statement of intent and
mapping/mapping-plan.json as
the detailed contract. If they materially disagree, halt and send the workflow back to
rp-mapper to correct them before deriving setup requirements.
If the mapping imports media by URL and the source profile shows localhost,
127.0.0.1, or another private-only source URL, add an optional setup note for media
reachability. This is not a blocker for non-media entities and should not be framed as
a required Wix-side app/setup item. As far as we know today, it only affects Wix Media
import because Wix’s import-from-URL API fetches files from Wix servers.
Offer two options in setup/review/setup-summary.md and preserve the machine-readable
effect in setup/setup-blockers.json or setup/setup-requirements.json:
For ngrok, include:
brew install ngrok
ngrok config add-authtoken "<YOUR_AUTHTOKEN>"
ngrok http 8090
export WP_BASE_URL=https://<id>.ngrok-free.appTell the user to use the HTTPS forwarding URL as WP_BASE_URL / SOURCE_URL, or ensure
generated code rewrites source media URLs from the local base URL to the tunnel base URL.
Confirm that the apps, collections, field types, and references you require actually exist in Wix with the names/types you state — never invent them.
Field.type against the Create Data Collection
schema. (Common trap: there is no SLUG type — a Wix slug is a TEXT field.)rp-target-wix‘s verified contracts plus
published Wix REST/SDK documentation and conservative, known-good names, and mark the
requirement unverified so a human confirms it before rp-execute-setup runs.Emit a mute-site-notifications requirement into setup/setup-plan.json and
setup/setup-requirements.json whenever mute is in effect:
WIX_SITE_STRATEGY=new — always, as a standing rule keyed on the strategy value
alone. Not derived from mapping decisions, domain knowledge, or agent judgment, and not
conditional on WIX_MUTE_NOTIFICATIONS (for new sites the mute is unconditional).WIX_SITE_STRATEGY=existing — only when the owner explicitly opted in with
WIX_MUTE_NOTIFICATIONS=on. Under the existing-site default (off), emit no
requirement.Requirement contents: severity blocker, automation mode automatable, ordered
first among setup writes (before app installs, collection creation, and any other
provisioning), executed via the muteSiteNotifications primitive in
rp-target-wix/lib/wix-writers.js (VERIFIED 2026-08-04) with a project-identifying
reason (RePlatform migration — <project>). Verification criterion:
getSiteMuteState returns muted: true. Auth note for the requirement: the call must
use the CLI-minted site token (WIX_AUTH_TOKEN) — an account API key gets 403.
Config validation (fail fast): WIX_MUTE_NOTIFICATIONS=off together with
WIX_SITE_STRATEGY=new is a validation error — halt with the config conflict recorded
rather than emitting artifacts. (rp-import-codegen re-validates the same rule.)
Local files under migrations/<project>/state/crosswalk/ are the durable
sourceId -> targetId authority for native Wix entities. Do not make CMS setup a minimum
requirement for native-entity idempotency.
Create/provision CMS ImportCrosswalk only when the approved mapping plan explicitly
requests a CMS mirror (cmsMirror: "download" | "upload" | "download-and-upload"). The
mirror is compact site-local reference data and a pre-execution seed source for
existing-site flows when valid local crosswalk state does not already exist. Add a CMS
quota warning whenever a mirror is requested.
If older artifacts call the optional mirror MigrationRefs, normalize it to
ImportCrosswalk and call out the rename in the artifact so downstream setup/codegen
share one contract.
Do not assert “manual” / “cannot self-provision” by assumption — check the API surface.
stores-catalog-v3 requirement
alongside the Wix Stores app install: expected state catalogVersion: V3_CATALOG, verified
read-only via GET https://www.wixapis.com/stores/v3/provision/version, severity
blocker, automation mode automatable (it is provisioned by scaffolding the site from
the commerce template — see replatform → “Headless site creation”). A Stores install
alone does not imply V3; a blank-scaffolded site comes up V1_CATALOG and cannot be
converted, so this must be a first-class requirement rather than an assumption.appDefId e593b0bd-b783-45b8-97c2-873d42aacaf4 via the
App Installation API, after which POST /wix-data/v2/collections creates NATIVE
collections with no WDE0110 (verified live 2026-06-10; see rp-execute-setup).This phase is deterministic planning work. It does not create a second approval gate.
setup/review/setup-summary.md is supporting execution-planning context, not a separate
user approval checkpoint.
Verify names and enums rather than emitting unverified by default. Classify
automatability by checking the API surface (see above), not by assumption. If a direct
verification aid is unavailable, use the documented fallback and mark the requirement
unverified so downstream steps surface it before execution.
unverified and surface the risk before execution.Install this repository
npx skills add wix/skills/plugin marketplace add wix/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Derives Wix environment prerequisites (apps, collections, schemas) from an approved mapping plan. Use after mapping review and before import code generation.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 10 August 2026.SKILL.md, not by matching a directory convention. 4 distinct layouts observed: .claude/skills/*/SKILL.md, skills/*/SKILL.md, skills/wix-headless/*/skill.md, skills/wix-replatform/resources/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Wix, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./wix/skills.md, and each chapter at its own .md URL.