Individual skill
weapp-tailwindcss-lynx
为 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 native CSS, arbitrary value compatibility, or Lynx bundle styling;不用于 React Native、uni-app App、Web 或普通小程序构建。
skills/weapp-tailwindcss-lynx/SKILL.md
Source commit 30b9e52332aa7f7da1df460bd9f17255988e2037
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,865
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- mp Repository topic
- weapp Repository topic
- tailwindcss Repository topic
- webpack Repository topic
- postcss Repository topic
- mini Repository topic
- tailwind Repository topic
- vite Repository topic
- tarojs Repository topic
- uni-app Repository topic
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,214 bytesSKILL.mdcore · 2,214 bytesagents/openai.yamlasset · 280 bytesreferences/rspeedy-integration.mddoc · 2,596 bytes
Read excerpt
# weapp-tailwindcss Lynx
通过 Rspeedy/Rspack 构建图生成 Lynx 原生运行时可消费的 Tailwind CSS,保留 ReactLynx `className`,不引入运行时样式表或 JSX 转换。
完整的 `generator`、`rspack` 和固定平台字段见站点的 [ReactLynx / Rspeedy 配置参考](https://tw.weapp.dev/zh-cn/docs/config/react-lynx)。
## 工作流
1. 确认项目是 ReactLynx + Rspeedy,而不是 React Native、uni-app App 或 Rspeedy Web。
2. 检查 `@lynx-js/rspeedy`、Tailwind CSS、Node 与 `@weapp-tailwindcss/lynx` 版本。
3. 读取 [references/rspeedy-integration.md](references/rspeedy-integration.md),配置 `pluginLynxTailwindcss()` 和 theme + utilities CSS 入口。
4. 保持完整静态 `className` 或枚举;动态候选使用 `@source inline(...)`,不要拼接半截任意值。
5. 区分 Tailwind 已生成、Lynx encoder 已接受和真实运行端已生效三个层级。
6. 检查 Rspeedy 警告;业务 utility 被删除时调整属性或 selector,不把警告全部视为 preflight 噪声。