Agent skill

Weapp Tailwindcss Custom Build

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

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

MITAuto-check passedFrontend & Design

Install Weapp Tailwindcss Custom Build

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

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

GitHub CLI
$ gh skill install weapp-tailwindcss/weapp-tailwindcss weapp-tailwindcss-custom-build --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-custom-build .claude/skills/weapp-tailwindcss-custom-build && 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-custom-build
GitHub stars
1.9k
Token cost
~502 tokens
SKILL.md length
143 words
Files
4 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 8 steps: 先判断官方 Vite/Webpack/Rspack/Gulp… → 确认调用方拥有的生命周期、模块图、CSS 生成结果、asset… → 读取 references/core-api.md 设计… → …
  • Custom bundlers
  • SKILL.md covers 工作流, 不可破坏的边界 and 输出要求
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Weapp Tailwindcss Custom Build is an agent skill from weapp-tailwindcss/weapp-tailwindcss. 将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 weapp-tailwindcss/core、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source map、weapp-style-injector 和分包样式隔离。Use for custom bundlers, Node API, build adapters, asset graphs, loaders, plugins, or subpackage style injection;普通框架与 CLI 配置使用 setup skill。

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml`, `references/core-api.md` and `references/style-injection.md`).

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

When your agent uses it

  • Custom bundlers
  • Subpackage style injection;普通框架与 CLI 配置使用 setup skill

Example prompts

  • “/weapp-tailwindcss-custom-build”

Workflow steps

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

  1. 先判断官方 Vite/Webpack/Rspack/Gulp 入口是否已满足需求;普通项目转到 $weapp-tailwindcss-setup。
  2. 确认调用方拥有的生命周期、模块图、CSS 生成结果、asset API、watch 事件和 source map 能力。
  3. 读取 references/core-api.md 设计 createCompiler() 的 root、snapshot、失效和转换时序;仅在兼容旧自动 runtime 流程时使用 createContext()。
  4. 涉及全局/分包样式注入时再读取 references/style-injection.md。
  5. 在 load、transform、loader result、compilation、bundle asset 或 stream/Vinyl 对象中维护源码和产物关系。
  6. watch 中把精确 dependency/module ID 交给 invalidate(),只重新生成返回的 root,再用新 snapshot 转换实际可达的模板和 JavaScript。
  7. 让初始扫描、transform 与 HMR 共用 Scanner 的文件范围和显式外部 source,不另建宽泛 glob。
  8. 通过 bundler API 写回产物和 source map,不直接修改输出目录。

What it can do on your machine

Read from SKILL.md and the folder at commit 7b3c2c1. 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 Custom Build loads about 502 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 143 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~502
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.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 7b3c2c1, republished under its MIT licence (© weapp-tailwindcss). 143 words, ~502 tokens.

Download SKILL.mdSave it as .claude/skills/weapp-tailwindcss-custom-build/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
weapp-tailwindcss-custom-build
description
将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 `weapp-tailwindcss/core`、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source map、weapp-style-injector 和分包样式隔离。Use for custom bundlers, Node API, build adapters, asset graphs, loaders, plugins, or subpackage style injection;普通框架与 CLI 配置使用 setup skill。

weapp-tailwindcss custom build

围绕构建图和内存产物接入核心转换,避免用输出目录扫描补偿生命周期设计缺失。

工作流

  1. 先判断官方 Vite/Webpack/Rspack/Gulp 入口是否已满足需求;普通项目转到 $weapp-tailwindcss-setup。
  2. 确认调用方拥有的生命周期、模块图、CSS 生成结果、asset API、watch 事件和 source map 能力。
  3. 读取 references/core-api.md 设计 createCompiler() 的 root、snapshot、失效和转换时序;仅在兼容旧自动 runtime 流程时使用 createContext()。
  4. 涉及全局/分包样式注入时再读取 references/style-injection.md。
  5. 在 load、transform、loader result、compilation、bundle asset 或 stream/Vinyl 对象中维护源码和产物关系。
  6. watch 中把精确 dependency/module ID 交给 invalidate(),只重新生成返回的 root,再用新 snapshot 转换实际可达的模板和 JavaScript。
  7. 让初始扫描、transform 与 HMR 共用 Scanner 的文件范围和显式外部 source,不另建宽泛 glob。
  8. 通过 bundler API 写回产物和 source map,不直接修改输出目录。

官方 Vite、Webpack、Rspack 与 Gulp 适配器的 graph 路径已经共享 compiler session:每个插件 owner 只创建一个 compiler,按 scope 投影可达 root 的 snapshot。第三方框架可以复用同样的时序,但必须继续拥有自己的模块图、watch 调度和 asset/Vinyl 写回;不要把 bundler 对象传入 core,也不要把 module ID 当作文件系统路径。

不可破坏的边界

  • createCompiler() 管理 Tailwind root 会话、revision 和不可变 snapshot;它不接管模块图可达性、watch 调度或产物写回。
  • 同一构建周期复用 compiler,并让 CSS、模板和 JS 显式消费同一 snapshot。
  • createContext() 继续兼容自动 runtime 收集模式,不要把两种状态模型混在同一事务中。
  • transformWxss()、transformWxml()、transformJs() 返回类型不同,必须分别处理错误和 map。
  • snapshot classSet 来自 Tailwind 生成/验证结果,不把扫描到的所有字符串直接塞入集合。
  • module ID 是 opaque 值;invalidate() 不会替调用方规范化 POSIX、Windows、virtual ID 或 query。
  • 入口发现若确需文件系统扫描,集中在明确扫描层并测试;不要在 generateBundle 等后置阶段临时读源码。
  • Rspack rule condition 解析必须覆盖函数与组合条件,补丁保持幂等并仅作用于目标 CSS rule。

输出要求

输出生命周期图、数据所有权、API 调用时序、错误/缓存策略、产物写回方式和 watch 回归场景。

© 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 3 other files (references) in skills/weapp-tailwindcss-custom-build of weapp-tailwindcss/weapp-tailwindcss.

  • SKILL.md
  • agents/openai.yaml
  • references/core-api.md
  • references/style-injection.md

Open the folder on GitHubat commit 7b3c2c1

Compare with similar skills

Weapp Tailwindcss Custom Build 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 Custom Build compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weapp Tailwindcss Custom Build this skillweapp-tailwindcss/weapp-tailwindcss1.9k—~502Automated safety check: PassMIT
Cross Platform Tauri UIifer47/markeron1.2k—~2kAutomated safety check: PassMIT
Tailwind Theme Builderjezweb/claude-skills1.1k1 repos~3.2kAutomated safety check: PassMIT
Frontend UI FunctionalvictorGPT/vibeusage131—~939Automated safety check: PassMIT
Tailwind V4 Shadcnever-works/ever-works1582 repos~3.8kAutomated safety check: PassMIT
Vue Component Developmentgdarko/laravel-vue-starter145—~1.1kAutomated safety check: PassMIT

Similar skills

  • Cross-platform UI styling for MarkerOn Tauri app (macOS WKWebView vs Windows WebView2).

    1.2k GitHub stars~2k tokensUpdated 8 days ago
    Frontend & DesignAuto-check passed
  • Tailwind Theme Builder

    jezweb/claude-skills

    Set up Tailwind v4 + shadcn/ui themed UI with dark mode. An agent skill from jezweb/claude-skills.

    1.1k GitHub starsUsed in 1 repo~3.2k tokens
    Frontend & DesignAuto-check passed
  • Frontend UI Functional

    victorGPT/vibeusage

    A skill your agent uses when building or refactoring functional React/Vite/Tailwind UI pages, templates, or component libraries that need consistent structure, tokenized styling, accessibility…

    131 GitHub stars~939 tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Tailwind V4 Shadcn

    ever-works/ever-works

    Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.

    158 GitHub starsUsed in 2 repos~3.8k tokens
    Frontend & DesignAuto-check passed
  • Vue Component Development

    gdarko/laravel-vue-starter

    Activate when creating or modifying Vue 3 components, pages, layouts, stores, or services in the frontend.

    145 GitHub stars~1.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • Rasengan Config

    rasengan-dev/rasenganjs

    Project configuration and rendering mode patterns for Rasengan.js.

    125 GitHub stars~1.1k tokensUpdated today
    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

    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
  • Weapp Tailwindcss React Native

    weapp-tailwindcss/weapp-tailwindcss

    为 Expo/React Native 配置 @weapp-tailwindcss/react-native 0.2.5 的 Tailwind CSS 4 编译器、Metro virtual module、Babel JSX transform、style manifest、tw runtime、dark/ios/android/native variants。Use for Expo SDK…

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

Questions about Weapp Tailwindcss Custom Build

What does Weapp Tailwindcss Custom Build do?

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

When should I use Weapp Tailwindcss Custom Build?

Weapp Tailwindcss Custom Build fits situations like: custom bundlers; subpackage style injection;普通框架与 CLI 配置使用 setup skill.

How do I install Weapp Tailwindcss Custom Build in Claude Code?

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

How do I install Weapp Tailwindcss Custom Build in Codex?

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

Can I use Weapp Tailwindcss Custom Build 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-custom-build -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-custom-build, .gemini/skills/weapp-tailwindcss-custom-build, .github/skills/weapp-tailwindcss-custom-build and .opencode/skills/weapp-tailwindcss-custom-build in your project.

What does Weapp Tailwindcss Custom Build need to run?

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

Does Weapp Tailwindcss Custom Build 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 Custom Build 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 Custom Build use?

Weapp Tailwindcss Custom Build 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 Custom Build use?

About 502 tokens (SKILL.md is roughly 2k 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.9k tokens, read only when the agent opens those files.

What are the alternatives to Weapp Tailwindcss Custom Build?

Skills that share tags, products or a category with Weapp Tailwindcss Custom Build: Cross Platform Tauri UI (ifer47/markeron, 1.2k stars), Tailwind Theme Builder (jezweb/claude-skills, 1.1k stars), Frontend UI Functional (victorGPT/vibeusage, 131 stars) and Tailwind V4 Shadcn (ever-works/ever-works, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weapp Tailwindcss Custom Build?

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 7, 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.