Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rp-execute-setup

БесплатноЗапускает вложенные скриптыНе проверен

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

wixот wix★ 40 звёзд на GitHub

Об этом скилле

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

Полный SKILL.md на GitHub

Установить rp-execute-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

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

FAQ

Что делает скилл rp-execute-setup?

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.

Как установить скилл rp-execute-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rp-execute-setup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить rp-execute-setup с