Skip to content

Reference lookup for which CSS properties, values, and limits Skyline supports in WXSS styles.

CCM score
66 of 100
skills.sh installs
1.1K
GitHub stars
58
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the unsupported-property list with replacements, plus values silently ignored (grid, sticky, overflow auto)
  • Lists gradient, background and mask multi-value, calc(), text-overflow, and filter limits, with skyline-cli wxss check for syntax validation
  • Documents non-standard defaults (display flex, position relative, box-sizing border-box) and the reference files for basics, layout, flex, visual, text, and animation
  • Designed for migrating from WebView, debugging WXSS styles that do not take effect under Skyline, and checking property support

Install

$ npx -y skills add wechat-miniprogram/skyline-skills --skill skyline-wxss -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Skyline WXSS 样式支持

适用场景

  • 检查某个 CSS 属性/值在 Skyline 下是否可用
  • 排查 WXSS 样式在 Skyline 下不生效的问题
  • 从 WebView 迁移到 Skyline 时评估样式兼容性
  • 使用渐变、滤镜、遮罩等高级样式时了解限制
  • 查阅 Skyline 支持的 CSS 属性语法

文档索引

我想要...查阅文档
查看基础数据类型与语法符号references/basics.md
查看布局/定位/盒模型语法references/layout.md
查看 Flex 布局语法references/flex.md
查看背景/边框/滤镜/遮罩语法references/visual.md
查看文本/字体语法references/text.md
查看动画/过渡/变换语法references/animation.md
查看某属性是否支持本文档 Quick Reference
了解渐变/滤镜的具体限制本文档「渐变与滤镜限制」规则
检查 WXSS 语法本文档 「WXSS CLI」

WXSS CLI

请务必调用 skyline CLI 对 WXSS 进行检查,确保用法正确。

npx skyline-cli --help

列出所有支持的 WXSS 属性

npx skyline-cli wxss list

从 stdin 读取 WXSS 文本并检查语法

echo "view { color: red;  }" | npx skyline-cli wxss check --json

检查小程序工程内的 WXSS 文件

npx skyline-cli wxss check --json --miniprogram-root ${PROJECT_ROOT} --files pages/index/index.wxss pages/list/list.wxss

强制规则

NEVER: 使用不支持的 CSS 属性

以下属性设置后不生效:

Details

Repository
github.com/wechat-miniprogram/skyline-skills
Categories
Frontend & UI Code, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the skyline-wxss skill do?

It gives agents the CSS properties, values and limits that Skyline, the WeChat Mini Program rendering engine, supports. It helps check whether a WXSS style works under Skyline and why a style may not take effect. It also lists the rules for gradients, filters, masks and backgrounds.

How do I install the skyline-wxss skill?

Run npx -y skills add wechat-miniprogram/skyline-skills --skill skyline-wxss -y in your project. The agent can then check WXSS syntax using the skyline CLI, for example with npx skyline-cli wxss check.

Which skills lead the Frontend & UI Code category next to skyline-wxss?

The other top skills in this category include vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. skyline-wxss is narrower than these, covering only Skyline WXSS style support.

More from wechat-miniprogram/skyline-skills

All 7

Similar to Skyline Wxss

More Frontend & UI Code