hyva-compile-tailwind-css by hyva-themes/hyva-ai-tools
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-compile-tailwind-css为 Magento 2 中的 Hyvä 主题编译 Tailwind CSS。处理生产构建和开发监视模式。
使用 hyva-exec-shell-cmd 技能来检测环境并确定合适的命令包装器。以下所有 npm 命令显示的是核心命令;请根据检测到的环境对它们进行包装。
如果未提供主题路径,则调用 hyva-theme-list 技能来发现可用主题。默认情况下,将结果过滤为仅包含 app/design/frontend/ 中的主题。vendor/hyva-themes/ 中的主题需要用户明确请求。
如果未找到主题: 告知用户在 app/design/frontend/ 中未找到带有 Tailwind 配置的 Hyvä 主题。询问他们是否要改为检查 vendor/hyva-themes/,或者是否需要先使用 hyva-child-theme 技能创建子主题。
,除非用户明确请求"监视"、"监视模式"或"实时重载"。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 仅在 node_modules 缺失时安装依赖
if [ ! -d "<theme-path>/web/tailwind/node_modules" ]; then
cd <theme-path>/web/tailwind && npm ci
fi
# 生产构建(默认)
cd <theme-path>/web/tailwind && npm run build
# 或者监视模式(仅在明确请求时)
cd <theme-path>/web/tailwind && npm run watch
编译后的 CSS 位置:<theme-path>/web/css/styles.css
通过检查文件的修改时间来确认文件已更新。
npm cibin/magento setup:static-content:deploy每周安装量
162
代码仓库
GitHub 星标数
59
首次出现
2026 年 1 月 27 日
安全审计
安装于
github-copilot159
opencode155
codex155
gemini-cli150
amp149
kimi-cli149
Compiles Tailwind CSS for Hyvä themes in Magento 2. Handles both production builds and development watch mode.
Use the hyva-exec-shell-cmd skill to detect the environment and determine the appropriate command wrapper. All npm commands below show the core command; wrap them according to the detected environment.
If no theme path provided, invoke the hyva-theme-list skill to discover available themes. Filter the results to only include themes in app/design/frontend/ by default. Themes in vendor/hyva-themes/ require explicit user request.
If no themes found: Inform the user that no Hyvä themes with Tailwind configuration were found in app/design/frontend/. Ask if they want to check vendor/hyva-themes/ instead, or if they need to create a child theme first using the hyva-child-theme skill.
Default to production build unless user explicitly requests "watch", "watch mode", or "live reload".
# Install deps only if node_modules missing
if [ ! -d "<theme-path>/web/tailwind/node_modules" ]; then
cd <theme-path>/web/tailwind && npm ci
fi
# Production build (default)
cd <theme-path>/web/tailwind && npm run build
# OR watch mode (only if explicitly requested)
cd <theme-path>/web/tailwind && npm run watch
Compiled CSS location: <theme-path>/web/css/styles.css
Confirm the file was updated by checking its modification time.
npm cibin/magento setup:static-content:deployWeekly Installs
162
Repository
GitHub Stars
59
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot159
opencode155
codex155
gemini-cli150
amp149
kimi-cli149
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
33,600 周安装
Opencage自动化工具:通过Rube MCP实现地理编码与反向地理编码自动化
1 周安装
Needle自动化工具包:通过Rube MCP实现Needle操作自动化
1 周安装
Hummingbot幻灯片生成器:从Markdown创建品牌风格PDF演示文稿,支持Mermaid图表
145 周安装
MX Toolbox自动化技能 - 集成Claude AI与MX记录查询工具,提升网络管理效率
1 周安装
Mural自动化技能 - 通过ComposioHQ集成Claude AI实现自动化工作流
1 周安装
Missive自动化工具:通过Rube MCP和Composio实现邮件协作自动化
1 周安装