Generated banner for Rp Project Context
Generated logo for Rp Project Context

Rp Project Context

WixOfficialPublished by Wix

  • Skill
  • Workflow
  • Automation and integrations
  • MIT
  • No issues found

From the author

Resolve headless mode, scope, Wix project validity, and browser execution readiness.
— the description by Wix

AutoGineer summary

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

This skill acts as a central orchestrator for project setup and environment validation. It ensures that an agent correctly identifies the operational mode (standalone vs. migration), verifies the integrity of Wix project scaffolds, and performs necessary pre-flight checks for browser-based automation. By managing project boundaries and configuration states, it prevents execution errors before they occur.

What it does

  • Determines the operational mode and scope for Wix project tasks.
  • Validates Wix CLI project scaffolds and configuration files.
  • Performs browser extraction pre-flight checks to ensure environment readiness.
  • Manages project dependencies and removes incompatible adapters.
  • Maintains the state of frontend automation via configuration tracking.
  • Handles environment recovery and shell alignment for path-sensitive commands.

When to use it

  • At the start of a new project run to establish the operational context.
  • When the project mode, scope, or browser environment is currently unresolved.
  • Before initiating browser extraction or UI generation tasks.
  • When verifying the validity of an existing migration-owned project.

Advantages

  • Ensures consistent project setup across different execution modes.
  • Reduces runtime failures by validating dependencies and browser access early.
  • Provides a structured approach to handling migration handoffs.
  • Maintains clear state tracking for complex automation workflows.

Usage examples

“Initialize the project context for a new standalone Wix site migration.”
The agent will verify the public URL, set the scope to home, validate the Wix scaffold, and perform a browser pre-flight check.
“Check if the current environment is ready for browser extraction.”
The agent executes the pre-flight script, checks for Chromium and node_modules resolution, and reports if the environment is ready or requires fixes.

Install

  1. Download the skill as a ZIP:

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

    mkdir -p .agents/skills && unzip rp-project-context.zip -d .agents/skills

Documentation by Wix

Project context

Load this resource only when the run's mode, source/scope, output project, approval state, or browser environment is unresolved. It owns setup decisions, not extraction or UI work.

Read references/safety.md and the applicable mode/scope and preflight sections of references/workflow.md. Read references/output-contract.md only when validating the project or automation-state artifact.

Resolve mode and scope

  • Standalone uses the public source URL and requires home scope with no --urls.

  • Migration mode requires --handoff. Read its route families, public URL intent, Wix bindings, slug policy, websiteScope, automationMode, and frontendPhase.allowedNow. The handoff is authoritative.

  • If a handoff requests non-home or explicit-URL reconstruction, stop with the actionable requirement for the future multi-page workflow. One-click mode does not expand scope.

  • In plan phase, write/refresh plan-eligible context and evidence only; do not require a runnable frontend or attempt build/release. In build, validate the existing migration-owned project before proceeding.

Provision or validate the project

For standalone home cloning, provision or verify the exact final output directory before artifact generation or UI writes. It must be a real successful Wix CLI scaffold, not a manual fallback, and contain a valid Wix configuration plus package.json dev and build scripts. Create its empty yarn.lock project boundary up front. If the scaffold uses @wix/astro-wix-hosting-adapter, remove a direct standalone @astrojs/cloudflare dependency before install/build normalization.

For migration mode, reuse the handoff-owned project/site only. If project identity or its runnable contract fails, record the precise failure and recover it; never create a sibling scaffold.

Use clear-wix-starter.mjs after a valid template creates demo files, before clone UI work starts.

Browser preflight and recovery

Before browser extraction run:

node scripts/browser-extraction-preflight.mjs --project-root <project-root>

If needed, first attempt --fix. The host must have normal node_modules resolution, required browser/design dependencies, and Chromium; Yarn Plug'n'Play is not sufficient.

For this repository, run path-sensitive Wix/Yarn commands in interactive zsh with the repo-local NVM toolchain. In a one-click run, retry a shell/PATH mismatch once under that aligned shell. If browser launch or network access is sandbox-blocked, request the required escalation and retry. Only then record a blocker; a pending runtime approval is a real wait, not a reason to ask unrelated routine confirmations.

Write/update frontend-automation-state.json whenever the mode, phase, effective scope, scope checkpoint, or auto-progress policy changes. Return to the root supervisor once the context is durable.

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 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 · wix-headless-replatform/resources/rp-project-context · commit d168bc2
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Also distributed in
wix/skills

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-project-context.zip