skyline-overview

skyline-overview is a skill for Claude Code, Codex from wechat-miniprogram/skyline-skills. It costs 68 tokens per session (1,740 once invoked), scanned A, original, MIT.

A reference skill for Skyline, WeChat Mini Programs’ rendering engine, including its architecture, setup requirements, differences from WebView, and migration guidance.

In plain words
What is it for?
Use it to learn Skyline concepts, compare it with WebView, check compatibility, plan migration, and find recommended practices.
Why use it?
It helps developers understand whether Skyline fits their project and what changes its configuration requires.

Skill for Claude CodeCodex

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

Good fit Use it to learn Skyline concepts, compare it with WebView, check compatibility, plan migration, and find recommended practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wechat-miniprogram/skyline-skills/skyline-overview
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-overview
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-overview

README.md
[![agentmods](https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-overview.svg)](https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-overview)
Your own site
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-overview"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-overview.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,740 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.00068 $0.01740
Opus 5 $0.00034 $0.00870
Sonnet 5 $0.00014 $0.00348
Haiku 4.5 $0.00007 $0.00174

Measured 8d ago against content hash 1d5e3fb59fc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

skyline-overview 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 8d 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-overview/SKILL.md · 220 lines

How it starts

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

Skyline 渲染引擎概览

适用场景

  • 初次了解 Skyline 渲染引擎
  • 评估是否迁移到 Skyline
  • 查看 Skyline 版本更新日志
  • 了解与 WebView 的差异和兼容性
  • 获取迁移步骤和最佳实践

核心概念

Skyline 是什么?

Skyline 是微信小程序的新一代渲染引擎,相比 WebView 有以下优势:

对比项 WebView Skyline
渲染线程 与 JS 逻辑同线程 独立渲染线程
页面内存 每页一个 WebView 共享渲染实例
首屏性能 较慢 快 66%+
光栅化 异步分块 同步(无白屏)
页面栈限制 最多 10 层 无限制(连续 Skyline 页面)

环境要求

平台 最低版本 基础库版本
Android 微信 8.0.40+ 3.0.2+
iOS 微信 8.0.40+ 3.0.2+
HarmonyOS 微信 1.0.10+ 3.11.3+
开发者工具 Stable 1.06.2307260+ -

快速开始配置

必需配置(app.json)

{
  "renderer": "skyline",
  "lazyCodeLoading": "requiredComponents",
  "componentFramework": "glass-easel",
  "rendererOptions": {
    "skyline": {
      "defaultDisplayBlock": true,
      "defaultContentBox": true,
      "tagNameStyleIsolation": "legacy",
      "enableScrollViewAutoSize": true,
      "keyframeStyleIsolation": "legacy"
    }
  }
}

页面配置(page.json)

{
  "navigationStyle": "custom",
  "disableScroll": true
}

⚠️ MUST: Skyline 不支持原生导航栏,必须设置 navigationStyle: custom 并自行实现导航栏。

文档索引

根据需求快速定位(路径相对于 references/):

我想要... 查阅文档
了解 Skyline 架构和优势 introduction/overview.md
查看支持的特性 introduction/features.md
查看性能对比数据 performance/comparison.md
开始迁移项目 migration/getting-started.md
处理兼容性问题 migration/compatibility.md
发布上线指南 migration/release.md
查看更新日志 changelog/changelog.md
检测 Skyline 支持 api/getSkylineInfo.md
预加载 Skyline 环境 api/preloadSkylineView.md

强制规则

MUST(必须遵守)

  1. 配置完整:app.json 必须包含 rendererlazyCodeLoadingcomponentFramework 三项
  2. 自定义导航:所有 Skyline 页面必须设置 navigationStyle: custom
  3. 局部滚动:使用 scroll-view 实现滚动,禁止依赖全局滚动
  4. 文本组件:纯文本必须用 <text> 组件包裹
  5. 预加载:跳转 Skyline 页面前调用 wx.preloadSkylineView()

NEVER(禁止行为)

  1. NEVER 使用原生导航栏配置(Skyline 不支持)
  2. NEVER 依赖 Page.onPageScroll 事件(使用 scroll-view 的滚动事件替代)
  3. NEVER 在 Skyline 页面使用 web-view 组件
  4. NEVER 假设所有 CSS 属性都支持(参考 WXSS 支持文档)

Read the full file on GitHub · 220 lines

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. 8d ago First seen · 220 lines · 68 tokens per session scan A 1d5e3fb59fc2

Subscribe to this mod's changes

skyline-overview is a skill published in the GitHub repository wechat-miniprogram/skyline-skills (53 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 1,740 once invoked, about $0.0003 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

animate-expo

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and…

emilkowalski/skills · 112 tokens

leanback-to-compose-tv-migration

Provides instructions and architectural patterns for migrating Android TV applications from legacy Leanback UI Toolkit, Android Views, or Support Fragments to Jetpack Compose for TV (androidx.tv). Use this skill for Leanback to Compose migrations, including browse screen, settings screen, authentication screen, login…

android/skills · 151 tokens

maui-data-binding

Guidance for .NET MAUI XAML and C# data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM best practices. USE FOR: setting up compiled bindings with x:DataType, implementing INotifyPropertyChanged or…

dotnet/skills · 180 tokens

web-haptics

Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.

lochie/web-haptics · 47 tokens

migrate-xml-views-to-jetpack-compose

Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…

android/skills · 98 tokens

axiom-swiftui

Use when building, fixing, or improving ANY SwiftUI UI — views, navigation, layout, animations, performance, architecture, gestures, debugging, iOS 26 features.

CharlesWiltgen/Axiom · 41 tokens