Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

rp-execute-setup

FreeRuns bundled scriptsNot checked

Verifies and provisions Wix-side setup required before import. Use after codegen when machine-readable setup artifacts must be validated or executed against…

wixby wix★ 40 GitHub stars

About this skill

rp-execute-setup

Verify that required Wix-side setup exists and is ready for import.

Purpose

This skill validates the prerequisites discovered by rp-setup-discovery. It can also drive the setup work when the environment and permissions allow it.

Required inputs

  • migrations/<project>/setup/setup-plan.json
  • migrations/<project>/setup/setup-requirements.json
  • migrations/<project>/execution/execution-manifest.json
  • migrations/<project>/config/wix.env or equivalent environment values
  • access to the target Wix environment or to exported evidence from that environment

Prefer the machine-readable setup artifacts above. Markdown setup summaries are secondary renderings for humans, not the primary execution contract.

Config

Prefer project-local config over ad hoc shell state. config/wix.env should exist before setup verification/provisioning and contain:

WIX_SITE_STRATEGY=
WIX_SITE_ID=
WIX_AUTH_TOKEN=

WIX_SITE_STRATEGY is always required. WIX_SITE_ID is required before setup verification/provisioning begins. If the strategy is new and no site has been created yet, halt to needs-user and route back to the site-creation step rather than asking for an existing site ID.

Studio/Harmony destinations. A new Editor site is bound only after orchestration/destination.json is verified (actual editor and an unpublished readback). Setup treats it like any new site: mint WIX_AUTH_TOKEN for that WIX_SITE_ID through mint-token.sh, confirm it with a harmless target read before the first write, mute site notifications first (WIX_SITE_STRATEGY=new regardless of site type), and install/verify every required app — never infer installed apps, Catalog version or backend readiness from the editor type or template. Never publish the Editor site; its website and publication remain operator handoff items.

Any Wix app can be installed by a setup step that carries its app id — { "id": "<unique id>", "kind": "installApp", "appDefId": "<app id>" } — with no code change; the named install-wix-* steps are the same call under a name the planner already uses.

On a Harmony site every app is installed through the editor's installation service, not the generic app installer: that installer lists an app but leaves the Harmony editor without the pages the app adds. Each install step reads the site's editor type (then the destination record) and, on Harmony, sends the app's id to the service with the editor switch it needs, then reads the installed-apps list back. An app the service says has no editor part is installed with the generic installer instead. The service installs an app's own dependencies. A small companions table in the writers lists apps an app's widgets need that it does not add (Wix Stores: the rich-text viewer app, installed first). Every other editor keeps the generic install. If the editor installer refuses an app (a page-path conflict, a missing editor component), setup installs that app with the generic installer and reads the list back; its step records route: app-installer and reason: editor_refused, and the owner's "confirm each app's pages" item covers it. An app installed that way is, per Wix, finished by the editor when it opens (not yet confirmed here), so never tell anyone to add its pages by hand (they would be duplicated); have the owner check, after opening the editor, that the app is still on the site's app list, and report pages that are still missing. Only the list read-back, for an app not recorded as unproven, passes a step. Setup cannot read a Harmony page list, so it records appPages: "not-read" and the destination hand-off asks the site owner to confirm each app's pages. The route and the switch are a temporary workaround for an eCommerce feature closed on Harmony: re-check both once it reopens.

An install that Wix has not proven stops setup, and you ask the user. An install call that the service ends with a timeout or a server error, or that drops, after running 25 s or more is sent again by setup itself (three calls in all, the repeat going out about 50 s after the failed call was sent; the install service's own 30 s limit can end a call while the install finishes). An install that still has no answer then, or leaves the app off the installed-apps list, ends the step with APP_INSTALL_OUTCOME_UNCERTAIN or APP_INSTALL_NOT_VERIFIED (a login that expires mid-call is the exception, below). The app may then be missing from Business Manager and the editor even though the site's app list shows it on the editor route (the list says "on the site", never "installed"). On Harmony, setup writes every app down in setup/harmony-app-pages.json (unconfirmed) before it sends the call and clears it only once proven, so any stop leaves it there. Tell the user in plain words what happened and ask whether to retry. Never run setup again on your own. When the user says retry, run setup again: it sends every recorded app to Wix a

Full SKILL.md on GitHub

Install rp-execute-setup in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scripts/execute-setup.jsscripts/mint-token.shscripts/multilingual-setup.js

FAQ

What does the rp-execute-setup skill do?

Verifies and provisions Wix-side setup required before import. Use after codegen when machine-readable setup artifacts must be validated or executed against the target site.

How do I install the rp-execute-setup skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the rp-execute-setup skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare rp-execute-setup with