Wix Headless
WixOfficialPublished by Wix
- Skill
- Tool integration
- Software development
- MIT
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The wix-headless skill acts as an orchestrator for integrating Wix business services (such as Stores, Bookings, and CMS) into a headless frontend architecture. It handles the end-to-end configuration of the Wix backend, including app installation, content seeding, and the generation of a tailored SDK integration guide. Depending on the project type (managed, self-managed, or stripe), the skill can either provide a comprehensive integration guide for the user to implement or, in managed scenarios, actively scaffold, wire, and deploy the frontend project.
What it does
- Infers required Wix capabilities based on user intent and project context.
- Installs necessary Wix apps and seeds backend content automatically.
- Generates a custom SDK integration guide for calling Wix services from the frontend.
- Scaffolds or connects existing frontend projects to Wix for managed hosting.
- Handles project-type-specific authentication and deployment workflows.
- Provides a mechanism to relay feedback to Wix regarding the headless experience.
When to use it
- When you need to integrate Wix business services into a custom-built headless frontend.
- When you want to automate the setup and content seeding of a Wix backend.
- When you are building a new site on Wix infrastructure and need a scaffolded frontend.
- When you have an existing frontend design and need to wire it to Wix business capabilities.
- When working with Stripe Projects and requiring a Wix backend configuration.
Advantages
- Reduces manual configuration by automating app installation and content seeding.
- Provides a clear, actionable SDK integration guide tailored to your specific capabilities.
- Supports multiple project architectures including managed, self-managed, and Stripe-based setups.
- Ensures consistent backend setup by following verified inline recipes.
- Simplifies the transition from design to a functional, Wix-powered headless site.
Usage examples
- “Set up a Wix Headless backend for a store with products and a blog.”
- The skill will install the Stores and Blog apps, seed sample products and posts, and provide an SDK guide for fetching this data in your frontend.
- “I have an existing design; connect it to Wix and host it on their managed infrastructure.”
- The skill will initialize the project, wire the existing UI to the necessary Wix business services, and prepare it for release on Wix.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/wix/wix-headless/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip wix-headless.zip -d .agents/skills
Documentation by Wix
Wix Headless
This skill connects Wix business services to a Wix Headless frontend. Its core job is to configure the Wix backend: infer the needed capabilities, install the Wix apps, seed the backend content, and produce an SDK-integration guide describing how to call Wix from the frontend.
What happens with the frontend depends on the project type and operation:
Backend-only (self-managed, stripe, or a managed "just set up the backend" run) — the skill emits the SDK guide as its final output; the host owns the frontend, build, and hosting.
Managed create / connect — the skill also owns the frontend: it scaffolds a new project (create) or attaches Wix to an existing one (connect), wires it to the backend using that same guide, builds, and releases to Wix. (There is no Designer or template library — the frontend is built ad-hoc to intent.)
On a backend-only run the skill does not own the project scaffolding. When the work needs a frontend, scaffold it according to user intent — framework and structure follow the prompt; the skill's job is the Wix backend plus the emitted SDK guide describing how to call Wix from whatever frontend exists, not choosing or generating the app. This is the norm for a stripe run: the project is provisioned via Stripe Projects (credentials land in
.env— seestripe/AUTHENTICATION.md), the skill configures the backend and emits the guide, and the live site is finalized perstripe/DEPLOYMENT.md— while the frontend is scaffolded and wired to intent, by the host.
Project types
The skill behaves identically across project types except for authentication and deployment, which are isolated in a per-type folder under references/:
| Project type | Hosting | Authentication & deployment live in |
|---|---|---|
managed | Wix infrastructure (maintained by Wix) | references/managed/ |
self-managed | the user's own host (TBD) | references/self-managed/ |
stripe | the user's own host, provisioned via Stripe Projects | references/stripe/ |
Everything else — Discovery, Setup, Seed, the SDK handoff — is project-type-agnostic and refers to "the provided authentication mechanism" rather than any specific method.
Resolving the project type
Resolve the type before Discovery, in this order — stop at the first that decides:
Caller-provided. If the host/caller passed a project type (
managed|self-managed|stripe), use it. An explicit value always wins.Detect from project signals (on disk). Check the working directory (read-only):
stripe—.envcarriesWIX_WIX_CLIENT_ID/WIX_WIX_CLIENT_SECRET/WIX_WIX_METASITE_ID(or the plainWIX_*fallback). This is the Stripe-Projects fingerprint.managed— a Wix CLI project:wix.config.jsonpresent, or a.wix/directory, or@wix/cli/@wix/astroinpackage.json.self-managed— a frontend project on disk (e.g.package.jsonwith a bundler/framework) with neither the Stripe.envfingerprint nor the Wix-CLI markers above.
Detect from user intent. If disk is inconclusive, read the prompt:
managed— "managed", "host on Wix", "Wix-hosted", "deploy to Wix", "wix release".stripe— "stripe projects", "I added Wix via Stripe", a Stripe-Projects context.self-managed— "self-hosted", "my own host", names a non-Wix host, "I'll deploy it myself".
Ask. If signals are absent or conflict, ask the user which type applies — don't guess.
Hold the resolved type in scratch; it selects <TYPE_DIR> (see Path resolution). Note self-managed is TBD — once resolved to it, the auth step will stop with a clear "not wired yet" error.
Resolving the operation (managed only)
create/connect/iterate are managed-only. For managed, resolve the operation by intent first, directory second — never let an empty directory override what the user is asking for. Check iterate first (it's decided by an unambiguous on-disk signal):
iterate→references/managed/CONNECT.md. The project is already connected to Wix — awix.config.json(or.wix/) is already present — and the owner wants to add or change capabilities. Same flow asconnect, but §1 skipsinitand reuses the existingwix.config.json; never re-initan already-connected project.connect→references/managed/CONNECT.md. The user brings a design not yet connected to Wix and wants it wired: a frontend project on disk without awix.config.json, or a brought-in/fetched design (a.zip/folder/file you unzip or read, a design-file URL, a Claude-Design/v0/Lovable export), or language like "connect this / implement this design (… connecting to Wix) / host this on Wix / deploy this to Wix / add Wix Headless to this project". A brought-in or fetched design isconnecteven when the current directory is empty — the design arrives from elsewhere (zip/fetch/URL), so emptiness at trigger time is not a create signal. (CONNECT.mdstep 1 places the brought design into CWD, theninits it.)create→references/managed/CREATE.md. The user wants a new site built from a prompt with nothing brought in — "build me a site / store / blog…", no design file, no project on disk.backend-only— the user only wants the backend configured (no frontend work). → the shared spine + emit the SDK handoff.
For self-managed and stripe, the operation is always backend-only (the host owns the frontend). Only when there is genuinely no brought-in design and no connect language does directory emptiness decide: empty → create; an existing frontend on disk → connect.
Preconditions (the host provides these — we read, never create)
The project type —
managed|self-managed|stripe— provided by the caller, else detected from project signals / user intent (see Project types § "Resolving the project type"), else asked. It selects<TYPE_DIR>(see Path resolution).A Wix metasite + a headless OAuth app exist, and credentials are available — obtained via the project type's
AUTHENTICATION.md. The skill needs a bearer token authorized for the metasite and the metasite id.The user intent — free text describing what Wix should power ("add a store", "blog + contact form", "persist my app's data").
(Optional) the project on disk — read-only, to sharpen brand/capability inference.
If the credentials are absent, the Wix backend isn't reachable — stop with a clear error.
What this skill does
Always open DISCOVERY.md first (it's agnostic — capability/brand/intent inference + the imagery gate, no auth). Then route by project type + operation:
Backend-only (self-managed, stripe, or managed backend-only) — the lean spine:
Discovery (
references/DISCOVERY.md) — infer capabilities + brand + intent + imagery.Setup (
references/SETUP.md) — install the Wix apps those capabilities need.Seed (
references/SEED.md) — create the backend content (+ entity images if imagery is on).Handoff (
references/SDK_HANDOFF.md) — after Setup and Seed, emit the integration guide: SDK bootstrap, per-capability call shapes, the seeded IDs, and the@wix/*package list.Finalize deployment (
<TYPE_DIR>/DEPLOYMENT.md) — run the project-type's finalize steps.
Throughout any run — if the user asks to send feedback to Wix, complains/gets frustrated, or the
run hits any real friction (a confusing error, a doc gap, a tooling dead end, a workaround you had to
invent — it doesn't need to repeat), offer to relay it to Wix per references/FEEDBACK.md. Default
to offering rather than waiting to be asked. Every flow's finalize step (<TYPE_DIR>/DEPLOYMENT.md /
managed/CREATE.md / managed/CONNECT.md) ends with the same checkpoint — treat it as a required
self-check, not optional. Send only after an explicit yes — never automatically.
Managed create / connect / iterate — after Discovery, hand the whole run to the managed flow:
create →
references/managed/CREATE.md(scaffold → Setup → Seed → build the frontend → release).connect →
references/managed/CONNECT.md(init → Setup → Seed → wire the existing UI → release).iterate →
references/managed/CONNECT.md— the project is already connected, so it reuses the existingwix.config.json(noinit). Setup / Seed / wiring are incremental: it may already be set up and seeded from a prior run, so the agent checks current state first (installed apps, already-seeded content, existing wiring) and applies only the delta the new intent needs — never blindly re-installing or re-seeding. Re-release only if the frontend build output changed. These reuse the sameSETUP.md/SEED.md/SDK_HANDOFF.md, but apply the SDK guide to build/wire the frontend themselves rather than emitting it, and release viamanaged/DEPLOYMENT.md.
Each Wix call uses the universal call shape (SETUP.md §1) with $TOKEN/$SITE_ID obtained per <TYPE_DIR>/AUTHENTICATION.md. The skill runs non-interactively except for the one imagery question (and asking the project type if it can't be resolved).
Don't smoke-test the frontend locally unless the user asks to verify. The deliverable is the built-and-released site (managed) or the SDK guide (backend-only) — not a local test report. By default do not start a dev server (
wix dev/astro dev/npm run dev) to curl pages, drive the cart / booking / login flow, or launch a headless browser: correctness comes from following the recipes, real errors surface atwix build/wix release, and a headless run can't complete an interactive login or a real payment anyway — so these loops routinely burn minutes of wall for little signal (this is distinct from, and in addition to, the "release once at the very end" rule — that one only bans extra build+release cycles, not dev-server testing). Only spin up a dev server and smoke-test when the user's prompt explicitly asks to verify / test / confirm it works — and then keep it to a single lightweight pass (pages compile and render), not a full purchase/booking/login drive. The one post-release check in<TYPE_DIR>/DEPLOYMENT.mdis the sanctioned verification.
Donations exception to the smoke-test policy above: for a build that accepts donations, follow
the bounded anonymous API handoff check in references/inline-recipes/how-to-code-donations.md
before claiming it works. It does not authorize a payment or campaign mutation, and does not require
a dev-server testing loop. That recipe also defines the separate hosted-checkout and payment checks.
Path resolution
Compute <SKILL_ROOT> from this file (<SKILL_ROOT>/SKILL.md — strip /SKILL.md); hold the absolute path in scratch. Then resolve the project type to its folder and hold it too:
<TYPE_DIR>=<SKILL_ROOT>/references/<projectType>/— one ofmanaged/,self-managed/,stripe/.
| What | Path |
|---|---|
| Vertical index (intent matching + per-vertical site spec) | <SKILL_ROOT>/references/CAPABILITIES.md |
| Discovery (infer capabilities + brand + intent; existing site → the Dynamic Context call in §1) | <SKILL_ROOT>/references/DISCOVERY.md |
| Setup (install apps) | <SKILL_ROOT>/references/SETUP.md |
| Seed (create backend content) | <SKILL_ROOT>/references/SEED.md |
| SDK-integration handoff (emitted, or applied by create/connect) | <SKILL_ROOT>/references/SDK_HANDOFF.md |
| Image generation (opt-in; agnostic) | <SKILL_ROOT>/references/IMAGE_GENERATION.md |
| Design — fallback visual quality bar for the built frontend, when the user gave no design direction of their own (managed create only) | <SKILL_ROOT>/references/DESIGN.md |
| Content — fallback copy quality bar for the built frontend, when the user gave no copy/voice direction of their own (managed create only) | <SKILL_ROOT>/references/CONTENT.md |
| Experience overlays — a vertical's own design + copy bar on top of DESIGN/CONTENT (optional per vertical; read when that vertical is loaded) | <SKILL_ROOT>/references/inline-recipes/experience-<vertical>.md (today: experience-store.md, experience-donations.md) |
| AI features — text/chat + embeddings (opt-in; agnostic) | <SKILL_ROOT>/references/AI_FEATURES.md |
| Feedback — relay the user's headless-experience feedback to Wix (opt-in; user-approved) | <SKILL_ROOT>/references/FEEDBACK.md |
Authentication — obtain $TOKEN/$SITE_ID/clientId (project-type-specific) | <TYPE_DIR>/AUTHENTICATION.md |
| Deployment — finalize the live site (project-type-specific) | <TYPE_DIR>/DEPLOYMENT.md |
| Managed create flow (scaffold a new project) | <SKILL_ROOT>/references/managed/CREATE.md |
| Managed connect flow (wire an existing project) | <SKILL_ROOT>/references/managed/CONNECT.md |
| Frontend-axis references (how a frontend wires to Wix) | <SKILL_ROOT>/references/astro.md, non-astro.md |
Start a run by opening DISCOVERY.md. The flow files (CAPABILITIES, DISCOVERY, SETUP, SEED, SDK_HANDOFF, IMAGE_GENERATION, AI_FEATURES) are project-type-agnostic; the per-type specifics live under <TYPE_DIR>/ (AUTHENTICATION.md, DEPLOYMENT.md, and — managed only — CREATE.md/CONNECT.md).
Where the how comes from
This skill has no skill upstream — the how is read from the live Wix docs at dev.wix.com/docs. Read-priority: a page this skill links is read by curl-ing its .md twin directly (first priority — don't re-discover a curated link with search); the Wix MCP doc/search tools are second priority, for finding pages the skill doesn't link or as a fallback if a fetch fails. (Append .md to any docs URL for raw markdown; menu pages list child links, content pages carry the schema.)
Doc discovery is the shared fallback for both tracks — never the first move. Each track's primary source is its pinned material (below); when that doesn't cover what you need, fall back to references/DOC_DISCOVERY.md — a semantic doc-search + schema lookup that works with or without the Wix MCP.
Seed reads each capability's create flow from its inline recipe — a self-contained local
inline-recipes/setup-*.md(mapped per capability inSEED.md§ "What to seed per capability") that inlines the calls and supersedes the REST doc pages, so read it and seed from it alone. Only a capability with no inline recipe (e.g.coupons) falls back to doc discovery (DOC_DISCOVERY.md).Handoff links the SDK docs for each capability's API shape, and supplies the runtime package set from the inlined map in
SDK_HANDOFF.md(the SDK.mdpages don't expose@wix/*import strings to navigation, so packages are mapped, not navigated).
Setup carries its app-install call (and the appDefId constants) inline in SETUP.md; CAPABILITIES.md is the vertical index that lets Discovery match intent and declares, per built vertical, the Required site features + Implementation checklist that Seed enables (backend-backed features) and the Handoff carries into the guide (so the host builds a complete site, not a bare data dump). This skill carries the what (which capabilities, how much content, what a finished site includes) and reads the how off the docs.
Files
- ATTRIBUTION.mdAdded by AutoGineer811 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md16.0 KiB
- references/AI_FEATURES.md10.3 KiB
- references/CAPABILITIES.md20.6 KiB
- references/CONTENT.md3.8 KiB
- references/DESIGN.md5.3 KiB
- references/DISCOVERY.md8.2 KiB
- references/DOC_DISCOVERY.md2.5 KiB
- references/FEEDBACK.md8.0 KiB
- references/IMAGE_GENERATION.md7.3 KiB
- references/SDK_HANDOFF.md22.5 KiB
- references/SEED.md21.6 KiB
- references/SETUP.md5.1 KiB
- references/astro.md17.3 KiB
- references/inline-recipes/experience-donations.md8.0 KiB
- references/inline-recipes/experience-store.md8.2 KiB
- references/inline-recipes/how-to-code-a-blog.md18.8 KiB
- references/inline-recipes/how-to-code-a-store.md52.6 KiB
- references/inline-recipes/how-to-code-bookings.md28.2 KiB
- references/inline-recipes/how-to-code-cms.md15.3 KiB
- references/inline-recipes/how-to-code-donations.md10.9 KiB
- references/inline-recipes/how-to-code-events.md21.4 KiB
- references/inline-recipes/how-to-code-forms.md43.7 KiB
- references/inline-recipes/how-to-code-members-astro.md11.7 KiB
- references/inline-recipes/how-to-code-members-custom-login.md15.0 KiB
- references/inline-recipes/how-to-code-members-non-astro.md12.4 KiB
- references/inline-recipes/how-to-code-portfolio.md11.7 KiB
- references/inline-recipes/how-to-code-pricing-plans.md18.3 KiB
- references/inline-recipes/how-to-code-rentals.md19.6 KiB
- references/inline-recipes/how-to-code-restaurant-orders.md16.8 KiB
- references/inline-recipes/how-to-code-restaurant-reservations.md19.0 KiB
- references/inline-recipes/how-to-code-restaurants.md11.9 KiB
- references/inline-recipes/setup-blog.md14.2 KiB
- references/inline-recipes/setup-bookings.md19.8 KiB
- references/inline-recipes/setup-cms.md20.5 KiB
- references/inline-recipes/setup-donations.md981 B
- references/inline-recipes/setup-events.md14.1 KiB
- references/inline-recipes/setup-forms.md18.7 KiB
- references/inline-recipes/setup-online-store.md17.0 KiB
- references/inline-recipes/setup-portfolio.md13.2 KiB
- references/inline-recipes/setup-pricing-plans.md17.1 KiB
- references/inline-recipes/setup-rentals.md24.6 KiB
- references/inline-recipes/setup-restaurant-experiences.md7.6 KiB
- references/inline-recipes/setup-restaurant-orders.md19.7 KiB
- references/inline-recipes/setup-restaurant-reservations.md11.6 KiB
- references/inline-recipes/setup-restaurants.md12.7 KiB
- references/managed/AUTHENTICATION.md4.2 KiB
- references/managed/CONNECT.md5.6 KiB
- references/managed/CREATE.md9.9 KiB
- references/managed/DEPLOYMENT.md8.5 KiB
- references/non-astro.md10.4 KiB
- references/self-managed/AUTHENTICATION.md1.2 KiB
- references/self-managed/DEPLOYMENT.md1.1 KiB
- references/stripe/AUTHENTICATION.md4.2 KiB
- references/stripe/DEPLOYMENT.md5.3 KiB
- scripts/bootstrap.mjsScript6.2 KiB
references/SEED.md
Seed — create the backend content
For each resolved capability, create the backend content its what names. This file carries only the what (entities, counts, policy) and points at each capability's inline recipe for the API how. No endpoints, payloads, field templates, caps, or batching mechanics live here — those are inlined in the per-capability recipe (inline-recipes/setup-*.md, mapped in §2); read them there.
Use $TOKEN / $SITE_ID from the provided authentication mechanism (see <TYPE_DIR>/AUTHENTICATION.md). The capabilities are independent — no cross-capability ordering or shared data (two exceptions: (a) pricing-plans depends on bookings' service IDs, so seed bookings before pricing-plans; (b) restaurants online ordering depends on the restaurants menu — the ordering add-on binds each menu to an operation, so the menu must be seeded before ordering — both in §2). For each one: read its inline recipe (§1; §2 maps each capability to its setup-*.md), build the body from intent.<cap> + brand, execute against wixapis.com with the universal call shape (Bearer $TOKEN + wix-site-id — see SETUP.md §1), and collect the created IDs into a seeded map keyed by capability.
Cleaning up install sample data is fine on a fresh install — but never delete real content without approval. Some recipes start by removing the app install's default sample/mock data (e.g. a demo "Dinner Menu", a "My Portfolio" collection, sample products). That is safe when you just installed the app and what's present is obviously the install's own sample/demo content. But the site may already hold real content (an iterate/connect re-run, or a site the owner has populated) — if what's there isn't obviously install sample data, or you're unsure, do not delete it: ask the user for approval first. Seeding is otherwise additive — create the requested content alongside what's there; deleting or overwriting existing products / collections / menus / forms / projects / media is destructive and needs the user's explicit ask or approval.
Concurrency is an optional optimization, never a requirement. Seeding the capabilities one after another always works — that is the safe default, and an agent doing everything itself simply seeds each in turn. Because the capabilities are independent (above), if your runtime can run work concurrently you may seed several at the same time to save wall-clock. Treat this strictly as "you may," never "you must": a correct seed must never depend on parallelism.
These constraints hold whether you seed serially or concurrently:
Bookings before pricing-plans. The plan→service coverage step needs the created service IDs, so keep the two in order and seed them together.
Restaurants menu before its online ordering. The ordering add-on (
setup-restaurant-orders.md) verifies/reshapes the auto-provisioned ordering setup for each menu. Installing the Orders app auto-enables ordering for menus that exist and for menus created after install, so ordering binds either way — but seed the menu first, then the ordering, as one unit, so the verify step has a menu to confirm against. If you split this work off to run concurrently, hand over the seededmenuIds and seed menus-then-ordering together.Intra-recipe serial rules stay. Store categories are created one at a time (they share the
@wix/storestree revision; concurrent creates409), and pricing-plans' sub-steps stay ordered.Read a capability's recipe only if you're going to seed it yourself; if that capability is seeded as a separate concurrent unit, that unit reads the recipe — you don't. Don't read all the seed recipes into your own context and then hand the work off — that loads each recipe twice (once wasted) and bloats working memory. Read-if-you-seed applies equally to the do-it-all-yourself path (read each recipe once, when you seed that capability) and the split-off path (only the unit that seeds a capability reads its recipe).
1 · Where the how comes from — the inline recipes
Each built capability's create flow lives in a local recipe at inline-recipes/setup-<capability>.md (§2 maps each capability to its file). Most inline their endpoints and bodies; Donations delegates to the shared management recipe to avoid a second maintained contract. Open the mapped recipe and follow its local references; do not rediscover covered calls. Read a recipe once per run — if you already opened it while planning, proceed from what you have — and only read a capability's recipe if you're going to seed it yourself (a separate concurrent unit reads its own; see the concurrency note above).
For a capability with no inline recipe (e.g. coupons), or for a field/error/endpoint a recipe doesn't cover, DOC_DISCOVERY.md is the fallback — never the first move.
Two cautions apply to every capability regardless of recipe:
Public host, not
/_api/. Some method pages show an internalhttps://www.wixapis.com/_api/<service>/...URL in the schema header while the examples use the barehttps://www.wixapis.com/<service>/.... Always call the public (non-/_api/) form — that's the external/headless endpoint; the/_api/prefix is internal and may be rejected.
Imagery is opt-in. When
imageryis off (the default), create entities text-only — omit image fields or use the placeholder the recipe documents; don't source imagery. Whenimageryis on, still create the entities text-first here, then attach generated images in the "Entity images" step below. This applies to every vertical, stores included — there is no per-vertical exception.
2 · What to seed per capability
Each entry states only the entities, where their count/content comes from, the policy that is genuinely the skill's call, the IDs to keep, and which inline recipe carries the calls — read that local recipe and any shared recipe it delegates to for everything else.
donations — Donation campaigns. Recipe:
setup-donations.md. Read existing campaigns first; do not seed for a frontend-only request. For an authorized new setup, useintent.donations.campaignsand the shared recipe's constraints. Keep created IDs transiently for readback and cover-image attachment; campaigns are discovered live in the frontend. Goals, deadlines and impact claims require supplied/approved content; payment readiness is separate from campaign creation.stores — A product catalog. Recipe:
setup-online-store.md.intent.stores.productCountproducts whose names/prices fitbrand. Ifintent.stores.categoriesNamedis non-empty, create exactly those categories and assign products into them; if empty, create none (skill policy — overrides any docs default). Variant cardinality — keep it small by default: unlessintent.storescalls for specific options, give each product at most one option with ≤3 choices (so ≤3 variants/product); many products legitimately have no options (a single variant). Seeding cost scales with the variant Cartesian product and the field count per variant, so don't manufacture options the brief doesn't need — but honor a larger/explicit option set when intent names one (this default is a floor, not a cap). Text-only by default (images only whenimageryis on — §1, §4). Keep (seed-time only):categoryIds[]to assign products into their categories; nothing goes to the handoff — the frontend lists products and categories live (queryProducts/searchProducts/queryCategories), so owner-added products/categories appear with no code change.blog — Initial posts. Recipe:
setup-blog.md.intent.blog.postCountposts onintent.blog.topics(or brand-derived topics). Text-only (no covers). Keep: nothing for the handoff — posts are discovered live (queryPosts,[...slug]routes). Track created post ids only transiently (to confirm success / assign categories).cms — Content collections. Recipe:
setup-cms.md. One collection perintent.cms.collectionsentry;itemCountitems each, content frombrand. Collections are public-read (visitor reads on the frontend) by default. (Opt-in, members only) if the brief calls for per-user-private or member-only data and members login is in the run, seed that collection member-scoped instead (per-user or member-only — seesetup-cms.md); a per-user collection is seeded empty (members populate it), since admin-seeded rows are owned by the admin. Keep (→ handoff):collectionIds{<name>}+ each collection's field keys — this is structural (the frontend must know the collection name and its fields to query and bind; it doesn't change when an owner adds a row).itemIds{<name>:[]}only transiently, for wiring multi-references during seeding.forms — Visitor-fillable forms. Recipe:
setup-forms.md. One form perintent.forms.formsentry; fields from the entry,purposenames the form. Keep (→ handoff):formIds[]+ each form's fieldtargetkeys — structural (the frontend binds each input'sname= target to submit; targets are immutable, so they don't go stale when an owner relabels a field).events — A ticketed or RSVP occasion, or upcoming events. Recipe:
setup-events.md. Each event is eitherTICKETING(paid — it has ticket tiers) orRSVP(free — the registration form is built-in, so don't seed form fields) per intent. For an RSVP occasion (a wedding, party, gathering): one RSVP event with the occasion's real details (title, a future date/time, location). For a ticketed event: the event plus its ticket tiers (default a single"General Admission"tier if none named). For a listing site:intent.events.eventCountevents with brand-appropriate titles and future start dates (a default location/timezone is fine). Text-only. Keep: nothing for the handoff — events and tiers are discovered live (queryEvents,getEventBySlug,queryAvailableTickets); trackeventIds/ticketDefinitionIdsonly transiently.bookings — Bookable services. Recipe:
setup-bookings.md.intent.bookings.serviceCountservices (name + short description fittingbrand, a simple duration and price); keep the schedule minimal. Keep:serviceIds[]as seed-time state (pricing-plans' coverage step keys on them, below); nothing for the handoff — services are discovered live (queryServices).rentals — Rentable resources. Recipe:
setup-rentals.md. A resource type per kind of thing rented (rooms, vans, cameras), thenintent.rentals.resourceCountresources inside it (Room A / Room B — parallel capacity comes from more resources, not higher capacity), thenintent.rentals.serviceCountrental services, each carrying the Wix RentalsappId,serviceResourcesnaming its resource type, aprimaryResourceType, and adurationRange(HOURorDAY) with the min/max the request implies — defaulting to 60/480 minutes hourly and 1/5 days daily when the brief doesn't say — and a per-unit price. No category — unlike bookings, rental services don't use one; don't create or assign one. Order is load-bearing: resource type → resources → services — a service whose resource type holds no resources has permanently empty availability. Seed resources 24/7 (no working-hours schedule) unless the request names opening hours; that keeps a multi-day rental to a single booking. Keep:resourceTypeIds[]as seed-time state (services key on them); nothing for the handoff — rentals are discovered live (queryServicesByFiltersfiltered by the rentalsappId).pricing-plans — Membership tiers. Recipe:
setup-pricing-plans.md.intent.pricing-plans.planCountrecurring plans (name, price, a monthly billing cycle) fittingbrand. When bookings is also in this run and the intent is a membership that covers services (a studio/gym/class pass), also attach the covered bookings services to the plan — seed the bookings services first, since coverage keys on their service ids (see the recipe). Keep: the bookings coverage only transiently, to wire it during seeding; nothing for the handoff — plans are discovered live (queryPlans) and plan→service coverage is read live at checkout, never from a frozen map (seehow-to-code-pricing-plans.md).restaurants — A menu. Recipe:
setup-restaurants.md(add-ons have their own recipes, below). Create theitemCountitems per section first (name, description, price fittingbrand), then theintent.restaurants.sectionsreferencing those item ids, then the menu referencing the section ids — items → sections → menu (build bottom-up: a section is created with itsitemIds, a menu with itssectionIds, so each child must exist before its parent — seesetup-restaurants.mdSTEP 1–3). Text-only. Keep (seed-time only):menuId,sectionIds[],itemIds[]to build the tree; nothing goes to the handoff — the frontend reads menus live (listMenus/listSections/listItems). Online ordering (add-on, on demand) — only when the request calls for ordering (not just a displayed menu): install the Orders app (perSETUP.md§2) and followsetup-restaurant-orders.md; seed the menu FIRST, then ordering, in the same unit (ordering auto-provisions per menu either way — see the concurrency note above — but keeping them one unit gives the ordering verify a menu to confirm against). Configure the business-location address (setup-restaurant-orders.mdSTEP 0) — required for ordering to work end-to-end; without it Wix limits ordering to "testing only" and checkout breaks. If the brief gives no address, set a placeholder and flag the owner in the handoff. Completing a paid order additionally needs premium + a payment method (dashboard/premium — surface, don't fail). Keep: nothing for the handoff — read live (listOperations/listFulfillmentMethods); trackoperationId/fulfillmentMethodIds[]transiently. Table reservations (add-on, on demand, INDEPENDENT of ordering/menu) — only when the request calls for reservations: install the Table Reservations app (perSETUP.md§2) and followsetup-restaurant-reservations.md; no menu dependency (reservations bind to a location, not a menu — do NOT apply the menu-first rule) and nothing to bulk-seed (visitors create reservations at runtime); configure the business-location address (setup-restaurant-reservations.mdSTEP 0) — the reservation location is the site's business location, so set a real address (placeholder + owner flag if the brief names none; shared with ordering if both are present); enabling online reservations is premium-gated (record the precondition, don't fail). Keep: nothing for the handoff — read live (listReservationLocations); trackreservationLocationIdtransiently. Experiences (add-on within Table Reservations, on demand) — only when the request names special dining occasions guests reserve (chef's table, tasting menu, tasting-menu evening — an experience, not abookingsservice; seeCAPABILITIES.md): they need the Table Reservations app (no extra install) and a configured business-location address (setup-restaurant-reservations.mdSTEP 0, same as reservations) and, unlike plain reservations, they are seeded — create one Experience per named occasion on the default reservation location, followingsetup-restaurant-experiences.md. Booking an experience is premium-gated like online reservations (record the precondition, don't fail). Keep: nothing for the handoff — experiences are read live (queryExperiences); trackexperienceId(s) transiently.portfolio — A project showcase. Recipe:
setup-portfolio.md. Create theintent.portfolio.collections(title + short description fittingbrand), thenintent.portfolio.projectCountprojects assigned to them — collections before projects (a project'scollectionIdsmust hold real collection ids; see the recipe). Text-only by default (omitcoverImage; images only whenimageryis on — §1, §4). Keep (seed-time only):collectionIds{<name>}to assign projects into their collections; nothing goes to the handoff — the frontend lists collections and projects live (collections.queryCollections/projects.queryProjects), so owner-added content appears with no code change.
Cross-cutting (on demand).
couponsis not a standalone capability (CAPABILITIES.md§ "Cross-cutting capabilities") — there's no app to install and it's not inverticals[]. If intent calls for discounts and a parent vertical (stores / bookings / events / pricing-plans) is in this run, create coupons scoped to that parent and add the coupon to theseededmap (seeded.coupons = { couponIds[] }). Coupons has no inline recipe — read the create shape from the docs (DOC_DISCOVERY.mdis the fallback): every coupon needs a scope with a namespace and its parent vertical's app installed (https://dev.wix.com/docs/api-reference/business-solutions/coupons/about-wix-coupons.md), and the create-coupon spec needs name/code/start + a scope namespace + exactly one coupon-type field (https://dev.wix.com/docs/api-reference/business-solutions/coupons/coupons/create-a-coupon.md). eCommerce needs no seeding — it's the runtime checkout layer that rides along.
members — nothing to seed. Member login is the identity layer (
CAPABILITIES.md): members self-register through the Wix login page, so there is no member to create at seed time and nothing lands inseeded. The frontend wiring is thehow-to-code-members-*.mdrecipes (pick perSDK_HANDOFF.md), surfaced via the Handoff. Optionally — and only if a run's prompt explicitly asks to exercise the pricing-plans purchase path end-to-end — seed one test member; keep this off by default so headless runs stay deterministic and don't stall on an interactive login. Do not seed a member just because pricing-plans is present.
Simple seeds (experiment). For these newer capabilities, create the minimum that demonstrates the shape — a couple of entities with required fields only. The recipe (§2) says which fields are required — stop there; don't seed optional structure (variants, multi-session schedules, perks) the host's app won't exercise.
3 · Enable the backend-backed required features
A capability's Required site features (references/CAPABILITIES.md) are part of a complete site, and some of them need a backend feature switched on — not just content created. The clearest case — only when the brief asks for it — is blog comments (readers commenting on posts): comments are intent-gated, not a baseline blog feature (CAPABILITIES.md blog entry), but when requested they need their backend feature available. For each loaded capability, check its Required site features:
If one depends on a backend feature that isn't on by default, enable it via the method its recipe documents (or
DOC_DISCOVERY.mdif the recipe doesn't cover it).If it's already on by default, there's nothing to seed — but record it as available so the Handoff tells the host to surface it.
If it genuinely can't be enabled, note that, so the Handoff doesn't imply the site is complete.
Don't silently skip a required feature — a bare list-and-detail with none of its required features is the "half-built site" this is meant to prevent. (Purely presentational items — showing the author, the date — need no backend and belong to the Handoff's Implementation checklist, not here.)
4 · Entity images (opt-in)
Only if imagery is on (from DISCOVERY.md). For each seeded image-bearing capability — stores products, blog covers, CMS items, bookings services, rental services, restaurant items, portfolio projects + collection covers, event heroes — generate a brand-contextual image per entity and attach it as a required pass-2 step (the seeder created the entity text-first in §2; this writes the image onto it), following references/IMAGE_GENERATION.md (generate → import to Wix Media → attach). The per-entity attach shape lives in that capability's own seed recipe (setup-<capability>.md), next to its create shape — read it there; IMAGE_GENERATION.md §3 is a navigation table (entity → recipe → step) that carries no shapes. Use the IDs already in the seeded map. Image failures never block — skip and continue (the entity stays text-only). When imagery is off, skip this step entirely.
Aggregate
Hold a seeded map in scratch — seeded[<capability>] = { …kept IDs… } — as seed-time working state (it feeds intra-seed steps like image attach in §4 and cross-capability wiring like pricing-plans coverage). What crosses into the handoff is only the schema carve-outs, not the per-item content ids: cms collectionId + field keys, and forms formId + field targets (see SDK_HANDOFF.md §4). Everything else the frontend rediscovers with a live query, so it need not be surfaced — carrying a per-item id/slug list into the handoff only tempts the host to hardcode it. Whether to also write a sidecar file is a host-preference choice (default: return-only, in the handoff message).
On a per-capability error, keep the other capabilities' results and surface the failing REST-call response verbatim; partial state is fine — a targeted re-run is bounded.
Proceed to Handoff
With seeded populated, continue to SDK_HANDOFF.md to produce the document the host wires from.
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
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
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-headless · 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.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download wix-headless.zip