/wix:wix-replatformfrom Wix: AI website builder & custom domains
Routes source-to-Wix migrations through the correct workflow stage by inspecting migration artifacts. Use when starting, resuming, or recovering a migration run.
Ships in Wix: AI website builder & custom domains. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill only to migrate websites and content that you have the right to transfer to Wix.
wix-replatform is the compact supervisor for a resumable source-to-Wix migration. It selects one internal module for the active stage; it does not carry every stage procedure in its own context.
migrations/<project>/ (or REPLATFORM_MIGRATIONS_DIR)
before inspecting or creating anything. Only that project's artifacts are authoritative.EXPECTATIONS.md at that project root. It is the user's free-form record of
how they expected the run to behave; initialization creates it once and never overwrites it.resources/rp-telemetry/ at the beginning of every run (new project: give its
disclosure to the user first) and finalize it at a terminal state. Never hand-write events.start and before reading the source: ask the rights question (the sentence above, word for word; "I confirm" / "Cancel"; never answer it for the user), in 1-click and CLI-launched runs too; how: resources/rp-project-intake/.
Log the answer: node skills/wix-replatform/scripts/rights-confirmation.js confirmed|declined --project <projectDir>. Cancel: finalize telemetry abandoned_by_user and end the run.When a migration is started through replatform, the terminal is deliberately
non-interactive: do not use an agent question UI, ask for stdin, or wait for a person in the
current agent turn. The runner owns process lifecycle and emits only observed events; it does
not replace this skill's router or completion receipts.
When a human choice, review, approval, or manual prerequisite is needed, create a durable
request with node skills/wix-replatform/scripts/user-action.js create --project <projectDir> --request-file <request.json>, then end the turn. Put only reviewed artifact paths in the
request. For a mapping or execution approval, omit choices: the script adds the standard
approved / rejected pair, and refuses any other approval choice id. The person can later use replatform requests, replatform show, and
replatform answer; a resumed agent reads the answered request from
orchestration/user-actions/, never from reconstructed chat context.
Cancellation is not completion. If the runner has recorded cancel_requested, canceled, interrupted or an explicit stop (blocked,
transition --status blocked --resume-from '<json>'; routes run_blocked until explicit resume or --status running, never answer --continue), preserve partial/recovery
artifacts and let a later explicit replatform resume route recovery. Never create aggregate migration completion from an aborted execution report.
intake → destination → source inputs → preflight → (standard: discovery → mapping → codegen;
quick: adapter preflight → quick plan) → setup discovery → [integrated website handoff]
→ safety review/approval → setup → import
→ storefront continuation (website only) → aggregate finalization → Migration review
Delivery modes are management (backend only), website (frontend only), and
management_and_website (the integrated flow above). Accept user input both as
management_and_website and persist the canonical value.
For deliveryMode=management, aggregate finalization requires valid backend import
accounting. For deliveryMode=management_and_website, it additionally requires a current
website/completion.json with completed screenshot review, no unresolved critical/high
gaps, and release evidence. execution/completion-report.json is backend accounting,
never website-migration completion by itself.
On every new or resumed turn:
node skills/wix-replatform/scripts/orchestration-route.js <projectDir>.nextResource directly in the top-level worker; do not call
collab_tool spawn_agent, wait, or close_agent for stage work, and run Developer/QA
sequentially with the same durable handoffs. Other hosts dispatch a fresh Developer with
only its project/resource contract and read only its result; each Developer/QA dispatch is
fresh (resources/rp-subagent-dispatch/, scripts/write-log-summary.js, not the raw write
ledger). Run the long import yourself (scripts/import-supervise.js, background mode), end
your turn, never poll. Other background work: scripts/wait-background.js --project <dir>.
rp-execute-import's "Entity-by-entity QA" section. A run-fixing pass never substitutes for
phase QA; repeat it after fixes. Codex fixes remain in the top-level worker and never nest.
Mapping QA also checks exact source coverage, decided operation/path semantics and
canonical projections. Codegen QA reads the Developer's independently expected synthetic
request evidence and its freshness; it does not execute examples. Semantic defects return
to mapper, implementation defects to codegen. Every in-use entity is mapped (rp-mapper
"Map every in-use entity"); one-click asks no questions and only a typed set-aside defers,
finishing independent work with a typed incomplete result; customer runs retain their
existing checkpoints.resources/rp-user-action-recovery/; unreadable request artifacts block until repaired. Never discard pending requests or decide the next stage from memory.The router (lib/orchestration-router.js) is the only routing and resume authority. It
recomputes the route from decisions, approvals, preflight, run.json status and the phase
outputs on every call; run.json.currentState is diagnostic only, never a routing input.
execution_approval_rejected is blocked before any setup or import write, and
mapping_approval_rejected returns to rp-mapper for a new plan. mapping_incomplete
(an in-use entity pending with no typed reason) also returns there, whatever was answered,
and after 2 passes the entities are settled as cutover items and the run goes on.source_schema_invalid, mapping_plan_invalid,
setup_plan_invalid, setup_requirements_invalid, execution_manifest_invalid) returns to
its producer with errors: rewrite that file only; after 2 failed rewrites it is blocked.transition --status blocked from a stage (operator only); in a supervised run it is a toolkit gap.missing_completion_report, import_interrupted = a stopped run's aborted report,
quick_mode_import_required) carry importProgress. interrupted lists recoveryArtifacts: resume it,
never a second import. interruptedReport: "missing": first run scripts/interrupted-completion-report.js.If an artifact is malformed, partial, stale, or fails its validator, treat its producing stage as incomplete and route to the producer. Do not make parallel replacement artifacts.
A user action whose reviewed artifacts changed after it was created is refused with
user_action_stale and stays pending. Create a new request from the current artifacts.
Catching up a finished migration is a rerun, not a new project. When the user asks to pull
in records that arrived or changed since the import — "the source kept selling", "these orders
are missing", "re-run it" — reuse the same project, destination, mapping, generated importer
and crosswalk, and route to rp-execute-import → "Rerunning an import for new and modified
records". Do not scaffold a second project or re-approve an unchanged mapping; a
mapping or scope change does go back through the existing gates. A rerun's revision conflicts
are user decisions even in 1-click mode.
| Router situation | Dispatch |
|---|---|
| project, delivery mode, source mode, or grouped intake is unresolved | resources/rp-project-intake/ |
| destination is absent, conflicting, or needs creation/adoption | resources/rp-destination/ |
| source URL/files/config/acquisition mode/credentials are required, including source credentials said to exist already on another site | resources/rp-source-inputs/ |
| deterministic preflight is missing, repaired, or blocked on CLI checks | resources/rp-preflight/ |
| quick mode needs platform resolution, endpoint preflight, plan, extraction, or import | selected resources/rp-quick-<platform>/ |
| source schema is missing | resources/rp-discovery/ and its selected source adapter |
| mapping is missing or needs review | resources/rp-mapper/ |
| Wix requirements are missing | resources/rp-setup-discovery/ |
| import code/review is missing or stale | resources/rp-import-codegen/ |
| setup verification is missing | resources/rp-execute-setup/ |
| backend completion report is missing | resources/rp-execute-import/ |
| frontend-only work, or integrated website handoff/build/gap loop/release receipt is incomplete | resources/rp-website-continuation/ |
| aggregate completion is missing | resources/rp-execution-policy/ |
| aggregate completion exists but the local review publication or current recap is missing | resources/rp-migration-review/ |
The resource named by the route is the complete stage contract. In a non-Codex host it is dispatched as described in "Route before acting"; in a Codex-hosted CLI run the top-level worker follows it directly and must preserve the same stage boundary. Only the active stage loads source-file, secret, scaffolding, or storefront procedures; nothing about an unrelated stage is loaded.
Normal mode asks only for the rights confirmation, a missing required input, a genuinely ambiguous active project, or a mandatory write approval. Ask one question at a time unless a module says otherwise.
When the user says add to expectations: <note> (or an unambiguous natural-language
equivalent), append the note to the active project's EXPECTATIONS.md before continuing.
Use scripts/expectations-ledger.js so the entry retains the supplied statement plus safe
current context (stage/state, relevant project-relative artifacts, and known entity/field
labels). Do not treat this as approval or silently change a mapping. Never record secrets,
tokens, raw customer data, or raw source records; redact them if supplied and say so.
Before writes, preserve the mandatory execution-plan approval gate; read-only discovery, mapping, setup verification, codegen and review happen before it.
When managementImportMode=quick, select the platform adapter only after the deterministic
source probe identifies a compatible platform. Quick mode is a bounded public-data import:
the adapter's versioned quick-mode.json owns its source routes, entity graph, field matrix,
and exclusions. Do not run agentic discovery, mapping, or project-specific code generation for
the quick backend branch. Still run destination setup, application installation, Catalog-V3 and
notification safety checks, execution approval, shared write runtime, crosswalks, and completion
accounting. If no adapter qualifies, persist the unsupported-mode result and ask the user to
select standard mode; never silently fall back. A Shopify or WooCommerce source into a new site runs as one command, scripts/quick-run.js (see resources/rp-quick-runtime/).
Halt only for missing/invalid required input, a manual action with no API, or a systemic
failure/data-loss risk. A halt must persist the code, evidence, owner, and exact unblock
action; never silently stop. A toolkit bug is not a halt: patch the project copy (resources/rp-execute-import/, toolkit bugs).
When explicitly requested by the user, record automationMode=one_click with
source=user and apply the following. A missing mode or a one_click value recorded as
deterministic_inference/prior_artifact is normal interactive mode and must not skip a
checkpoint:
decide --key wixAccount --value <login> or replatform run --wix-account); create the site without confirmation only when it matches the Wix CLI login;inputs/source.*.env; discovery declines
optional plugin data; setup infers the site language. Each default leaves a cutover task;stage: cutover, handoff cutoverTasks) never block a stage. Do not stop
or report a blocker for them; list them in the final summary;approved, decidedBy=agent) at stage entry;
never run auto-approve yourself, and never ask for an approval, even for a setup blocker;management_and_website mode that includes
frontend build, post-build gap analysis, bounded fix loop, and release receipt; when the
user selected facelift at intake, it also includes the separate post-clone facelift review;completed with
completion/migration-completion.json, or blocked with a typed durable blocker.Use the operator's compatible local Node/Yarn shell when recovering from a PATH or tool resolution failure. Machine-specific shell paths belong only in local, git-excluded agent instructions.
Repo-local interactive shell contract: a PATH/tool-resolution failure on first attempt may
mean the command ran under a plain, non-interactive shell that never sourced the operator's
Node/Yarn profile. Resolve the operator's compatible login shell from the local environment or
git-excluded agent instructions, verify that it is executable, and retry the exact same command
through that shell in interactive login mode so the profile that resolves node/yarn/npx
loads. Do not hardcode a machine-specific shell path in this public skill. Only escalate to a
durable blocker if the compatible-shell retry itself fails.
website means frontend only; management_and_website means the integrated backend and
frontend migration. Never hand the integrated migration destination to the frontend skill
or create a second frontend site in that mode.targetSiteType) is created and verified by
rp-destination's coordinator and is never published, unpublished or handed to
wix-headless-replatform; its website and publication remain operator handoff items.wix-headless-replatform is unavailable;
persist a blocker with the exact required runtime capability.CLI.md (opens in a new tab)README.md (opens in a new tab)VERSION (opens in a new tab)console/account.css (opens in a new tab)console/app.css (opens in a new tab)console/app.js (opens in a new tab)console/index.html (opens in a new tab)console/json.css (opens in a new tab)lib/agent-adapters/index.js (opens in a new tab)lib/agent-hold.js (opens in a new tab)lib/agent-usage-limit.js (opens in a new tab)lib/anonymize.js (opens in a new tab)lib/app-page-routing.js (opens in a new tab)lib/app-requirements.js (opens in a new tab)lib/approval-choices.js (opens in a new tab)lib/artifact-freshness.js (opens in a new tab)lib/background-work.js (opens in a new tab)lib/blocked-data-entry.js (opens in a new tab)lib/blocked-data-requests.js (opens in a new tab)lib/business-contact-setup.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wix/skills --plugin wix15 skills in this plugin
/wix-appBuild and review Wix CLI app extensions — dashboard pages, modals, plugins, menu plugins, custom element widgets, Editor React components, site plugins, embedded scripts, context providers, function libraries, lightbox (popup) behavior, page onLoad contexts, backend APIs, backend events, service plugins, data collections, and App Market readiness. Use when building ANY feature or extension for a Wix CLI app or preparing a Wix app for App Market review. Triggers on: add, build, create, implement, help me, dashboard, widget, plugin, backend, API, event, collection, embedded script, service plugin, Editor React component, context provider, function library, onLoad, on page load, checkout, shipping, tax, discount, SPI, CMS, schema, tracking, popup, lightbox, admin panel, menu item, modal, validate, test, verify, register extension, App Market, app review, submission readiness./wix-base44-connectorBuild on and manage the connected Wix site from a Base44 app: discover and call any Wix API (endpoints, request/response shapes, fields), gather site context, route each call to the right identity, and follow curated recipes for admin tasks./wix-design-systemWix Design System component reference. Use when building UI with @wix/design-system, choosing components, checking props and examples, or writing tests with component testkits. Triggers on "what component", "how do I make", "WDS", "show me props", "testkit", "driver", or component names like Button, Card, Modal, Box, Text./wix-docsLook up the Wix API/SDK documentation to confirm an exact endpoint, HTTP method, request/response shape, field, enum, or error before writing Wix code — never guess a Wix API from memory. A lookup is a short flow: find the right page, then read it. Two ways: (1) plain `curl` (zero dependencies) — find a page by **semantic search** (`POST /mcp-docs-search/v1/docs/search`, natural-language `{ search_term, document_type(s) }`, incl. the SKILLS recipe corpus for multi-step workflows) **or by browsing** a docs portal as a menu — a structured, typed, counted browse of the REST, SDK, CLI, Build Apps, and Headless portals (`POST /mcp-docs-search/v1/docs/menu/browse`), or the `.md` menu tree from the `llms.txt` root for any surface — then read the page by appending `.md` to its URL; (2) the Wix MCP doc tools when present. Triggers: look up a Wix API, find the Wix endpoint/method, confirm a Wix request body or field, verify a Wix API shape, explore Wix docs, which Wix API do I call, read a Wix method schema./wix-harmony-editorEdit Wix Harmony sites through an authenticated Harmony editor using Playwright over a local Chrome CDP session. Use for inspecting, changing, saving, and verifying Harmony editor components and layouts, and for copying an existing website's pages into Harmony exactly (see COPY-SITE.md); do not use for Wix Studio, the classic Editor, Dashboard data, or publishing without explicit approval./wix-headlessConnect Wix business services (Stores, Bookings, Donations, CMS, Blog, Events, Forms, and more) to a Wix Headless frontend — infer the needed capabilities, install the apps, seed backend content, and produce an SDK-integration guide. For managed (Wix-hosted) projects it can also build the frontend: scaffold a new site (create) or wire an existing/brought-in design (connect), then build and release. Works across managed, self-managed, and stripe project types. Triggers: set up a Wix Headless backend, add Wix business features to my app, accept donations, build or host a Wix site, connect/implement this design with Wix.Other plugins' skills for the same job