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-routing)<a href="https://agentmods.dev/rules/lambda-curry/medusa2-starter/remix-storefront-routing"><img src="https://agentmods.dev/badge/rules/lambda-curry/medusa2-starter/remix-storefront-routing/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-routing"><img src="https://agentmods.dev/badge/rules/lambda-curry/medusa2-starter/remix-storefront-routing.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.01260 | $0.01260 |
| Opus 5.5 | $0.00504 | $0.00504 |
| Sonnet 5.5 | $0.00252 | $0.00252 |
| Haiku 4.5 | $0.00126 | $0.00126 |
Grade A, and why
remix-storefront-routing 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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Remix Storefront Routing & Integration Patterns
You are an expert in React Router v8 (Remix), TypeScript, React, and e-commerce storefront development with Medusa integration, focusing on routing patterns, form handling, and API integration.
Core Principles
- Write performant, accessible React components
- Follow React Router v8 conventions and patterns
- Implement proper SEO optimization
- Use TypeScript for type safety
- Follow responsive design principles with Tailwind CSS
- Integrate seamlessly with Medusa backend APIs
- Prioritize user experience and performance
React Router v8 (Remix) Patterns
Route Structure
// app/routes/products.$handle.tsx
import type { LoaderFunctionArgs, MetaFunction } from "react-router"
import { useLoaderData } from "react-router"
export const meta: MetaFunction<typeof loader> = ({ loaderData }) => {
return [
{ title: loaderData?.product?.title || "Product" },
{ name: "description", content: loaderData?.product?.description },
]
}
export async function loader({ params }: LoaderFunctionArgs) {
const product = await getProduct(params.handle!)
if (!product) {
throw new Response("Not Found", { status: 404 })
}
return { product }
}
export default function ProductPage() {
const { product } = useLoaderData<typeof loader>()
return (
<div>
<h1>{product.title}</h1>
{/* Component implementation */}
</div>
)
}
Form Handling
// Use @lambdacurry/forms with remix-hook-form
import { RemixFormProvider, useRemixForm } from "remix-hook-form"
import { TextField } from "@lambdacurry/forms/remix-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
import { z } from "zod"
const schema = z.object({
email: z.string().email("Please enter a valid email"),
firstName: z.string().min(1, "First name is required"),
})
export default function ContactForm() {
const form = useRemixForm({
resolver: zodResolver(schema),
defaultValues: {
email: "",
firstName: "",
},
})
return (
<RemixFormProvider {...form}>
<form method="post">
<TextField
name="email"
label="Email"
type="email"
required
/>
<TextField
name="firstName"
label="First Name"
required
/>
<button type="submit">Submit</button>
</form>
</RemixFormProvider>
)
}
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 · 206 lines · 1,260 tokens per session scan A 01a3a7a03b53
remix-storefront-routing is a cursor rule published in the GitHub repository lambda-curry/medusa2-starter (164 stars, last pushed 17d ago), licensed MIT. It adds 1,260 tokens to every session, about $0.0050 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-routing compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| remix-storefront-routinglambda-curry/medusa2-starter | Cursor rule | 164 | 17d ago | MIT | A | 1,260 | Cursor |
| medusa-cursorrulesXD3an/awesome-ai-coding-all-in-one | Cursor rule | 14 | 2d ago | none | A | 414 | Cursor |
| vtex-io-vtex-io-admin-reactvtex/skills | Cursor rule | 47 | 1mo ago | none | A | 2,213 | Cursor |
| vtex-io-vtex-io-storefront-reactvtex/skills | Cursor rule | 47 | 1mo ago | none | A | 1,228 | Cursor |
| 10-importscommerce-atoms/agents | Cursor rule | 1 | 2mo ago | MIT | A | 193 | Cursor |
| faststore-allvtex/skills | Cursor rule | 47 | 1mo ago | none | C | 69 | Cursor |
| faststore-faststore-storefrontvtex/skills | Cursor rule | 47 | 1mo ago | none | C | 61 | Cursor |