Rp Preflight
WixOfficialPublished by Wix
- Skill
- Review and audit
- Automation and integrations
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
rp-preflight is a diagnostic tool designed to verify the integrity of source and destination configurations prior to starting a migration discovery process. It performs a series of deterministic checks to identify missing credentials or configuration errors, outputting a structured JSON report that guides the orchestration logic. The skill also includes an automated telemetry recovery mechanism that ensures migration events are recorded, handling damaged or missing journals without interrupting the overall migration workflow.
What it does
- Validates source and destination configuration settings and credentials.
- Generates a structured orchestration/preflight.json file containing the validation status.
- Routes users to specific input-gathering skills based on identified configuration gaps.
- Automatically detects and recovers telemetry journal issues to ensure event logging.
- Provides a safety net for migration runs by preventing discovery if preflight checks are blocked.
When to use it
- Use before initiating the discovery phase of a migration project.
- Use when you need to confirm that all necessary source and destination credentials are valid.
- Use to troubleshoot blocked migration runs caused by configuration or environment issues.
- Use to ensure telemetry recording is active and functional before starting a migration.
Advantages
- Prevents migration failures by catching configuration errors early.
- Provides clear routing instructions for resolving specific input or destination issues.
- Automates the recovery of telemetry journals, reducing manual intervention.
- Maintains a consistent, structured output format for automated orchestration.
Usage examples
- “Run the preflight check for the current project directory.”
- The agent executes the preflight script and returns a status of pass, blocked, or failed based on the configuration validation.
- “My migration discovery is blocked, what should I do?”
- The agent runs rp-preflight to identify the specific blocked checks and routes you to the appropriate input-gathering skill.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/wix/rp-preflight-ufti/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip rp-preflight.zip -d .agents/skills
Documentation by Wix
rp-preflight
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 recording line
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.
What preflight does not check
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).
Output
orchestration/preflight.json — the script's structured result (status: pass | blocked | failed plus per-check detail). This is what a dispatched run must produce.
Files
- ATTRIBUTION.mdAdded by AutoGineer836 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md2.7 KiB
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 Node.js
Security
No issues found by our static scan· No issues found
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 · skills/wix-replatform/resources/rp-preflight · 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 or Wix.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download rp-preflight.zip