什么是 liquid-theme-standards?
Shopify Liquid 主题的 CSS、JavaScript 和 HTML 编码标准。涵盖样式表标签内的 BEM 命名、设计标记、CSS 自定义属性、主题 Web 组件、防御性 CSS 和渐进式增强。在 .liquid 文件或主题资源文件中编写 CSS/JS/HTML 时使用。 来源:benjaminsehl/liquid-skills。
Shopify Liquid 主题的 CSS、JavaScript 和 HTML 编码标准。涵盖样式表标签内的 BEM 命名、设计标记、CSS 自定义属性、主题 Web 组件、防御性 CSS 和渐进式增强。在 .liquid 文件或主题资源文件中编写 CSS/JS/HTML 时使用。
通过命令行快速安装 liquid-theme-standards AI 技能到你的开发环境
来源:benjaminsehl/liquid-skills。
| {% stylesheet %} | No | Component-scoped styles (one per file) | | {% style %} | Yes | Dynamic values needing Liquid (e.g., color settings) | | assets/.css | No | Shared/global styles |
Critical: {% stylesheet %} does NOT process Liquid. Use inline style attributes for dynamic values:
Use CSS custom properties for all values — never hardcode colors, spacing, or fonts. Define a consistent scale and reference it everywhere.
Shopify Liquid 主题的 CSS、JavaScript 和 HTML 编码标准。涵盖样式表标签内的 BEM 命名、设计标记、CSS 自定义属性、主题 Web 组件、防御性 CSS 和渐进式增强。在 .liquid 文件或主题资源文件中编写 CSS/JS/HTML 时使用。 来源:benjaminsehl/liquid-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/benjaminsehl/liquid-skills --skill liquid-theme-standardsShopify Liquid 主题的 CSS、JavaScript 和 HTML 编码标准。涵盖样式表标签内的 BEM 命名、设计标记、CSS 自定义属性、主题 Web 组件、防御性 CSS 和渐进式增强。在 .liquid 文件或主题资源文件中编写 CSS/JS/HTML 时使用。 来源:benjaminsehl/liquid-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/benjaminsehl/liquid-skills --skill liquid-theme-standards 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/benjaminsehl/liquid-skills