responsive-storefront
БесплатноБез исполняемых скриптовНе проверенBuild a mobile-first storefront with thumb-friendly navigation, sticky add-to-cart buttons, and touch-optimized components for high mobile conversion
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Responsive Storefront
Overview
Apply mobile-first responsive design patterns to a commerce storefront so that the shopping experience is fast and usable on phones, where the majority of commerce traffic originates. Key patterns include thumb-zone aware layouts, a sticky buy bar that appears on scroll, tap-target sizing, and responsive product grids that reflow without horizontal scrolling.
When to Use This Skill
- When more than 50% of storefront traffic comes from mobile devices (check your analytics)
- When building a new storefront from scratch and laying out the CSS architecture
- When auditing an existing storefront for mobile usability issues
- When implementing a product detail page and need a sticky buy button pattern
- When optimizing mobile conversion rate and cart abandonment
Core Instructions
Step 1: Determine the merchant's platform and choose the right approach
| Platform | Recommended Approach | Why |
|---|---|---|
| Shopify | Use a mobile-first OS2.0 theme (Dawn, Sense, Craft) — all are responsive by default; configure mobile layout in Theme Editor | Dawn scores 90+ on mobile PageSpeed out of the box; the Theme Editor exposes mobile-specific layout controls |
| WooCommerce | Use a mobile-first WooCommerce theme (Astra, Kadence, or Flatsome) — all include responsive breakpoints and mobile cart drawer built in | Astra and Kadence score well on Core Web Vitals; Flatsome has built-in sticky header and mobile menu without plugins |
| BigCommerce | Use Cornerstone theme which is mobile-first by design; configure breakpoints in Theme Editor | Cornerstone is BigCommerce's reference theme and passes Google's mobile usability tests |
| Custom / Headless | Write mobile-first CSS with min-width media queries and build a responsive product grid, sticky buy bar, and bottom-sheet cart drawer |
Full control over all breakpoints and touch interactions; see patterns below |
Step 2: Configure mobile layout on your platform
Shopify
Theme Editor mobile configuration:
- Go to Online Store → Themes → Customize
- Click the Mobile preview icon in the top toolbar to preview on a phone
- Configure Header settings:
- Set Mobile menu type: Drawer (recommended) or Dropdown
- Enable Sticky header so navigation stays visible while scrolling
- Configure Collection page:
- Set Products per row (mobile) to 2 (standard) or 1 (large cards)
- Enable Filters as a drawer on mobile (not sidebar)
- Configure Product page:
- Enable Sticky add-to-cart in the product section settings
- Set Media placement to stack gallery above product info on mobile (this is the default)
- In Theme settings → Buttons, set button height to at least 44px to meet touch target requirements
Testing mobile performance:
- Open Google PageSpeed Insights (pagespeed.web.dev) and enter your store URL
- Review the Mobile tab — aim for 75+ Performance score
- The most common fix: compress images via Settings → Files and replace large images with WebP versions
WooCommerce
Astra theme mobile configuration:
- Go to Appearance → Customize → Header → Mobile Header
- Configure hamburger menu style and position
- Under Appearance → Customize → WooCommerce → Shop Page, set Products per row (mobile) to 2
- Under Appearance → Customize → WooCommerce → Product Page, enable Sticky Add to Cart bar for mobile
- In Appearance → Customize → Global → Container, ensure container width is 100% on mobile (no horizontal padding issues)
Kadence theme mobile configuration:
- Go to Appearance → Customize → WooCommerce → Product Archive
- Set mobile columns to 2 and configure card spacing
- Under Appearance → Customize → WooCommerce → Product Page, enable Sticky Add to Cart
- In Kadence → Header Builder, configure the mobile header layout — Kadence lets you drag elements (logo, menu, cart) to separate mobile header rows
Flatsome theme:
- In Theme Options → WooCommerce → Products, configure mobile product grid columns
- Enable Sticky Add to Cart in Theme Options → WooCommerce → Product
- Flatsome's UX Builder has a mobile preview mode — use it to inspect every page's mobile layout
BigCommerce
Cornerstone mobile configuration:
- Go to Storefront → My Themes → Customize
- Preview on mobile using the device icon in the toolbar
- Under Global → Layout, configure mobile breakpoints and container padding
- Under Product Page → Images, set gallery layout to Stacked on mobile (image above product info)
- Enable Mobile overlay for the cart — this converts the cart from a sidebar to a bottom sheet on mobile
- Under Category Page → Product Cards, set mobile columns to 2
Custom / Headless
Mobile-first CSS foundations:
/* tokens.css */
:root {
--space-sm: 0.5rem;
--space-md: 1r
Установить responsive-storefront в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл responsive-storefront?
Build a mobile-first storefront with thumb-friendly navigation, sticky add-to-cart buttons, and touch-optimized components for high mobile conversion
Как установить скилл responsive-storefront?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл responsive-storefront запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic