jamstack-storefront

jamstack-storefront is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 32 tokens per session (2,940 once invoked), scanned A, original, MIT.

A guide to building a fast online-store frontend with Next.js or Astro. Product pages are prepared as HTML ahead of time, while JavaScript and commerce APIs handle changing features such as carts and checkout.

In plain words
What is it for?
Use it to build product pages, connect a headless commerce system, regenerate pages when catalog data changes, and combine store data with a content-management system.
Why use it?
Prebuilt pages can load quickly and be cached by content-delivery networks. Separating the frontend from the commerce backend also lets each side change independently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import Layout from '../../layouts/Layout.astro';.

Good fit Use it to build product pages, connect a headless commerce system, regenerate pages when catalog data changes, and combine store data with a content-management system.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills
agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for jamstack-storefront

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront/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.

agentmods 80×15 button for jamstack-storefront

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/jamstack-storefront.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.02940
Opus 5 $0.00016 $0.01470
Sonnet 5 $0.00006 $0.00588
Haiku 4.5 $0.00003 $0.00294

Measured 9d ago against content hash 72729c98340a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

jamstack-storefront 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 9d 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.

skills/headless-modern/jamstack-storefront/SKILL.md · 327 lines

How it starts

The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Jamstack Storefront

Overview

A Jamstack storefront pre-renders catalog pages at build time for maximum performance and CDN cacheability, while using client-side JavaScript and commerce APIs for dynamic functionality (cart, checkout, account). Next.js with Incremental Static Regeneration (ISR) and Astro with on-demand rendering are the two dominant approaches, each offering different tradeoffs between build times, freshness, and interactivity. This skill covers setting up a Jamstack commerce site, managing catalog regeneration, and integrating headless commerce APIs.

When to Use This Skill

  • When SEO and Core Web Vitals scores are top priorities — static HTML scores near-perfect Lighthouse results
  • When you have a large catalog that rarely changes and want sub-100ms page loads from CDN
  • When you want to decouple the commerce backend (Shopify, Saleor, commercetools) from the storefront deployment cycle
  • When your team wants to use modern React/Astro tooling rather than a platform's proprietary theme system
  • When you need to combine commerce data with a CMS (Contentful, Sanity) at build time

Prerequisites & Platform Notes

This skill is written for custom/headless storefronts (Node.js, Python, or similar backend). The code examples use TypeScript/Node.js and can be adapted to any stack.

Shopify: Shopify Hydrogen is Shopify's headless framework. MACH/composable patterns apply when using Shopify as the commerce backend with a custom frontend, or when mixing Shopify with other best-of-breed services. WooCommerce: WooCommerce can serve as a headless backend via its REST API and WPGraphQL. These patterns apply when decoupling the frontend from WordPress. Magento: Magento's GraphQL API and PWA Studio support headless architectures. These composable patterns apply to Magento as a backend service in a MACH stack.

You'll need:

  • Node.js 18+ (or adapt to your backend language)
  • Redis for caching/queues
  • An email sending service (SendGrid, AWS SES, or Postmark)
  • CDN (Cloudflare, CloudFront, or Fastly)

Read the full file on GitHub · 327 lines

Changes

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.

  1. 9d ago First seen · 327 lines · 32 tokens per session scan A 72729c98340a

Subscribe to this mod's changes

jamstack-storefront is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 2,940 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

publishing-astro-websites

Comprehensive guidance for building and deploying static websites with the Astro framework. This skill should be used when asked to "create astro site", "deploy astro to firebase", "set up content collections", "add mermaid diagrams to astro", "configure astro i18n", "build static blog", or "astro markdown setup".…

SpillwaveSolutions/publishing-astro-websites-agentic-skill · 111 tokens

astro

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

sickn33/agentic-awesome-skills · 28 tokens

cli-ux

Use for packages/cli changes that affect command UX, prompts, help, output layout, progress, success, warnings, errors, JSON/stdout/stderr contracts, non-interactive/agent behavior, copy, or tests for those surfaces. Do not load for implementation-only refactors with unchanged CLI surface.

vercel/vercel · 65 tokens

astro

Use when building a content-driven or marketing site with Astro 6: static-first pages, islands and partial hydration, content collections, server islands, per-route on-demand rendering, deploy adapters, and Astro 5→6 migration. NOT app-router React with server actions and heavy client interactivity (that is nextjs).

ericrisco/rsc-harness · 67 tokens

radix-to-base-ui-migration

Migrates Vendure Dashboard extensions from Radix UI patterns to Base UI patterns (@vendure-io/ui).

vendurehq/vendure · 30 tokens

vendure-dashboard-migration

Migrates Vendure Admin UI extensions (legacy Angular-based) to the new React Dashboard.

vendurehq/vendure · 24 tokens