Skip to content

Skyline rendering engine overview and migration guide covering architecture, performance, and rollout steps for WeChat Mini Programs.

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

Own this skill? Claim it

What it does

  • Covers the Skyline architecture, performance gains over WebView, feature support, migration steps, and best practices
  • Includes required app.json and page.json settings, a migration checklist, a version-detection API (wx.getSkylineInfo), and a doc index into 13 reference files
  • Enforces rules such as navigationStyle: custom, scroll-view local scrolling, <text> wrapping, and no web-view on Skyline pages
  • Designed for developers first evaluating Skyline or estimating the cost of moving a Mini Program off WebView

Install

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

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

Files

Skyline 渲染引擎概览

适用场景

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

核心概念

Skyline 是什么?

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

对比项WebViewSkyline
渲染线程与 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 并自行实现导航栏。

文档索引

Details

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

Questions

What is the skyline-overview skill for?

The skyline-overview skill covers the Skyline rendering engine for WeChat Mini Programs, including its architecture, performance advantages, features, migration guide and best practices. It suits developers who are new to Skyline or need to assess the cost of migrating a project. It also lists the Skyline version changelog and differences from WebView.

How do I install the skyline-overview skill?

Run npx -y skills add wechat-miniprogram/skyline-skills --skill skyline-overview -y inside your project. Once installed, the agent can answer Skyline architecture and migration questions using the skill's reference documents.

Which Skyline versions and platforms does this skill cover?

The skill lists minimum WeChat versions and base library versions for Android, iOS and HarmonyOS, plus a minimum version for the developer tools. It also gives a required app.json setup with the skyline renderer and a page.json setup with a custom navigation style. Use it to check whether a project meets the requirements before migrating.

Where does skyline-overview stand in the Frontend and UI Code category?

It is one of the skills in the Frontend and UI Code category on Claude Marketplaces, listed alongside vercel-react-best-practices and web-design-guidelines. Unlike those general frontend guides, it focuses on WeChat's Skyline rendering engine and its migration path from WebView.

More from wechat-miniprogram/skyline-skills

All 7

Similar to Skyline Overview

More Frontend & UI Code