Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

wix-headless-kit

БесплатноЗапускает вложенные скриптыНе проверен

Builds new Wix sites or puts the user's own site online, with or without a Wix account. The pages are code in any web technology, and Wix runs the backend…

wixот wix★ 40 звёзд на GitHub

Об этом скилле

Wix Headless Kit

Build a Wix Headless site on shipped, verified code instead of authoring the integration. Each vertical ships the integration itself — a typed data layer, hooks, components, pages, and a seed script that are already correct. On a stack that runs it (Wix-managed Astro, any React project) the code is deployed and the agent's job narrows to brand, layout, copy, and wiring. On a stack that can't run it (a static site with no bundler, a server-rendered app in another language) the same code is the reference: its REST twin deploys for the browser side, and the rules it encodes are what the agent ports. Either way the decisions live in the code; don't re-litigate them.

Scope. Tuned for Wix-managed Astro, and each vertical ships one shape of its solution. Use it as-is when the brief doesn't contradict it. When the brief asks for something that shape doesn't express — or once the site exists and the work turns to managing or extending it — that's wix-docs and wix-manage, not a workaround here.

Choose the flow

  • The site needs business features (a vertical from Verticals), on a new site, on the user's own project or on a site published earlier: the run. Its step 3 reads what the folder holds and names the path for each case, a site dropped earlier included.
  • No business features: pages to put online as they are, the user's files or pages you write for them (HTML, CSS and JavaScript; a framework project is built first and its static output published). With a login, Upload a Website or HTML Files, wix-manage/references/sites/upload-static-site.md, which also changes the site later. With none, Publish a Site Without a Wix Account, wix-manage/references/sites/publish-without-a-wix-account.md: it publishes, hands over the live site and the claim link, publishes changes while the site is unclaimed, and claims it through the link, the Wix MCP or the Wix CLI.
  • Business features and no login: the run needs the user's login. Publish the pages without an account, give the user the claim link, and continue with the run on the claimed site (<SKILL_ROOT>/guides/existing-site.md).

The model

  • Shipped code is the implementation. Every vertical ships in the repository's wix-headless-templates skill (skills/wix-headless-templates/<vertical>/), not in this skill's folder. node <SKILL_ROOT>/install/templates.mjs prints where that skill is: the sibling folder <SKILL_ROOT>/../wix-headless-templates/ when it was installed beside this skill (the cold start installs both; a plugin may not), else a one-time fetch into <SKILL_ROOT>/templates/ (a git clone of the skill's repository, a second); every script below resolves it the same way. Every templates/... path in this document is relative to that printed root — there is no templates/ folder inside this skill when the sibling exists. The folder stays with the project (only the composed project/ scaffolds are left out of its repository), so a later session reads the version the project was built from. Each vertical holds:
    • app/ — the framework-agnostic core (TypeScript): a data layer that returns plain, serializable DTOs (images resolved to https URLs, prices pre-formatted), React hooks, and routing-free headless components. Works in Astro islands, Vite SPAs, and Next.
    • app-astro/ — a thin Astro overlay: SSR pages that fetch via the core and pass DTOs to islands, with owner-editable item-page SEO pre-wired.
    • seed/ — a build-time REST seed script (plain-data plan in, created content out) plus its SEED.md contract.
    • INSTRUCTIONS.md — the vertical's playbook: file map, what you build, hard rules.
    • project/ — the vertical composed into the Wix CLI's blank Astro scaffold, with its lockfile: what wix create copies for a new site, so the first vertical installs without resolving.
  • One auth seam. All shipped code calls Wix through src/wix/sdk.ts: on Wix-managed Astro auth is ambient (no client, no id); on any other React setup the same file runs a manual visitor client off the public client id in src/wix/config.ts. The deploy step configures this — nothing to wire by hand.
  • Data as-is; presentation is yours. The data layer, hooks, and cart chrome are wired as-is — never rewrite their internals, re-route them through API routes, or re-derive a request shape. When the brief needs something they don't express, read the shipped file that owns it and confirm the contract with wix-docs; never infer one from generated SDK types, package files, or node_modules. A normal caller-permitted operation belongs in a new data-layer function. A privileged operation belongs in a validated server endpoint — see templates/shared/CUSTOM_OPERATIONS.md. The presentation doesn't ship: the vertical's INSTRUCTIONS names the surfaces you design and implement yourself on
Полный SKILL.md на GitHub

Установить wix-headless-kit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

guides/capabilities.mdguides/existing-site.mdguides/feedback.mdguides/migration.mdguides/reference-mode.mdguides/seo.mdinstall/AGENTS.mdinstall/agents-md.mjsinstall/attach.mjsinstall/background.mjsinstall/bootstrap.mjsinstall/check.mjsinstall/context.mjsinstall/deploy.mjsinstall/env-ignore.mjsinstall/install.mjsinstall/lock.mjsinstall/pins.jsoninstall/proc.mjsinstall/setup.mjsinstall/templates.mjs

FAQ

Что делает скилл wix-headless-kit?

Builds new Wix sites or puts the user's own site online, with or without a Wix account. The pages are code in any web technology, and Wix runs the backend. Adds working business features from ready-made Wix code: a store, bookings, a blog, members and more. Use when the user wants a site on Wix or wants their site online, or asks for Wix Headless. Managing an existing site's products, bookings or other data belongs to wix-manage.

Как установить скилл wix-headless-kit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл wix-headless-kit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить wix-headless-kit с