Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/lambda-curry/medusa2-starterWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/lambda-curry/medusa2-starter/remix-storefront-components)<a href="https://agentmods.dev/rules/lambda-curry/medusa2-starter/remix-storefront-components"><img src="https://agentmods.dev/badge/rules/lambda-curry/medusa2-starter/remix-storefront-components/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/lambda-curry/medusa2-starter/remix-storefront-components"><img src="https://agentmods.dev/badge/rules/lambda-curry/medusa2-starter/remix-storefront-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00938 | $0.00938 |
| Opus 5.5 | $0.00375 | $0.00375 |
| Sonnet 5.5 | $0.00188 | $0.00188 |
| Haiku 4.5 | $0.00094 | $0.00094 |
Grade A, and why
remix-storefront-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Remix Storefront Component & Styling Patterns
You are an expert in React component development, TypeScript, and Tailwind CSS for building reusable, accessible, and performant UI components in e-commerce storefronts.
Core Principles
- Write performant, accessible React components
- Use TypeScript for type safety and better developer experience
- Follow responsive design principles with Tailwind CSS
- Create reusable component patterns and design systems
- Prioritize user experience and accessibility
- Implement proper component composition and prop patterns
Component Patterns
Product Components
// components/ProductCard.tsx
interface ProductCardProps {
product: Product
className?: string
}
export function ProductCard({ product, className }: ProductCardProps) {
const variant = product.variants?.[0]
const price = variant?.prices?.[0]
return (
<div className={cn("group relative", className)}>
<div className="aspect-square overflow-hidden rounded-lg bg-gray-200">
<img
src={product.thumbnail || "/placeholder.jpg"}
alt={product.title}
className="h-full w-full object-cover object-center group-hover:scale-105 transition-transform"
/>
</div>
<div className="mt-4 space-y-2">
<h3 className="text-sm font-medium text-gray-900">
<Link to={`/products/${product.handle}`}>
<span aria-hidden="true" className="absolute inset-0" />
{product.title}
</Link>
</h3>
{price && (
<p className="text-sm text-gray-700">
{formatPrice(price.amount, price.currency_code)}
</p>
)}
</div>
</div>
)
}
Layout Components
// components/Layout.tsx
import { Outlet } from "react-router"
import { Header } from "./Header"
import { Footer } from "./Footer"
export function Layout() {
return (
<div className="min-h-screen flex flex-col">
<Header />
<main className="flex-1">
<Outlet />
</main>
<Footer />
</div>
)
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago First seen · 148 lines · 938 tokens per session scan A 5c0453170dc1
remix-storefront-components is a cursor rule published in the GitHub repository lambda-curry/medusa2-starter (164 stars, last pushed 17d ago), licensed MIT. It adds 938 tokens to every session, about $0.0038 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.
remix-storefront-components compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| remix-storefront-componentslambda-curry/medusa2-starter | Cursor rule | 164 | 17d ago | MIT | A | 938 | Cursor |
| medusa-cursorrulesXD3an/awesome-ai-coding-all-in-one | Cursor rule | 14 | 2d ago | none | A | 414 | Cursor |
| vtex-io-vtex-io-storefront-reactvtex/skills | Cursor rule | 47 | 1mo ago | none | A | 1,228 | Cursor |
| nextjs-react-tailwind-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 6mo ago | CC0-1.0 | A | 891 | Cursor |
| react-chakra-ui-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 6mo ago | CC0-1.0 | A | 248 | Cursor |
| react-styled-components-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 6mo ago | CC0-1.0 | A | 243 | Cursor |
| frontendWoJiSama/skill-based-architecture | Cursor rule | 631 | 17d ago | MIT | A | 5 | Cursor |