Index of every page on this site: llms.txt
All skills
wix avatar

/rp-preflight

@e2bc48e official
by Wix.comwix/skills40 stars
42
Run it yourself

Validates the selected source and destination configuration before discovery.

  • 1 file
  • 2.7 KB
  • Updated last week
  • GitHub
Use this Skill: https://skilld.dev/gh/wix/skills/rp-preflight

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈23 tokens for metadata: the name and description. ≈654 when used: this file.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈92 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e2bc48e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for wix/skills/rp-preflight