Token导航 LogoToken导航

Agent Skill · 前端设计

responsive-storefront(响应式店面)

responsive-storefront 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

responsive-storefront 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,551。

总安装 490周安装 20GitHub Stars 19下载 157核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:responsive-storefront(响应式店面)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/responsive-storefront
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill responsive-storefront
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill responsive-storefront

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

responsive-storefront 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。它能协助 Agent 自动响应协作事件并生成结构化反馈。

可通过 npx skills add 命令从指定 GitHub 仓库安装该技能。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/responsive-storefront

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill res…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

responsive-storefront 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill responsive-st…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

responsive-storefront 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

responsive-storefront 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

responsive-storefront 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

responsive-storefront 用的人多吗?

公开数据是累计安装 490 次,近一周安装 20 次,下载 157 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

responsive-storefront 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
responsive-storefront

响应式店面 · 本页

49019只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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

PlatformRecommended ApproachWhy
ShopifyUse a mobile-first OS2.0 theme (Dawn, Sense, Craft) — all are responsive by default; configure mobile layout in Theme EditorDawn scores 90+ on mobile PageSpeed out of the box; the Theme Editor exposes mobile-specific layout controls
WooCommerceUse a mobile-first WooCommerce theme (Astra, Kadence, or Flatsome) — all include responsive breakpoints and mobile cart drawer built inAstra and Kadence score well on Core Web Vitals; Flatsome has built-in sticky header and mobile menu without plugins
BigCommerceUse Cornerstone theme which is mobile-first by design; configure breakpoints in Theme EditorCornerstone is BigCommerce's reference theme and passes Google's mobile usability tests
Custom / HeadlessWrite mobile-first CSS with min-width media queries and build a responsive product grid, sticky buy bar, and bottom-sheet cart drawerFull control over all breakpoints and touch interactions; see patterns below

Step 2: Configure mobile layout on your platform


Shopify

Theme Editor mobile configuration:

  1. Go to Online Store → Themes → Customize
  2. Click the Mobile preview icon in the top toolbar to preview on a phone
  3. Configure Header settings:

- Set Mobile menu type: Drawer (recommended) or Dropdown - Enable Sticky header so navigation stays visible while scrolling

  1. Configure Collection page:

- Set Products per row (mobile) to 2 (standard) or 1 (large cards) - Enable Filters as a drawer on mobile (not sidebar)

  1. 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)

  1. In Theme settings → Buttons, set button height to at least 44px to meet touch target requirements

Testing mobile performance:

  1. Open Google PageSpeed Insights (pagespeed.web.dev) and enter your store URL
  2. Review the Mobile tab — aim for 75+ Performance score
  3. The most common fix: compress images via Settings → Files and replace large images with WebP versions

WooCommerce

Astra theme mobile configuration:

  1. Go to Appearance → Customize → Header → Mobile Header
  2. Configure hamburger menu style and position
  3. Under Appearance → Customize → WooCommerce → Shop Page, set Products per row (mobile) to 2
  4. Under Appearance → Customize → WooCommerce → Product Page, enable Sticky Add to Cart bar for mobile
  5. In Appearance → Customize → Global → Container, ensure container width is 100% on mobile (no horizontal padding issues)

Kadence theme mobile configuration:

  1. Go to Appearance → Customize → WooCommerce → Product Archive
  2. Set mobile columns to 2 and configure card spacing
  3. Under Appearance → Customize → WooCommerce → Product Page, enable Sticky Add to Cart
  4. In Kadence → Header Builder, configure the mobile header layout — Kadence lets you drag elements (logo, menu, cart) to separate mobile header rows

Flatsome theme:

  1. In Theme Options → WooCommerce → Products, configure mobile product grid columns
  2. Enable Sticky Add to Cart in Theme Options → WooCommerce → Product
  3. Flatsome's UX Builder has a mobile preview mode — use it to inspect every page's mobile layout

BigCommerce

Cornerstone mobile configuration:

  1. Go to Storefront → My Themes → Customize
  2. Preview on mobile using the device icon in the toolbar
  3. Under Global → Layout, configure mobile breakpoints and container padding
  4. Under Product Page → Images, set gallery layout to Stacked on mobile (image above product info)
  5. Enable Mobile overlay for the cart — this converts the cart from a sidebar to a bottom sheet on mobile
  6. 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: 1rem;
  --space-lg: 1.5rem;
  --touch-target: 44px;     /* WCAG 2.5.5 minimum tap target */
  --content-max-width: 1200px;
}

/* Breakpoints: sm=640px, md=768px, lg=1024px */
/* Write base styles for mobile, add min-width queries for larger screens */

Responsive product grid (auto-fills columns based on available width):

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: var(--space-md);
  padding: var(--space-md);
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-lg); }
}

/* Minimum 44px touch target on product card CTA */
.product-card__cta { min-height: var(--touch-target); display: flex; align-items: center; }

Sticky buy bar — appears when primary Add to Cart scrolls out of view:

export function StickyBuyBar({ product, onAddToCart }) {
  const [visible, setVisible] = useState(false);

  useEffect(() => {
    const primaryBtn = document.getElementById('main-add-to-cart');
    if (!primaryBtn) return;
    const obs = new IntersectionObserver(([e]) => setVisible(!e.isIntersecting));
    obs.observe(primaryBtn);
    return () => obs.disconnect();
  }, []);

  return (
    <div className={`sticky-buy-bar ${visible ? 'visible' : ''}`} aria-hidden={!visible}>
      <img src={product.image} alt="" width="40" height="40" />
      <span>{product.name}</span>
      <span>${product.price}</span>
      <button onClick={onAddToCart} tabIndex={visible ? 0 : -1}>Add to Cart</button>
    </div>
  );
}
.sticky-buy-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #e2e8f0;
  transform: translateY(100%); transition: transform 0.2s ease; z-index: 50;
  padding-bottom: env(safe-area-inset-bottom); /* iPhone home indicator */
  display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem;
}
.sticky-buy-bar.visible { transform: translateY(0); }

Mobile cart drawer (bottom sheet pattern):

.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(400px, 100vw); background: #fff;
  transform: translateX(100%); transition: transform 0.3s ease;
  overflow-y: auto; overscroll-behavior: contain;
}

@media (max-width: 640px) {
  .cart-drawer {
    top: auto; width: 100vw; height: 85vh;
    transform: translateY(100%); border-radius: 16px 16px 0 0;
  }
  .cart-drawer.open { transform: translateY(0); }
}

.cart-drawer.open { transform: translateX(0); }

/* Checkout button stays within thumb reach */
.cart-checkout-btn {
  position: sticky; bottom: 0; background: #fff;
  padding: var(--space-md);
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
}

Global 44px touch targets:

button, a, input[type="checkbox"], input[type="radio"], select, [role="button"] {
  min-height: var(--touch-target);
  min-width: var(--touch-target);
}

Best Practices

  • Write mobile-first CSS — start with the smallest screen styles and add min-width media queries to enlarge; the reverse approach leads to specificity conflicts
  • Use env(safe-area-inset-bottom) — required for iPhone notch/home indicator; without it, bottom-fixed buttons are obscured
  • Test with real devices — browser DevTools emulation does not replicate iOS Safari's dynamic viewport height or touch scroll inertia
  • Use overscroll-behavior: contain on scroll containers — prevents body scroll from leaking when users swipe in the cart drawer
  • Use 100dvh instead of 100vh on full-screen elements — iOS Safari's dynamic toolbar causes 100vh to include the toolbar height, causing overflow
  • Set font-size to at least 16px on <body> — prevents iOS Safari from auto-zooming on input focus

Common Pitfalls

ProblemSolution
Sticky buy bar obscures footer or checkout buttonHide the bar when the footer or checkout button enters the viewport using IntersectionObserver
iOS Safari layout jumps when toolbar appearsUse 100dvh (dynamic viewport height) instead of 100vh; fall back with @supports (height: 100dvh)
Font too small to read without pinch-zoomingSet font-size: 1rem (16px) on body; never set it lower on mobile
Cart drawer body scrollApply overflow: hidden on <body> when drawer is open; restore on close
Product images load slowly on mobileSpecify width and height attributes to prevent layout shift; use loading="lazy" for below-fold images

Related Skills

  • @mega-menu-builder
  • @quick-view-modal
  • @accessibility-commerce
  • @storefront-theming

平台分布

Claude

32.19%
按下载量换算51

Codex

31.8%
按下载量换算50

Cursor

16.8%
按下载量换算26

Gemini CLI

10.27%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills