Skip to content

Aetheria-Labs1/storefront-skills / skills/publish

publish

Verified

Publish a Lexsis storefront draft version that carries DESIGN_APPROVED from /design-page, /quiz, or /optimize. Use only when the user explicitly asks to release a specific page version.

FileKindSize
SKILL.mdskill md3.5 KB
agents/openai.yamlconfig404 B
references/ab-testing.mdmarkdown6.3 KB
references/ad-to-page.mdmarkdown1.3 KB
references/animation-system.mdmarkdown11.1 KB
references/anti-patterns/copy-anti-patterns.mdmarkdown12.2 KB
references/anti-patterns/cro-anti-patterns.mdmarkdown17.8 KB
references/anti-patterns/dark-patterns.mdmarkdown23.9 KB
references/anti-patterns/design-anti-patterns.mdmarkdown9.3 KB
references/anti-patterns/mobile-anti-patterns.mdmarkdown9.7 KB
references/asset-prep.mdmarkdown6.9 KB
references/assets/asset-sourcing-sequence.mdmarkdown12.2 KB
references/assets/generation-policy.mdmarkdown25.9 KB
references/assets/image-jobs-by-page-type.mdmarkdown31.8 KB
references/assets/imagery-by-vertical.mdmarkdown24.8 KB
references/assets/slot-spec.mdmarkdown20.2 KB
references/assets/video-rules.mdmarkdown17.6 KB
references/authoring/css-and-styling.mdmarkdown4.0 KB
references/authoring/source-authoring.mdmarkdown9.0 KB
references/blob-shapes.mdmarkdown1018 B
references/cart-composition.mdmarkdown7.2 KB
references/cart-profile-management.mdmarkdown17.1 KB
references/consumer-behavior-cro.mdmarkdown12.7 KB
references/copy/copy-frameworks.mdmarkdown20.5 KB
references/copy/headline-and-cta-rules.mdmarkdown12.9 KB
references/copy/message-match.mdmarkdown9.2 KB
references/copy/voice-of-customer-mining.mdmarkdown10.9 KB
references/design-assets.mdmarkdown366 B
references/design-enrichment.mdmarkdown334 B
references/design-rules.mdmarkdown15.5 KB
references/generate-collection.mdmarkdown555 B
references/generation-protocol.mdmarkdown3.2 KB
references/islands/collection-grid/index.mdmarkdown5.4 KB
references/islands/collection-swipe/index.mdmarkdown4.1 KB
references/lexsis-mcp-contract.mdmarkdown14.2 KB
references/merchant-templates.mdmarkdown2.6 KB
references/module-authoring.mdmarkdown9.0 KB
references/offers/campaign-calendar.mdmarkdown21.4 KB
references/offers/funnel-stages.mdmarkdown17.6 KB
references/offers/offer-ledger.mdmarkdown5.1 KB
references/offers/offer-strategy.mdmarkdown9.6 KB
references/offers/offer-types.mdmarkdown36.6 KB
references/offers/price-presentation.mdmarkdown18.0 KB
references/offers/urgency-scarcity.mdmarkdown17.5 KB
references/page-editing.mdmarkdown9.7 KB
references/page-files.mdmarkdown2.7 KB
references/page-types/_checklist-format.mdmarkdown11.1 KB
references/page-types/_index.mdmarkdown21.9 KB
references/page-types/collection-landing.mdmarkdown21.9 KB
references/product-grid.mdmarkdown2.0 KB
references/proof/before-after-and-claims.mdmarkdown19.2 KB
references/proof/numbers-and-counts.mdmarkdown16.0 KB
references/proof/press-and-media-mentions.mdmarkdown12.5 KB
references/proof/proof-ledger.mdmarkdown8.3 KB
references/proof/reviews-sourcing.mdmarkdown24.8 KB
references/proof/trust-badges-certifications.mdmarkdown21.8 KB
references/proof/ugc-rights-and-display.mdmarkdown16.0 KB
references/publishing.mdmarkdown2.4 KB
references/qa-recipe.mdmarkdown4.3 KB
references/quiz-authoring.mdmarkdown14.5 KB
references/resource-templates.mdmarkdown7.7 KB
references/scroll-patterns.mdmarkdown1.2 KB
references/source-artifact-workflow.mdmarkdown3.7 KB
references/styling-hooks.mdmarkdown7.8 KB
references/traffic-source-google.mdmarkdown1.6 KB
references/traffic-source-meta.mdmarkdown1.5 KB
references/traffic-source-tiktok.mdmarkdown1.5 KB
references/vertical-beauty.mdmarkdown1.8 KB
references/vertical-fashion.mdmarkdown1.7 KB
references/vertical-food.mdmarkdown1.6 KB
references/vertical-home.mdmarkdown1.7 KB
references/vertical-luxury.mdmarkdown1.6 KB
references/vertical-supplements.mdmarkdown1.7 KB
references/workflow-intent.mdmarkdown2.0 KB
references/workflows/_how-to-read.mdmarkdown2.7 KB
references/workflows/copy-workflow.mdmarkdown1.5 KB
references/workflows/island-selection-workflow.mdmarkdown4.8 KB
references/workflows/section-asset-workflow.mdmarkdown5.8 KB

references/islands/collection-swipe/index.md

View on GitHub
# CollectionSwipe

For `CollectionSwipe`, fetch `lexsis_design.islands` and
`lexsis_design.island_schema` during the decision that needs this behavior.
Use the current authoring example, variants, props, parts, hydration and
headless support; the bundled JSON is a compatibility reference, not a
second source of defaults.

`references/workflows/island-selection-workflow.md` owns selection and
linked state. `references/authoring/source-authoring.md` owns source syntax;
`references/authoring/css-and-styling.md` owns styling. Placement and evidence
come from the selected page-type contract and its domain policies.

## When to use

The mobile view of a live collection: one card at a time, swipe right (or
tap the bag button) to add, swipe left to pass, tap the left or right side
of the photo to step through images, undo the last card. It renders and
fetches nothing at 768px and wider.

Use it only in the same section as a CollectionGrid with
`"hideOnMobile": true`, so desktop gets the grid and mobile gets the deck.
Neither island fetches while hidden. Either one alone leaves a viewport with
no products; the compiler warns with `collection_view_pairing`.

Not as the only collection view, and not for a handful of hand-picked
products. Choose the deck when the catalog is visual and browsed for taste
(fashion, jewellery, home); keep the two-column grid on mobile when shoppers
filter by spec or compare many cards at once.

## Props that carry decisions

- `collection`: the same handle as the paired grid, or `"$resource"` on a
  collection resource template (`references/resource-templates.md`).
- `showFilters`: filter chips above the deck (default on). Filter and sort
  state shares the URL with the grid (`syncUrl`).
- `quickAdd`: a right swipe adds to bag; `false` makes it a "like" only.
  `openCartOnAdd` defaults to `false` (silent add, bag counter updates) so
  the shopper keeps swiping; set `true` only when the plan wants the cart
  after every add.
- `pageSize` (default 12), `initialSort`, `hideSoldOut`, `aspectRatio`,
  `metafields`.
- Labels: `likeLabel`, `skipLabel`, `emptyText`, `endText`, in the brand
  voice and the plan's copy.

## Card template

`<template data-slot="card">` and `<template data-slot="empty-state">` use
the same `data-lx-product*` bindings and paths as CollectionGrid
(`references/islands/collection-grid/index.md`). `<lx-slot name="media">`
receives the tap-through photo viewer. Do not put
`<lx-slot name="quick-add">` in the card: the deck's own controls add to
bag, and the compiler rejects it.

The island owns card motion. Do not animate cards with page CSS transforms;
style with parts and `--lx-swipe-*` tokens.

## Parts

`root`, `toolbar`, `filters`, `filter-group`, `filter-chip`,
`filter-price`, `filter-clear`, `filter-count`, `sort`, `count`, `deck`,
`card`, `card-media`, `card-photo-bars`, `card-body`, `card-title`,
`card-desc`, `card-price`, `compare-price`, `stamp-like`, `stamp-skip`,
`controls`, `like`, `skip`, `undo`, `empty`, `end`, `error`.

## Examples

Desktop grid and mobile deck in one section:

```html
<!-- section: product-grid -->
<section id="product-grid">
  <lx-island name="CollectionGrid">
    <script type="application/json">{"collection":"festive-jewellery","hideOnMobile":true,"filterPlacement":"sidebar"}</script>
  </lx-island>
  <lx-island name="CollectionSwipe">
    <script type="application/json">{"collection":"festive-jewellery","likeLabel":"Add to bag","skipLabel":"Not for me"}</script>
  </lx-island>
</section>
```

Collection template bound to the URL's collection:

```html
<lx-island name="CollectionGrid">
  <script type="application/json">{"collection":"$resource","hideOnMobile":true}</script>
</lx-island>
<lx-island name="CollectionSwipe">
  <script type="application/json">{"collection":"$resource"}</script>
</lx-island>
```

Deck with a merchant card template:

```html
<lx-island name="CollectionSwipe">
  <script type="application/json">{"collection":"festive-jewellery"}</script>
  <template data-slot="card"><li class="xg-card"><div class="xg-media"><lx-slot name="media"></lx-slot></div><p class="xg-name" data-lx-product="title"></p><p class="xg-price" data-lx-product="price"></p></li></template>
</lx-island>
```
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall