Aetheria-Labs1/storefront-skills / skills/publish
publish
VerifiedPublish 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.
references/product-grid.md
View on GitHub# Product grid mechanics
The collection contract in `references/page-types/collection-landing.md`
owns product count, filtering decisions, placement, and card content.
This file only implements a static, accessible product list for a
hand-picked set (a curated edit, a gift group, a short sale list).
A whole collection, or any list of more than about 24 products, uses the
live CollectionGrid island instead (`references/islands/collection-grid/index.md`):
it loads the collection by handle with live price and stock, filters, sort,
Quick Add and a crawlable "Load more". Do not hand-type cards for a
collection it can load.
## Source shape
```html
<!-- section: product-grid -->
<section id="product-grid" class="px-4 py-16">
<h2>Explore the collection</h2>
<ul class="grid grid-cols-2 gap-4 lg:grid-cols-4">
<li>
<article>
<a href="{{PRODUCT_URL}}" class="block min-h-[48px]">
<img src="{{IMAGE_URL}}" alt="{{PRODUCT_ALT}}"
width="640" height="800" loading="lazy">
<h3>{{PRODUCT_TITLE}}</h3>
</a>
<p>{{PRODUCT_PRICE}}</p>
</article>
</li>
</ul>
</section>
```
Bind every token to real catalogue data before compiling. Repeat the article
for each selected product; the product link is navigation, not an add-to-cart
substitute. Reviews and price annotations follow the type's proof/offer
references rather than fabricated card metadata.
## Interaction boundary
Resolve quick-add or variant selection through
`references/workflows/island-selection-workflow.md`. Keep its actual product
binding and current availability; do not attach a parallel cart handler.
Native links remain usable before hydration. Additional images may be
explicitly selected or horizontally scrolled by the shopper; do not rotate
card images on timers or hijack wheel input. See `references/scroll-patterns.md`.
For bundles or complementary products, the type and
`references/consumer-behavior-cro.md` determine the relationship. A generic
product list is not evidence that the products belong together.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |