Compiles Tailwind CSS for Hyvä themes in Magento 2. Handles production builds and development watch mode. Use when Tailwind classes aren't taking effect or styles need recompilation.
Ships in hyva-utilities. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Compiles Tailwind CSS for Hyvä themes in Magento 2. Handles both production builds and development watch mode.
Skill deps (read via <skill_path>/../{name}/SKILL.md, where <skill_path> is the directory containing this SKILL.md file): hyva-exec-shell-cmd, hyva-theme-list
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 exactly one theme is found: Use it.
If several themes are found: Ask the user which theme to compile.
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 (optionally with the hyva-child-theme skill, if it is installed).
Non-interactive runs: If the user cannot be asked (subagent or non-interactive run), do not choose between several themes and do not fall back to vendor/hyva-themes/. Stop and report that a theme path is required, listing the themes that were found.
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:deployWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/hyva-utilities:hyva-compile-tailwind-cssfrom hyva-utilities
hyva-utilities@hyva-plugins is listed by coughsyrupgit/hyva-skills-claude-marketplace — review the source before installing
npx claudepluginhub coughsyrupgit/hyva-skills-claude-marketplace --plugin hyva-utilities4 skills in this plugin
/hyva-cms-components-dumpDump all Hyvä CMS components from active modules. This skill should be used when the user wants to list all CMS components, view available components, debug component configurations, or see the merged components.json output. Trigger phrases include "list cms components", "dump components", "show all components", "view cms components", "components.json dump"./hyva-exec-shell-cmdUtility skill to detect Magento development environment and determine command wrapper. This skill should be used by other skills that need to execute shell commands in the Magento environment. It detects Warden, docker-magento, DDEV, and local environments and provides the appropriate command wrapper./hyva-Other plugins' skills for the same job