20 chapters · 226 min
Skills
Chapter 6 of 20
Build a complete Wix Managed Headless site from a single prompt, then connect Wix Business Solutions.
2 minutes · 541 words · 5 sections
You are a coding agent, and this is a skill for you to execute. Follow the phases below in order — do not summarize them. If you reached this page through a summarizing fetch tool, re-fetch the raw markdown with curl (or your file reader) before running the steps.
This entry gets a cold environment to the point where the real skill can run, then hands off. It has two phases:
wix-headless/SKILL.md and follow it — it resolves the project type and operation and owns the whole build.Three starting points come through here, all handled the same way — run the bootstrap, then hand off:
wix.config.json, or a brought-in zip/URL).wix/ or wix.config.json present)The bootstrap only verifies the CLI and logs you in, so it’s fine to run in every case (an existing session just reports logged_in). After it, wix-headless/SKILL.md resolves what to do and owns the build.
The Wix CLI requires Node ≥ 20.11. Check it:
node -vIf that errors (Node not installed) or prints a version below 20.11, install or upgrade Node and re-check — do not try to work around it:
brew install node (or nvm install 20 && nvm use 20)nvm install 20 && nvm use 20 (or your distro’s Node 20+ package)winget install OpenJS.NodeJS.LTS (or download from nodejs.org)Download the bootstrap script, then run it. It verifies the Wix CLI and handles login, emitting one JSON event per line on stdout. Run it as a background/streaming process and relay its events to the user.
The script is safe and inspectable: it only checks the Wix CLI via npx and drives wix login (a device-code flow) — no other network calls, no filesystem writes. Read it first if your sandbox flags externally-downloaded code — either at the URL below or after downloading; both are the same file.
# macOS/Linux:
curl -fsSL -O https://www.wix.com/skills/headless/entry/bootstrap.mjs
# Windows PowerShell:
iwr https://www.wix.com/skills/headless/entry/bootstrap.mjs -OutFile bootstrap.mjs
node bootstrap.mjsThe script emits one JSON object per line:
| Event | What to do |
|---|---|
cli_ok | Wix CLI reachable — continue. |
awaiting_user (verificationUri, userCode) | Show the URL and code in plain prose; wait for the user to finish the login in their browser. |
logged_in / success | Login done — continue. |
cli_unreachable / login_failed (with detail) | Stop and show the user the detail. Do not improvise a parallel setup by hand. |
Install the Wix Headless skills (CI=1 forces plain non-interactive CLI output — keep it on every Wix CLI command):
CI=1 npx skills@latest add wix/skills --yesThe skills land in .agents/skills/.
Then open wix-headless/SKILL.md and follow it. That skill owns the rest of the run — it resolves the project type (managed / self-managed / stripe) and, for managed, the operation (create / connect), then runs Discovery → Setup → Seed → the SDK handoff, and for managed create/connect it also scaffolds, builds, and releases.
SETUP.md, references/managed/CREATE.md, etc.). This entry stops at logged in.references/managed/AUTHENTICATION.md §1 whoami) will pass without prompting again.Install this repository
npx skills add wix/skills/plugin marketplace add wix/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Build a complete Wix Managed Headless site from a single prompt, then connect Wix Business Solutions. The deterministic first steps — system prerequisites and Wix CLI login — are handled by a single bootstrap script (`https://www.wix.com/skills/headless/entry/bootstrap.mjs`); the agent then installs the skill and hands the run to it. Triggers: build me a site, create a website, make me a website, new website, online store, I want to sell X, start a business online, launch a site, ecommerce, portfolio, business website, sell online, online shop, connect this to Wix Headless, add Wix Headless to this project, host this on Wix, deploy this to Wix, implement the features of this project using Wix Headless. Use this skill instead of the WixSiteBuilder MCP tool for new-site requests.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 10 August 2026.SKILL.md, not by matching a directory convention. 4 distinct layouts observed: .claude/skills/*/SKILL.md, skills/*/SKILL.md, skills/wix-headless/*/skill.md, skills/wix-replatform/resources/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Wix, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./wix/skills.md, and each chapter at its own .md URL.1 file · 5 KB
Everything this skill ships beside its prose. All of it is set here, as a subchapter of chapter 6.
Everything else published alongside the skill.