askill
saleor-paper-storefront

saleor-paper-storefrontSafety 90Repository

Project-specific patterns for the Saleor Paper storefront built with Next.js 16, TypeScript, and Tailwind CSS. Use when working with product pages, checkout flow, caching, variant selection, filtering, SEO, or UI components. For universal Saleor API patterns, see the saleor-storefront dependency.

1.4k stars
27.2k downloads
Updated 2/25/2026

Package Files

Loading files...
SKILL.md

Saleor Paper Storefront

Project-specific guide for the Saleor Paper storefront — a Next.js 16 e-commerce application with TypeScript, Tailwind CSS, and the Saleor GraphQL API. Contains 11 rules across 6 categories covering caching, PDP architecture, checkout components, UI patterns, and SEO.

Prerequisite: This skill depends on saleor-storefront for universal Saleor API knowledge (data model, permissions, checkout lifecycle, channels). Install it alongside this skill.

When to Apply

Reference these guidelines when:

  • Working on product detail pages (PDP), variant selection, or filtering
  • Modifying checkout flow or payment integration
  • Editing GraphQL queries or regenerating types
  • Debugging caching, stale content, or revalidation
  • Creating UI components with design tokens
  • Adding SEO metadata, JSON-LD, or OG images
  • Writing tests or investigating Saleor API behavior

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Data LayerCRITICALdata-
2Product PagesHIGHproduct-
3Checkout FlowHIGHcheckout-
4UI & ChannelsMEDIUMui-
5SEOMEDIUMseo-
6DevelopmentMEDIUMdev-

Quick Reference

1. Data Layer (CRITICAL)

  • data-caching - Cache Components (PPR), cache tags, revalidation, price flow
  • data-graphql - Two codegen setups, permission patterns, nullable fields

2. Product Pages (HIGH)

  • product-pdp - PDP architecture, gallery, data flow, add-to-cart, ErrorBoundary
  • product-variants - Variant selection state machine, option states, discount badges
  • product-filtering - Server vs client filtering, category slug resolution

3. Checkout Flow (HIGH)

  • checkout-management - Checkout lifecycle, cookie storage, payment debugging
  • checkout-components - Reusable checkout UI (SignInForm, AddressSelector, PaymentMethodSelector)

4. UI & Channels (MEDIUM)

  • ui-components - Design tokens, shadcn/ui primitives, component locations
  • ui-channels - Multi-channel URLs, fulfillment model, purchasability debugging, channel selector

5. SEO (MEDIUM)

  • seo-metadata - JSON-LD structured data, metadata helpers, OG image generation

6. Development (MEDIUM)

  • dev-investigation - Saleor API source code investigation methodology

How to Use

Read individual rule files for detailed explanations and code examples:

rules/data-caching.md
rules/product-variants.md

Each rule file contains:

  • Brief explanation of why it matters
  • File locations and architecture diagrams
  • Code examples (correct and incorrect patterns)
  • Anti-patterns to avoid

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

62/100Analyzed 3/1/2026

Well-structured project-specific skill for Saleor Paper storefront with clear categories, metadata, and "when to apply" guidance. However, the actual rule content is not included - it references external rule files (rules/data-caching.md, etc.) that aren't provided in the content. This limits actionability as users must find those files separately. The skill has good clarity and organization but scores lower on completeness and reusability due to being highly project-specific and missing core content.

90
80
45
50
60

Metadata

Licenseunknown
Version-
Updated2/25/2026
Publishersaleor

Tags

apigithubgraphql