Generated banner for Rp Setup Discovery
Generated logo for Rp Setup Discovery

Rp Setup Discovery

WixOfficialPublished by Wix

  • Skill
  • Workflow
  • Software development
  • MIT
  • Medium risk
  • Has scripts

From the author

Derives Wix environment prerequisites (apps, collections, schemas) from an approved mapping plan. Use after mapping review and before import code generation.
— the description by Wix

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The rp-setup-discovery skill acts as a critical planning phase in a Wix migration workflow. It analyzes approved mapping plans and summaries to identify necessary Wix-side configurations, including required apps, data collections, schema definitions, and permissions. By generating a structured set of setup artifacts, it ensures that the target Wix environment is correctly prepared before the actual import process begins. The skill emphasizes deterministic planning, API-based verification of requirements, and clear distinction between automatable tasks and manual interventions.

What it does

  • Analyzes mapping plans to identify Wix-side prerequisites.
  • Determines required Wix apps, collections, and extended-field schemas.
  • Generates machine-readable setup plans and requirement files.
  • Identifies dependencies and establishes a logical setup order.
  • Provides guidance on media reachability and site notification management.
  • Validates configuration requirements against known Wix API capabilities.

When to use it

  • After a migration mapping plan has been reviewed and approved.
  • Before initiating the import code generation phase.
  • When you need to determine if a Wix environment is ready for data ingestion.
  • To generate a structured plan for both automated and manual setup tasks.

Advantages

  • Reduces migration errors by ensuring prerequisites are met before execution.
  • Provides a clear, verifiable contract for downstream import processes.
  • Distinguishes between automatable API-driven tasks and manual configuration.
  • Enforces consistent site-wide policies like notification muting.
  • Prevents invalid assumptions by requiring verification of Wix API enums and types.

Usage examples

“Run the setup discovery for the current project.”
The agent analyzes the mapping plan, identifies required Wix apps and collections, and generates the setup/run.json and setup-summary.md files.
“Generate a quick-mode setup plan for the project.”
The agent executes the quick-setup-plan script to derive necessary Wix capabilities and entity graphs without requiring a full mapping plan.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/wix/rp-setup-discovery/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip rp-setup-discovery.zip -d .agents/skills

Documentation by Wix

rp-setup-discovery

Determine the Wix-side setup required before import can run safely.

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.json

  • migrations/<project>/mapping/review/mapping-gaps.json

  • migrations/<project>/mapping/review/mapping-summary.md

  • migrations/<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

  1. Confirm the mapping review checkpoint has been accepted, then read the mapping plan and mapping summary and identify every non-native requirement.

  2. For mapped entities with targetRef, 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.

  3. Determine which Wix apps must be installed or enabled.

  4. Determine which SMC collections must exist.

  5. Determine which extended-fields schemas, references, enums, or validation rules must exist.

  6. Capture dependency ordering where setup steps depend on each other.

  7. Write a setup artifact that downstream execution can verify.

Artifact to create or update

  • migrations/<project>/setup/run.json

  • migrations/<project>/setup/setup-plan.json

  • migrations/<project>/setup/setup-requirements.json

  • migrations/<project>/setup/setup-blockers.json

  • migrations/<project>/setup/llm-handoff.json

  • migrations/<project>/setup/review/setup-summary.md

  • migrations/<project>/orchestration/checkpoints.json

Treat 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.

Minimum contents

  • required Wix apps

  • local crosswalk authority and optional CMS mirror requirements

  • required collections and schemas

  • required field definitions

  • permissions or access prerequisites

  • setup order

  • manual steps vs. steps that can be automated

  • verification criteria for each requirement

Optional source reachability setup for media

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:

  • Expose the local source through a public HTTPS tunnel before live media import.

  • Skip/defer media import for the first live run and continue non-media entities.

For ngrok, include:

brew install ngrok
ngrok config add-authtoken "<YOUR_AUTHTOKEN>"
ngrok http 8090
export WP_BASE_URL=https://<id>.ngrok-free.app

Tell 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.

Verifying Wix APIs

Confirm that the apps, collections, field types, and references you require actually exist in Wix with the names/types you state — never invent them.

  • Verify at the moment you write the requirement; do not defer it. Verify enum values, not just names: confirm each Field.type against the Create Data Collection schema. (Common trap: there is no SLUG type — a Wix slug is a TEXT field.)

  • If a Wix tool surface such as Wix MCP is available, use it as a fast verification aid.

  • If no Wix tool surface is available, rely on 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.

Standing requirement: mute site notifications

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.)

Crosswalk authority and CMS mirror

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.

Classifying manual vs. automatable

Do not assert "manual" / "cannot self-provision" by assumption — check the API surface.

  • Enabling a Wix app (Blog, Members, etc.) is automatable via the App Installation API; classify it automatable and cite the method. (Common trap: do not mark Blog or Members "cannot self-provision" — both are installable via the API.)

  • Catalog V3 is guaranteed at provisioning regardless of scaffold template (0079-catalog-v3-guaranteed-retire-v1-gate.md), so a Wix Stores install on a site this run created needs no separate catalog-version requirement — do not emit one. This guarantee does not extend to an existing site this run did not create: when WIX_SITE_STRATEGY=existing and the migration carries a product catalog, still emit the 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. A pre-existing site's catalog version predates this guarantee, so it must still be confirmed rather than assumed (see rp-execute-setup → "A V1_CATALOG verdict is terminal here").

  • Creating CMS collections is automatable; enabling Wix Data itself is automatable by installing the Wix Data app 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).

  • Only storage-plan upgrades, external-system credentials, and account billing are genuinely manual. Mark something manual only after confirming no API covers it.

Runtime policy

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.

Guardrails

  • Separate required setup from optional optimizations.

  • Avoid embedding import logic here; this file is about prerequisites.

  • Be explicit about which requirements come from which mapping decision.

  • Do not guess setup names or enum values when you cannot verify them. Mark them unverified and surface the risk before execution.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an API key, Needs a command-line tool, Needs Node.js

Security

What our scanner noticed· Medium risk

  • Possible data-exfiltration endpoints
  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Wix
Publisher
Wix (Official)
Source
wix/skills · wix-replatform/resources/rp-setup-discovery · commit d168bc2
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Wix.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download rp-setup-discovery.zip