·storefront-widget
</>

storefront-widget

trantuananh-17/product-reviews

当用户询问“店面小部件”、“scripttag”、“面向客户”、“Preact”、“捆绑包大小”、“延迟加载”、“性能优化”或任何店面前端工作时,请使用此技能。为轻量级店面小部件提供 Preact 模式。

2安装·0热度·@trantuananh-17

安装

$npx skills add https://github.com/trantuananh-17/product-reviews --skill storefront-widget

SKILL.md

The scripttag package contains customer-facing storefront widgets injected into merchant stores. Performance is CRITICAL - every KB and millisecond impacts merchant store speed and conversion rates.

| Preact | UI library | 3KB vs React's 40KB+ | | preact-lazy | Lazy loading | Lightweight lazy loader | | SCSS | Styling | Scoped styles, minimal footprint | | Rspack | Bundler | 10x faster than webpack |

Styling: Always use custom SCSS/CSS. Avoid UI libraries - they add unnecessary bundle size.

当用户询问“店面小部件”、“scripttag”、“面向客户”、“Preact”、“捆绑包大小”、“延迟加载”、“性能优化”或任何店面前端工作时,请使用此技能。为轻量级店面小部件提供 Preact 模式。 来源:trantuananh-17/product-reviews。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/trantuananh-17/product-reviews --skill storefront-widget
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 storefront-widget?

当用户询问“店面小部件”、“scripttag”、“面向客户”、“Preact”、“捆绑包大小”、“延迟加载”、“性能优化”或任何店面前端工作时,请使用此技能。为轻量级店面小部件提供 Preact 模式。 来源:trantuananh-17/product-reviews。

如何安装 storefront-widget?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/trantuananh-17/product-reviews --skill storefront-widget 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/trantuananh-17/product-reviews

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-05