Skills
Skill 29 of 67
Validates the selected source and destination configuration before discovery.
1 minute · 297 words · 3 sections
Install
npx skills add wix/skills --skill rp-preflightnpx skills add wix/skills/plugin marketplace add wix/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Run the deterministic preflight helper before discovery:
node skills/wix-replatform/scripts/orchestration-preflight.js <projectDir>Use its structured result as authority. When it reports missing source configuration or
credentials, route to rp-source-inputs; when it reports a destination issue, route to
rp-destination. The router applies this to a blocked orchestration/preflight.json
(preflight_blocked names the owner as nextResource and lists blockedChecks), and
returns preflight_source_env_changed to re-run preflight once the blocked source keys
changed. Repairs to other source/destination checks return preflight_inputs_changed;
router polls read only local evidence and dispatch this resource for the actual CLI/session
verification. Do not begin discovery with a blocked preflight.
The result also carries a telemetry_journal check reporting whether this project is
recording: active, absent, finalized_only or unreadable. Its status is always
info, and info never affects the overall verdict — a run with no telemetry journal
still passes preflight and still proceeds.
The check only looks; the script then recovers. When the reading is absent,
finalized_only, or an unreadable journal that replays to no run start, the preflight
script starts recording itself (a damaged journal is first moved aside to
telemetry/events.unreadable-<timestamp>.jsonl, every byte kept). The check keeps the
original journal reading and adds recovery — not_needed, started,
set_aside_and_started or failed — plus recoveredRunId/recoveredAttempt,
setAsideFile or recoveryError. You do not need to act on this line.
recovery: failed never changes the verdict or exit code, and is team-only evidence: do
not relay it to the person running the migration (the rp-telemetry “never mention”
rule). Call rp-telemetry start at run begin as before; preflight is the safety net.
Preflight validates configuration and credentials only; it never reads the destination site’s
settings. The site’s currency, time zone and language are compared with the source store at the
execution plan (rp-execution-policy) and set or confirmed by setup (rp-execute-setup), and the
import gate checks setup’s current file-bound receipt before every task without another site read
(rp-execute-import).
orchestration/preflight.json — the script’s structured result (status: pass | blocked | failed plus per-check detail). This is what a dispatched run must produce.
main, last pushed 8 November 2026.SKILL.md, not by matching a directory convention. 5 distinct layouts observed: skills/*/SKILL.md, skills/wix-headless-replatform/resources/*/SKILL.md, skills/wix-replatform/resources/*/SKILL.md, */SKILL.md, 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 skill at its own .md URL.