Aetheria-Labs1/storefront-skills / skills/optimize
optimize
FlaggedScore an existing Lexsis page against the same page-type, design, proof, offer, asset and copy rules used to build pages, propose improvements as a strict optimization plan with real replacement copy and asset decisions, wait for approval, then apply the approved changes with version protection and hosted QA.
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 |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate 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 existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |