Command Palette

Search for a command to run...

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

wix-studio-two

БесплатноБез исполняемых скриптовНе проверен

Create a Wix Studio Two site, including a new site the user calls Wix Studio, Studio Two or Studio 2, or build on an existing one by chat, with no local setup…

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

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

Build and edit a Wix Studio Two site on a remote Dev Machine

You are the coding agent. The site's code lives on a remote Dev Machine: a cloud sandbox with the site's files, a shell, Node and the Wix CLI. You read, write and run things there yourself, through one API that runs a shell command on the machine. There is no other agent on the machine.

Every step below is a Wix REST call. Make the machine calls as the chosen site; list and create sites as the user's account.

Base URL: https://www.wixapis.com/origami-dev-machines. Errors come back as details.applicationError.code.

When you can't make Wix REST calls, tell the user to connect Wix to this chat, and stop.

Where a step says to wait or poll, either call again, or run the loop in one script that calls the endpoints and pauses between calls.

How to reply

  • Talk like a site builder, in pages, sections, text, images, colors and layout.
  • Don't mention files, components, packages, commands, APIs, machines or ids unless the user asks.
  • Keep each message to 1–3 short lines that report results, not steps.
  • While you wait, say what's happening in plain words, such as "Getting your site ready…", "Updating the header…" or "Saving it to your site…".
  • When the user must act, end the message with one bold line starting with 👉, and nothing after it.
  • When something fails, say in one sentence what went wrong and what you'll do next, without logs unless the user asks.
  • When changing an existing site, do what was asked in the smallest way that works, without extras, refactors or redesigns the user didn't mention.

1. Choose the site

Don't ask the user for a site ID. When the user asks to import, copy or move a site into another site or a new one, or to bring code from another project into a site, follow step 8. List only the user's Studio Two sites, newest first: POST https://www.wixapis.com/site-list/v2/sites/query (account scope), body { "query": { "filter": { "editorType": "STUDIO_TWO", "namespace": { "$in": ["WIX", "HTML_DRAFT"] } }, "sort": [{ "fieldName": "updatedDate", "order": "DESC" }], "cursorPaging": { "limit": 100 } } }. Each site has id and displayName; page on with cursorPaging.cursor set to metadata.cursors.next.

  • When the user named no site, show their last 10 Studio Two sites as a numbered list of names, and send **👉 Reply with the site to work on, or "new" to create one.**

For an existing site:

  • Keep only the site whose displayName exactly matches the user's words.
  • When no site or several sites match, list the closest names and send **👉 Reply with the site to work on.**
  • When the user says the site was built in the Wix Editor or Studio 1, tell them this works only with Studio Two sites, and stop.

For a new site, when the user asks for one or replies new:

  • A new site the user calls Wix Studio, Studio Two or Studio 2 is a Studio Two site: create it here, without asking which Studio they mean.
  • Create it once, with this call: POST https://www.wixapis.com/msm/v1/meta-site/create-from-template, body { "originTemplateId": "a18df34c-46ec-455a-82ec-2ed75ba20924", "siteName": "<name>" }.
  • This call creates the Studio Two site that the next steps export and edit. Make it as a Wix REST call, as written here, even when another Wix guide gives a different way to create a site.
  • Use only a name the user gave, and with none use origami-<YYMMDD-HHMM>; never make one up.
  • Take the site ID from metaSite.metaSiteId, and call the site by the name the user gave.
  • When the name is rejected, send the reason and **👉 Reply with another name.**
  • Never create a second site for the same request.

Work on one site at a time: the one chosen here, or after an import, its destination (step 8).

2. Export the site to the machine (once per site)

The export installs the Origami app on the site and adds a web OAuth app named export site when it has none. Unless the site was created in this conversation or the user already agreed, say so and send **👉 Reply yes to prepare "<name>" for editing.**

POST {base}/v1/dev-machines/origami/export, body {}. The answer is { status, projectId, executionId?, output? }, and each call does one step:

  • PREPARING: the machine is starting. Wait 20 seconds and call again.
  • EXPORTING: the export is running. Call again right away; each call waits about 10 seconds.
  • EXPORTED: done; go on. Later calls answer EXPORTED at once.
  • FAILED, or an error such as ORIGAMI_PROJECT_NOT_FOUND, for a site created in this conversation: the site isn't ready yet, so call again after 60 seconds.
  • FAILED with an output that says the site isn't a Studio Two site: tell the user this works only with Studio Two sites, and stop.
  • FAILED otherwise: read output, tell the user in a sentence that preparing the site failed, and call once more to retry. This takes 2–5 minutes.

3. Make sure the Dev Machine is ready

POST {base}/v1/dev-machines/get-or-create, body {}. Repeat eve

Полный SKILL.md на GitHub

Установить wix-studio-two в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл wix-studio-two?

Create a Wix Studio Two site, including a new site the user calls Wix Studio, Studio Two or Studio 2, or build on an existing one by chat, with no local setup - its pages, sections, text, images, colors or layout - or import, copy or move a Studio Two site or another project's pages into a new or existing one. The site's code is exported to a remote machine, edited and previewed there, and saved to Wix when the user asks. Not for existing sites built in the Wix Editor or Studio 1, not for headless sites, which belong to wix-headless-kit, and not for products, bookings, blog posts or other business data, which belong to wix-manage, and not for publishing HTML files or a static build the user already has, which belongs to wix-headless-kit. Never publishes.

Как установить скилл wix-studio-two?

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить wix-studio-two с