All skills
wix avatar

/wix-headless-replatform

@6ce1ace official
by Wix.comwix/skills33 stars
33

Clone, rebuild, migrate, or reverse-engineer a public website home page into a Wix Headless frontend while preserving source identity, SEO, interactions, and visual fidelity.

Use this Skill: https://skilld.dev/gh/wix/skills/wix-headless-replatform

This session only. Nothing lands on disk.

referencesui-normalization-contract.md

≈723 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Identity-Preserving UI Normalization Contract

Use this contract after page sections and interaction scenes are extracted. It improves implementation quality inside the source design; it is not a redesign step.

Priority

Identity locks always outrank best-practice rules. Preserve:

  • source content and section order;
  • section kind/variant and layout archetype;
  • source palette, typography, imagery, and media;
  • CTA hierarchy;
  • interaction primitive and state model.

Allowed normalization includes local spacing/alignment, repeated-item consistency, responsive reflow inside the same archetype, subtle hover/focus feedback, eased state transitions, accessibility, and reduced motion.

Generated handoff

ui-normalization.json is the machine-readable source of truth. ui-normalization.md is its compact implementation view. Load the neutral primitives once:

<link rel="stylesheet" href="/site-clone/rp-ui-normalize.css">

Each section must use its exact data-rp-section and data-rp-layout markers. Repeated components use data-rp-item, data-rp-media, data-rp-body, and data-rp-action as declared. Use data-rp-motion="micro" for hover/focus feedback and data-rp-motion="state" for click/activation transitions.

Repeated cards

When source evidence says peer cards share a height:

  • set data-rp-equal-height="true" on the collection;
  • set --rp-item-block-size to the extracted shared height;
  • allow active state to change inline size but not block size unless evidence says it does;
  • reserve a stable media region and let the body fill remaining space;
  • align equivalent actions to the same block edge;
  • keep rail overflow local to its viewport.

Do not solve long content by hiding source text. Reflow or adjust internal regions while keeping peer geometry and content intact.

Motion hierarchy

Hover and focus are micro-interactions. Prefer color, shadow, opacity, or a small transform; do not unexpectedly reflow siblings. Click and activation may expand a card, reveal a panel, or scroll only when the interaction contract requires it.

Captured transition timing overrides defaults. Without captured timing, micro motion uses 140–240ms and state motion uses 240–600ms with eased timing. Rapid actions may cancel an animation, but final semantic state, focus, and content must remain correct. A prefers-reduced-motion rule must expose that final state without non-essential interpolation.

Verification

verify-interactions.mjs reads the normalization contract when present. Its report checks:

  • section markers;
  • page-level horizontal overflow;
  • reduced-motion CSS availability;
  • declared repeated-item height spread;
  • whether activation preserves block size.
  • whether hover preserves peer layout and marked motion uses non-zero easing.

Fix every failed normalization check before reporting completion.

Source: SKILL.md on GitHub

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill facilitates the migration of public websites to the Wix Headless platform. It uses browser automation to extract design and content, then generates a local Wix CLI project. It includes robust security measures such as content boundaries to prevent script injection and redacts sensitive data (cookies, tokens) during the extraction process. Network operations are restricted to the vendor's official domains and standard package registries.

  • Socket1mo

    3 alerts: gptAnomaly

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 6ce1ace. 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 month

README badge

README badge for wix/skills/wix-headless-replatform