skyline-components

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

A development guide for Skyline, a mobile interface framework, covering scrolling, carousels, forms, images, text, draggable panels, and page animations. It also documents Skyline-specific components such as list views, grid views, sticky headers, and shared-element transitions.

In plain words
What is it for?
Use it to build long or nested scrolling lists, grids, pull-to-refresh interactions, carousels, forms, image and text displays, draggable half-screen panels, sticky sections, and transitions between pages.
Why use it?
It helps developers find the right Skyline component and its supported options without piecing together scattered documentation. It also explains which patterns fit common interface tasks.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/wechat-miniprogram/skyline-skills/skyline-components
Any agent
npx skills add wechat-miniprogram/skyline-skills --skill skyline-components
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-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-components.svg)](https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-components)
Your own site
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-components"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-components.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,976 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00081 $0.02976
Opus 5 $0.00041 $0.01488
Sonnet 5 $0.00016 $0.00595
Haiku 4.5 $0.00008 $0.00298

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

Security

Grade A, and why

skyline-components 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 6d 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-components/SKILL.md · 443 lines

How it starts

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

Skyline 组件开发指南

适用场景

  • 开发滚动列表/瀑布流/网格布局
  • 实现下拉刷新、下拉二级功能
  • 使用嵌套滚动模式
  • 开发轮播图、卡片切换效果
  • 处理表单输入(input/textarea)
  • 实现共享元素/页面转场动画
  • 开发半屏可拖拽面板

组件支持概览

完全支持的高频组件

组件 Skyline 特性增强
scroll-view type 模式、worklet 回调、嵌套滚动、下拉二级
swiper layout-type 堆叠/卡片、indicator 动画类型
text overflow 文本溢出处理、max-lines
image fade-in 渐显、默认懒加载
input/textarea worklet 键盘回调、输入法事件
view/button 完全支持

Skyline 新增组件

组件 说明
list-view 列表布局容器
grid-view 网格/瀑布流容器
sticky-section/sticky-header 吸顶布局
nested-scroll-header/body 嵌套滚动
draggable-sheet 半屏可拖拽
share-element 共享元素动画
snapshot 截图组件
span 内联混排

文档索引

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

我想要... 查阅文档
实现长列表/虚拟列表 scroll/scroll-view.md
下拉刷新/下拉二级 scroll/scroll-view.md#下拉刷新
嵌套滚动 scroll/nested-scroll.md
列表/网格布局 scroll/list-grid-view.md
吸顶效果 scroll/sticky.md
半屏拖拽面板 scroll/draggable-sheet.md
轮播图/卡片效果 layout/swiper.md
文本处理 media/text.md
图片显示 media/image.md
输入框开发 form/input.md
共享元素动画 special/share-element.md
截图功能 special/snapshot.md

强制规则

MUST(必须遵守)

  1. scroll-view 必须指定 type:Skyline 下使用 scroll-view 必须设置 type 属性

    <!-- ✅ 正确 -->
    <scroll-view type="list" scroll-y>...</scroll-view>
    
    <!-- ❌ 错误:缺少 type -->
    <scroll-view scroll-y>...</scroll-view>
    
  2. 横向滚动需 enable-flex:横向滚动需同时开启 enable-flex 以兼容 WebView

    <scroll-view scroll-x enable-flex style="flex-direction: row;">
    
  3. 文本必须用 text 组件:内联文本只能用 <text> 组件

    <!-- ✅ 正确 -->
    <text>Hello <text>World</text></text>
    
    <!-- ❌ 错误:内联文本不能用 view -->
    <view>Hello <view>World</view></view>
    
  4. list-view/grid-view 必须在 custom 模式

    <scroll-view type="custom" scroll-y>
      <list-view>...</list-view>
    </scroll-view>
    
  5. 嵌套滚动必须使用 nested 模式

    <scroll-view type="nested" scroll-y>
      <nested-scroll-header>...</nested-scroll-header>
      <nested-scroll-body>...</nested-scroll-body>
    </scroll-view>
    

Read the full file on GitHub · 443 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. 6d ago First seen · 443 lines · 81 tokens per session scan A d030aadc090f

Subscribe to this mod's changes

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

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

weapp-tailwindcss-react-native

为 Expo/React Native 配置 @weapp-tailwindcss/react-native 0.2.5 的 Tailwind CSS 4 编译器、Metro virtual module、Babel JSX transform、style manifest、tw runtime、dark/ios/android/native variants。Use for Expo SDK 54+, React Native 0.81+, Metro, native className, Android/iOS style compilation;不用于 uni-app App、ReactLynx 或普通小程序构建。.

sonofmagic/weapp-tailwindcss · 104 tokens

ionic

Ionic development guidelines for building cross-platform mobile applications with Angular, Cordova, and Firebase integration.

Mindrally/skills · 22 tokens

mobile-ux-optimizer

Mobile-first UX optimization for touch interfaces, responsive layouts, and performance. Use for viewport handling, touch targets, gestures, mobile navigation. Activate on mobile, touch, responsive, dvh, viewport, safe area, hamburger menu. NOT for native app development (use React Native skills), desktop-only…

curiositech/some_claude_skills · 76 tokens

expo-tailwind-setup

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling.

zai-org/Synapse · 27 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens