sfnext-components
Build and modify UI components in a Storefront Next storefront: page components with Suspense and use()/Await, createPage and withSuspense, Tailwind v4 token classes, shape tokens (rounded-ui, shadow-ui, border-ui), shadcn/ui primitives in src/components/ui (sync-shadcn), CVA variants, data-slot, DynamicImage, lazy-loaded overlays, and Storybook stories with snapshot tests. Use when creating or editing a component in src/components, adding a shadcn primitive, fixing styling that ignores the theme, writing a *.stories.tsx file, or running pnpm storybook:test. Do not use for re-branding colors, fonts, or logos (use storefront-next:sfnext-theming), route loaders (use storefront-next:sfnext-data-fetching), or Page Designer registration (use storefront-next:sfnext-page-designer).
Pinned to revision fe78868e0e70, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sfnext-components/SKILL.md
- skills/sfnext-components/evals/trigger-evals.json
- skills/sfnext-components/references/COMPONENT-AUTHORING.md
- skills/sfnext-components/references/SHAPE-TOKENS.md
- skills/sfnext-components/references/STORYBOOK.md
- skills/sfnext-components/references/TOKEN-SYSTEM.md
- skills/sfnext-components/references/TROUBLESHOOTING.md
Every link opens the file at its source, pinned to the revision this page describes.