Agent skill

Weapp Tailwindcss Runtime

by weapp-tailwindcss in weapp-tailwindcss/weapp-tailwindcss

设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class…

MITAuto-check passedFrontend & Design

Install Weapp Tailwindcss Runtime

skills CLI
$ npx skills add weapp-tailwindcss/weapp-tailwindcss --skill weapp-tailwindcss-runtime -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install weapp-tailwindcss/weapp-tailwindcss weapp-tailwindcss-runtime --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/weapp-tailwindcss/weapp-tailwindcss.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/weapp-tailwindcss-runtime .claude/skills/weapp-tailwindcss-runtime && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
weapp-tailwindcss-runtime
GitHub stars
1.9k
Token cost
~337 tokens
SKILL.md length
77 words
Files
3 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class…

  • Works in 7 steps: 识别 class… → 读取 references/runtime-guide.md,按任务选择最小包和… → 读取各包当前 manifest 与 exports,避免把… → …
  • Dynamic classes
  • SKILL.md covers 工作流, 关键约束 and 输出要求
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Weapp Tailwindcss Runtime is an agent skill from weapp-tailwindcss/weapp-tailwindcss. 设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class 覆盖。Use for dynamic classes, cn helpers, variant APIs, runtime package selection, or class escaping at runtime;不用于 bundler 初始接入、React Native 或 Lynx 编译器配置。

Its SKILL.md is about 340 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/runtime-guide.md`).

It sits in Frontend & Design, covering Cross-platform mobile apps and Typography. It works with Tailwind CSS and React Native. The repository describes itself as: Bring Tailwind CSS to every platform! 把 Tailwind CSS 的原子化开发体验带到全端!. The licence is MIT.

When your agent uses it

  • Dynamic classes
  • Runtime package selection
  • Class escaping at runtime;不用于 bundler 初始接入、React Native 或 Lynx 编译器配置

Example prompts

  • “/weapp-tailwindcss-runtime”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 识别 class 来源:静态模板、完整字面量条件、组件外部覆盖、第三方透传或真正的运行时输入。
  2. 读取 references/runtime-guide.md,按任务选择最小包和 API。
  3. 读取各包当前 manifest 与 exports,避免把 merge/slim、merge/lite、UI CSS 或插件入口当成主入口。
  4. 优先使用完整 class 字面量或枚举;不要拼接 bg-${color}-500 这类半截 token。
  5. 普通组件覆盖使用 @weapp-tailwindcss/merge;单槽 variants 使用 @weapp-tailwindcss/cva;多槽 recipes 使用 @weapp-tailwindcss/variants。
  6. 自定义封装名时检查构建期可识别标识符;需要原样透传时使用 weappTwIgnore,不要扩大全局忽略。
  7. 自定义 runtime factory、escape/unescape 或 rpx transformer 时保持纯函数边界,并验证缓存淘汰前后的等价输出。

What it can do on your machine

Read from SKILL.md and the folder at commit 1eec6f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Weapp Tailwindcss Runtime loads about 337 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 77 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~337
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from weapp-tailwindcss/weapp-tailwindcss at commit 1eec6f3, republished under its MIT licence (© weapp-tailwindcss). 77 words, ~337 tokens.

Download SKILL.mdSave it as .claude/skills/weapp-tailwindcss-runtime/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
weapp-tailwindcss-runtime
description
设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class 覆盖。Use for dynamic classes, cn helpers, variant APIs, runtime package selection, or class escaping at runtime;不用于 bundler 初始接入、React Native 或 Lynx 编译器配置。

weapp-tailwindcss runtime

使用项目提供的运行时封装保持 class 合并、转义和构建期精确候选一致。

工作流

  1. 识别 class 来源:静态模板、完整字面量条件、组件外部覆盖、第三方透传或真正的运行时输入。
  2. 读取 references/runtime-guide.md,按任务选择最小包和 API。
  3. 读取各包当前 manifest 与 exports,避免把 merge/slim、merge/lite、UI CSS 或插件入口当成主入口。
  4. 优先使用完整 class 字面量或枚举;不要拼接 bg-${color}-500 这类半截 token。
  5. 普通组件覆盖使用 @weapp-tailwindcss/merge;单槽 variants 使用 @weapp-tailwindcss/cva;多槽 recipes 使用 @weapp-tailwindcss/variants。
  6. 自定义封装名时检查构建期可识别标识符;需要原样透传时使用 weappTwIgnore,不要扩大全局忽略。
  7. 自定义 runtime factory、escape/unescape 或 rpx transformer 时保持纯函数边界,并验证缓存淘汰前后的等价输出。

关键约束

  • 运行时包已经封装小程序 escape/unescape;不要先手动 escape 再交给 merge/cva/variants。
  • clsx 只负责组合,不解决 Tailwind 冲突;需要“调用方最后覆盖”时使用 merge。
  • 只有会改变冲突分类的自定义 Tailwind token 才同步 merge 配置,并补冲突用例。
  • weappTwIgnore 是精确局部保护,不是让未扫描动态 class 自动生成 CSS 的工具。
  • 构建期仍遵循 classNameSet 精确命中,运行时封装不能补生成缺失的候选。

输出要求

输出包选择理由、可复制实现、构建期配套配置、类型约束,以及冲突、转义和生产压缩验证用例。

© weapp-tailwindcss, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/weapp-tailwindcss-runtime of weapp-tailwindcss/weapp-tailwindcss.

  • SKILL.md
  • agents/openai.yaml
  • references/runtime-guide.md

Open the folder on GitHubat commit 1eec6f3

Compare with similar skills

Weapp Tailwindcss Runtime next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Weapp Tailwindcss Runtime compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weapp Tailwindcss Runtime this skillweapp-tailwindcss/weapp-tailwindcss1.9k—~337Automated safety check: PassMIT
Design SystemWrongStack/WrongStack370—~3.9kAutomated safety check: PassMIT
Frontend UI StandardsMaxHan7/frontend-ui-standards-skill106—~2.4kAutomated safety check: PassMIT
Frontend Designavibebuilder/claude-prime120—~2.1kAutomated safety check: PassMIT
Brutalist Typographysickn33/agentic-awesome-skills47k1 repos~2.2kAutomated safety check: PassMIT
UniwindOhh-889/skyroc795—~1.4kAutomated safety check: PassMIT

Similar skills

  • Design System

    WrongStack/WrongStack

    Use this skill BEFORE writing or restyling ANY user-facing interface.

    370 GitHub stars~3.9k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend UI Standards

    MaxHan7/frontend-ui-standards-skill

    A skill your agent uses when implementing, refactoring, or reviewing frontend UI across SwiftUI, React, React Native, Flutter, web, or mobile apps.

    106 GitHub stars~2.4k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Frontend Design

    avibebuilder/claude-prime

    Builds distinctive, production-grade UIs that avoid generic AI aesthetics.

    120 GitHub stars~2.1k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Brutalist Typography

    sickn33/agentic-awesome-skills

    Web and App implementation guide for Brutalist Typography. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~2.2k tokens
    Frontend & DesignAuto-check passed
  • Uniwind

    Ohh-889/skyroc

    Uniwind — Tailwind CSS v4 styling for React Native. An agent skill from Ohh-889/skyroc.

    795 GitHub stars~1.4k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Migrate a React Native project from NativeWind to Uniwind. An agent skill from Ohh-889/skyroc.

    795 GitHub stars~6.1k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from weapp-tailwindcss/weapp-tailwindcss

All 10 skills in this repo
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Auto-check passed
  • Scientific Critical Thinking

    weapp-tailwindcss/weapp-tailwindcss

    Evaluate research rigor. An agent skill from weapp-tailwindcss/weapp-tailwindcss.

    1.9k GitHub starsUsed in 23 repos~5.9k tokens
    Auto-check: notes
  • Weapp Tailwindcss Custom Build

    weapp-tailwindcss/weapp-tailwindcss

    将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 weapp-tailwindcss/core、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source…

    1.9k GitHub stars~502 tokensUpdated today
    Auto-check passed
  • Weapp Tailwindcss

    weapp-tailwindcss/weapp-tailwindcss

    协调 weapp-tailwindcss 全端任务并提供当前安全基线。Use when 用户泛化地询问 weapp-tailwindcss、Tailwind CSS in mini-programs、Web CLI、React Native 或 ReactLynx,或尚未明确是接入、迁移、排障、运行时、自定义构建还是原生跨端集成;具体任务优先路由到对应专用 skill。

    1.9k GitHub stars~428 tokensUpdated today
    Auto-check passed
  • Weapp Tailwindcss Lynx

    weapp-tailwindcss/weapp-tailwindcss

    为 ReactLynx + Rspeedy 配置 @weapp-tailwindcss/lynx 0.3.2 与 Tailwind CSS 4,覆盖 Rspeedy plugin、Lynx 原生 CSS、静态 className、theme 变量静态化、任意值、encoder 警告和 iOS/Android 运行端验证。Use for ReactLynx, Rspeedy, Lynx…

    1.9k GitHub stars~374 tokensUpdated today
    Auto-check passed
  • Weapp Tailwindcss Migrate

    weapp-tailwindcss/weapp-tailwindcss

    将现有 weapp-tailwindcss 项目迁移到当前 v5/Tailwind CSS 4 生成链路,处理旧 weapp-tw patch、旧版 CLI init/Sass/Less/目录扫描、tailwindcss-patch、官方 PostCSS/Vite 插件、相对 cssEntries、H5 disabled、Webpack 4、Node/HBuilderX/ESM 要求。Use…

    1.9k GitHub stars~305 tokensUpdated today
    Auto-check passed

Questions about Weapp Tailwindcss Runtime

What does Weapp Tailwindcss Runtime do?

设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class…. Weapp Tailwindcss Runtime is an agent skill from weapp-tailwindcss/weapp-tailwindcss.

When should I use Weapp Tailwindcss Runtime?

Weapp Tailwindcss Runtime fits situations like: dynamic classes; runtime package selection; class escaping at runtime;不用于 bundler 初始接入、React Native 或 Lynx 编译器配置.

How do I install Weapp Tailwindcss Runtime in Claude Code?

Run `npx skills add weapp-tailwindcss/weapp-tailwindcss --skill weapp-tailwindcss-runtime -a claude-code`. Or copy the skill folder (skills/weapp-tailwindcss-runtime in weapp-tailwindcss/weapp-tailwindcss) into .claude/skills/weapp-tailwindcss-runtime in your project. Claude Code loads it when a task matches its description.

How do I install Weapp Tailwindcss Runtime in Codex?

Run `npx skills add weapp-tailwindcss/weapp-tailwindcss --skill weapp-tailwindcss-runtime -a codex`. Or copy the skill folder (skills/weapp-tailwindcss-runtime in weapp-tailwindcss/weapp-tailwindcss) into .agents/skills/weapp-tailwindcss-runtime in your project. Codex loads it when a task matches its description.

Can I use Weapp Tailwindcss Runtime in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add weapp-tailwindcss/weapp-tailwindcss --skill weapp-tailwindcss-runtime -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/weapp-tailwindcss-runtime, .gemini/skills/weapp-tailwindcss-runtime, .github/skills/weapp-tailwindcss-runtime and .opencode/skills/weapp-tailwindcss-runtime in your project.

What does Weapp Tailwindcss Runtime need to run?

SKILL.md names no scripts, command-line tools or credentials: Weapp Tailwindcss Runtime is instructions for the agent only.

Does Weapp Tailwindcss Runtime access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Weapp Tailwindcss Runtime safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Weapp Tailwindcss Runtime use?

Weapp Tailwindcss Runtime is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Weapp Tailwindcss Runtime use?

About 337 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Weapp Tailwindcss Runtime?

Skills that share tags, products or a category with Weapp Tailwindcss Runtime: Design System (WrongStack/WrongStack, 370 stars), Frontend UI Standards (MaxHan7/frontend-ui-standards-skill, 106 stars), Frontend Design (avibebuilder/claude-prime, 120 stars) and Brutalist Typography (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weapp Tailwindcss Runtime?

weapp-tailwindcss (a GitHub organization) maintains it in weapp-tailwindcss/weapp-tailwindcss, which has 1,864 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: weapp-tailwindcss/weapp-tailwindcss on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.