Command Palette

Search for a command to run...

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

Crossly Storefront shop

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

Manage a seller's own Crossly storefront over the API. Covers the store website (GET /v1/storefront/site, PUT /v1/storefront/site/draft, POST…

crosslyот crossly72 установки в других каталогах

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

Run a seller's Crossly storefront

Every Crossly store has two public faces, edited separately:

Shop profile Website
What The store's page inside the Crossly Shop (/shop/s/<slug>) with Crossly's header A standalone site at /site/<slug> and the store's custom domain, with no Crossly chrome
Shape ShopProfile: banner, logo, tagline, bio, accent, announcement, shelves, blocks SiteDesign: theme, header, footer, popup, SEO, pages of sections
Saving Saved at once Draft → publish, with versions
API GET/PUT /v1/storefront/profile /v1/storefront/site…

Every call acts on the store named by the X-Storefront-Id header, else the token owner's default store (multi-store setup: crossly-team-stores). Auth: crossly-api-setup. Errors, idempotency, paging: crossly-api-conventions.

import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! });

Setup

  1. Create a free Crossly account: https://crossly.net/register
  2. Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a crossly_pat_test_ token against the sandbox while building.
  3. Export it as CROSSLY_PAT and send it as Authorization: Bearer $CROSSLY_PAT to https://crossly.net/api/v1/*. Full docs: https://crossly.net/docs

Website: draft, publish, switch on

Scopes: storefronts:read for GET /v1/storefront/site, versions, merch, preview, resolve and suggest; storefronts:write for draft, publish, restore, enabled and starter.

Call Body SDK (crossly.storefrontSite)
GET /v1/storefront/site get(): draft, live design, when each changed, enabled, the custom domain
PUT /v1/storefront/site/draft { design } (a complete SiteDesign) saveDraft(design)
POST /v1/storefront/site/publish { label? } (≤ 80 chars) publish({ label })
GET /v1/storefront/site/versions listVersions() (publish, restore and template points; last 30 kept)
POST /v1/storefront/site/versions/{id}/restore restoreVersion(id): that version → the draft (publish to make it live)
PUT /v1/storefront/site/enabled { enabled } setEnabled(true): needs a publish first; off makes /site/<slug> 404 and the domain show the shop profile
POST /v1/storefront/site/starter { starterId } applyStarter(id): vintage, sneakers, streetwear, collectibles, boutique, home, minimal, drop, general; the current draft is kept as a version first
POST /v1/storefront/site/preview { design, pageSlug } preview(design, ''): resolve an unsaved page as buyers would see it
POST /v1/storefront/site/suggest suggestSections(): sections proposed from the store's top tags and categories (not saved)

The draft is validated strictly: a bad field is a 400 naming its path. SiteDesign needs version, theme, header, announcement, footer, popup, seo, templates and pages (at least one; the home page, slug "", comes first; slugs unique). Don't hand-build one from nothing: read get(), change what you need, save it back.

const { data: site } = await crossly.storefrontSite.get() as { data: { draft: Record<string, unknown> } };
await crossly.storefrontSite.saveDraft({ ...site.draft /* edited */ }, { idempotencyKey: crypto.randomUUID() });
await crossly.storefrontSite.publish({ label: 'Spring refresh' }, { idempotencyKey: crypto.randomUUID() });
await crossly.storefrontSite.setEnabled(true);

Product rails: ListingSource

Rails, grids and shelves fill themselves from the store's live Crossly listings. A source is { mode, sort, limit, … }:

mode Selects
manual listingIds, in order (these are platform-listing ids)
tags listings with any/all of tags (tagMatch: any | all)
category category: { main, sub?, sub2? }
smart smart: newest, price drops, best sellers, most viewed, most saved, on sale, under a price, back in stock, ending soon
all everything live

Every mode but manual also narrows by priceMinCents / priceMaxCents (integer cents), conditions and excludeTags, then sorts and caps (limit). Test one with POST /v1/storefront/site/resolve { source } (resolveSource): the matching listings and total. GET /v1/storefront/merch (merch()) lists the store's tags, categories, conditions, brands and price range, so you can pick values that exist. Tag listings in bulk to drive rails (see crossly-inventory and crossly-bulk-operations).

Shop profile

GET /v1/storefront/profile (storefronts:read) and PUT /v1/storefront/profile { profile } (storefronts:write; a complete ShopProfile, saved at once). POST /v1/storefront/profile/suggest-shelves proposes shelves. SDK: getProfile(), updateProfile(profile), `suggest

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

Установить Crossly Storefront shop в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл Crossly Storefront shop?

Manage a seller's own Crossly storefront over the API. Covers the store website (GET /v1/storefront/site, PUT /v1/storefront/site/draft, POST /v1/storefront/site/publish, versions, on/off, starters, ListingSource product rails) and the Crossly Shop profile (/v1/storefront/profile). Also store go-live requirements, discount codes (/v1/discount-codes with percent, fixed, free shipping, buy X get Y, spend tiers, set price; limits, schedule, unique codes, redemptions), automatic buy-more-save-more discounts (/v1/automatic-discounts) and hosted product feeds for Google Merchant Center, Meta, TikTok, Pinterest, Bing and others (/v1/product-feeds with secret URLs, rotation, validation report, per-item overrides). Use when building or publishing a seller's Crossly site, running promo codes or sales on the Crossly Shop, or feeding Crossly listings to Google Shopping and other ad channels.

Как установить скилл Crossly Storefront shop?

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

Скилл Crossly Storefront shop запускает скрипты?

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

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

Сравнить Crossly Storefront shop с