Skyline

From bighardperson/computer-science-skills-collection · View interactive version

Skyline is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. WeChat Mini Program Skyline rendering engine. Use when developing with Skyline renderer, including components (scroll-view, swiper, draggable-sheet), WXSS styles, worklet animations, custom routes/transitions, scroll APIs, and Skyline configuration/migration. Trigger keywords: Skyline, Skyline渲染引擎,

How to use this skill

Skill file

Skyline 渲染引擎技能

微信小程序 Skyline 渲染引擎的完整开发指南,涵盖组件、样式、动画、路由、滚动 API 和配置迁移。

When to Use This Skill

This skill should be triggered when:

Module Reference Guide

This skill is organized into 7 modules. Use Read tool to access specific reference files when detailed information is needed.

1. Overview — 概览与迁移指南

Path: references/overview/SKILL.md

Skyline architecture, performance advantages, feature overview, migration guide and best practices.

2. Config — JSON 配置规范

Path: references/config/SKILL.md

app.json, page.json, and project.config.json configuration for Skyline.

3. Components — 组件开发指南

Path: references/components/SKILL.md

scroll-view enhanced modes, swiper, form components, media, draggable-sheet, share-element, snapshot.

4. WXSS — 样式支持

Path: references/wxss/SKILL.md

CSS property support and limitations under Skyline.

5. Worklet — 动画系统

Path: references/worklet/SKILL.md

Worklet functions, SharedValue, timing/spring/decay animations, easing, and thread communication.

6. Route — 自定义路由与转场

Path: references/route/SKILL.md

Custom route animations, preset routes, pop gesture, open-container, and Router API.

7. Scroll API — 滚动控制 API

Path: references/scroll-api/SKILL.md

ScrollViewContext, DraggableSheetContext, worklet scroll context.

Quick Start

Enable Skyline in app.json

{
  "renderer": "skyline",
  "rendererOptions": {
    "skyline": {
      "defaultDisplayBlock": true,
      "defaultContentBox": true,
      "disableABTest": true
    }
  },
  "componentFramework": "glass-easel",
  "lazyCodeLoading": "requiredComponents"
}

Basic Page Structure

<scroll-view type="list" scroll-y style="height: 100vh">
  <view class="container">
    <!-- Page content -->
  </view>
</scroll-view>

Note: In Skyline, pages do not scroll by default. You must use <scroll-view> for scrollable content.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.