wix-headless-templates
The shipped, verified code behind Wix Headless sites, one folder per Wix Business Solution: an online store, bookings, rentals, a blog, CMS collections…
от wix★ 40 звёзд на GitHub
Установить wix-headless-templates в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Wix Headless Templates
The code a Wix Headless site is built from, one folder per Wix Business Solution. wix-headless-kit
is the skill that runs a build: its install/templates.mjs fetches this folder once into the kit's
own templates/ (a sparse clone of skills/wix-headless-templates/, or the checkout when the kit
runs from one) and the kit copies, deploys and seeds from there. This skill holds no flow of its
own; it is the material, kept as a skill so it is published, mirrored and readable like one.
Layout
| path | what it is |
|---|---|
<solution>/INSTRUCTIONS.md |
the solution's playbook: what ships, the contracts of every hook, store and DTO, the pages, the dashboard links |
<solution>/app/ |
the framework-agnostic core: wix/<solution>/*-core.ts (pure logic), the SDK transport, *-store.ts state machines, types.ts; hooks/ (React bindings) and components/ (reference implementations, correct and plain) |
<solution>/app-astro/ |
Astro pages and layouts with owner-editable SEO pre-wired |
<solution>/rest/ |
the data layer a second time over plain fetch, same exports, for a site with no bundler |
<solution>/seed/ |
SEED.md (the plan shape and the traps), seed-<solution>.mjs (fills the site from a plan, idempotent), read-site.mjs (reports what the site already holds) |
<solution>/project/ |
the composed project: the CLI's blank scaffold with the solution deployed and a package-lock.json, copied whole at create or attach so npm ci installs without resolving |
shared/ |
DESIGN.md and CONTENT.md (the floors every site meets), CUSTOM_OPERATIONS.md (server-side work that needs elevated calls), app/ and rest/ (the client, media and config seams), capabilities/ (site search, media upload), seed/ (the CLI resolver, token, image resolver and site context every seed uses) |
blank/ |
the pristine CLI scaffold the composed projects start from |
compose.mjs |
repository tooling: rebuilds a solution's project/ from blank/ plus a deploy, and its lock |
The solutions: storefront, bookings, rentals, blog, cms, forms, members, events,
restaurants, donations, pricing-plans, portfolio, faq.
Reading it on its own
- What a solution does and how its pieces fit:
<solution>/INSTRUCTIONS.md, thenapp/wix/<solution>/types.ts. - How a site is filled and what the seed refuses:
<solution>/seed/SEED.md. - What an existing site holds before anything is written:
node <solution>/seed/read-site.mjs --site <siteId>(a logged-in Wix CLI). - A seed by hand, from a project folder with a
wix.config.json:node <solution>/seed/seed-<solution>.mjs plan.json.
Changing it
Code under app/, app-astro/, rest/ and seed/ is the source; project/ is generated from it
with node compose.mjs <solution> from a checkout of the repository (it reinstalls the project's
dependencies, so run npm ci in the project before a typecheck). A composed project is checked
with tsc on its own tsconfig.json. Locks are resolved locally, never on a sandbox mirror.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- blank/project/.gitignore
- blank/project/README.md
- blank/project/astro.config.mjs
- blank/project/package.json
- blank/project/public/favicon.svg
- blank/project/src/assets/astro.svg
- blank/project/src/assets/background.svg
- blank/project/src/assets/wix.svg
- blank/project/src/components/Hero.astro
- blank/project/src/components/Welcome.astro
- blank/project/src/layouts/Layout.astro
- blank/project/src/pages/index.astro
- blank/project/tsconfig.json
- blog/INSTRUCTIONS.md
- blog/api-run.md
- blog/app-astro/layouts/SiteLayout.astro
- blog/app-astro/pages/blog.astro
- blog/app-astro/pages/blog/[...slug].astro
- blog/app-astro/pages/blog/category/[slug].astro
- blog/app-astro/pages/blog/tag/[slug].astro
- blog/app/components/blog/BlogFeedView.tsx
- blog/app/components/blog/CommentsView.tsx
- blog/app/components/blog/PostLikeButton.tsx
- blog/app/components/blog/PostView.tsx
- blog/app/components/blog/RichContent.tsx
- blog/app/hooks/blog/useBlogFeed.ts
- blog/app/hooks/blog/useComments.ts
- blog/app/hooks/blog/usePost.ts
- blog/app/wix/blog/authors-core.ts
- blog/app/wix/blog/authors.ts
- blog/app/wix/blog/blog-feed-store.ts
- blog/app/wix/blog/comments-core.ts
- blog/app/wix/blog/comments-store.ts
- blog/app/wix/blog/comments.ts
- blog/app/wix/blog/post-likes.ts
- blog/app/wix/blog/post-store.ts
- blog/app/wix/blog/posts-core.ts
- blog/app/wix/blog/posts.ts
- blog/app/wix/blog/taxonomy-core.ts
- blog/app/wix/blog/taxonomy.ts
FAQ
Что делает скилл wix-headless-templates?
The shipped, verified code behind Wix Headless sites, one folder per Wix Business Solution: an online store, bookings, rentals, a blog, CMS collections, forms, members, events, restaurants, donations, pricing plans, a portfolio, an FAQ. Each ships a typed framework-agnostic data layer and stores over @wix/sdk, React hooks and reference components, Astro pages with owner-editable SEO, a REST twin for sites without a bundler, a seed script that fills the site from a plan, a reader that reports what a site already holds, and a playbook (INSTRUCTIONS.md) with the contracts. Shared across them: design and content floors, the capabilities (site search, media upload), the seed helpers, and a composed, lock-pinned project per solution that a create copies whole. Used by wix-headless-kit, which fetches, deploys and seeds from this folder; readable on its own to see what a solution's code does and how it is seeded.
Как установить скилл wix-headless-templates?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wix-headless-templates запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…