skyline-wxss

skyline-wxss is a skill for Claude Code, Codex from wechat-miniprogram/skyline-skills. It costs 124 tokens per session (2,607 once invoked), scanned A, original, MIT.

A reference and checking tool for WXSS, the CSS-like styling language used by WeChat Mini Programs running with Skyline.

In plain words
What is it for?
Use it to check supported layout, text, visual, animation, and transition styles with the Skyline command-line checker.
Why use it?
It helps prevent styles from being ignored when CSS properties or values are unsupported by Skyline.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check supported layout, text, visual, animation, and transition styles with the Skyline command-line checker.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wechat-miniprogram/skyline-skills/skyline-wxss
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wechat-miniprogram/skyline-skills --skill skyline-wxss
Clone the repo
git clone --depth 1 https://github.com/wechat-miniprogram/skyline-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skyline-wxss

README.md
[![agentmods](https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-wxss/github.svg)](https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-wxss)
Your own site
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-wxss"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-wxss/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skyline-wxss

Your own site · 80×15
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-wxss"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-wxss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Mar 2026
  • Snyk pass 26 Mar 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.02607
Opus 5 $0.00062 $0.01303
Sonnet 5 $0.00025 $0.00521
Haiku 4.5 $0.00012 $0.00261

Measured 10d ago against content hash 3ccae9361444, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

skyline-wxss scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/skyline-wxss/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 属性

以下属性设置后不生效

属性 分类 替代方案
float 布局 使用 flex 布局
contain 布局 使用 -wx-contain
resize 布局 无替代
writing-mode 文本 无替代
text-indent 文本 使用 padding-left 模拟
overflow-wrap 文本 使用 word-break
text-decoration-thickness 文本 无替代
background-attachment 背景 无替代
background-clip 背景 无替代
background-origin 背景 无替代
mask-origin / mask-clip / mask-mode 遮罩 无替代
justify-items Flex 无替代
list-style-type / list-style-image / list-style-position 列表 无替代

MUST: 使用支持的属性值

部分属性可用但特定值不支持,会被静默忽略:

Incorrect:

.container {
  display: grid;           /* grid 不支持 */
  position: sticky;        /* sticky 不支持 */
  overflow: auto;          /* auto 不支持 */
}

Correct:

.container {
  display: flex;           /* 使用 flex 替代 grid */
  position: relative;      /* sticky 需使用 sticky-header 组件 */
  overflow: hidden;        /* 使用 hidden,滚动用 scroll-view */
}

Read the full file on GitHub · 223 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 223 lines · 124 tokens per session scan A 3ccae9361444

Subscribe to this mod's changes

skyline-wxss is a skill published in the GitHub repository wechat-miniprogram/skyline-skills (53 stars, last pushed 3mo ago), licensed MIT. It adds 124 tokens to every session and 2,607 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

tailwindcss

Tailwind CSS v4 conventions — semantic design tokens for theme-safe styling, mobile-first responsive layouts, and v4-first utilities. Use when styling components or writing className utilities with Tailwind. Don't use for plain CSS, CSS-in-JS (styled-components, emotion), or other utility frameworks.

compozy/compozy · 64 tokens