skyline-route

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

A Skyline routing and page-transition guide for a mobile interface framework. It covers preset and custom animations, return gestures, card-to-detail transitions, and the Router API used to manage page navigation.

In plain words
What is it for?
Use it to implement custom route animations, preset transitions, swipe-back gestures, half-screen navigation, card expansion into detail pages, route events, and navigation through navigateTo.
Why use it?
It gives developers documented patterns for building page changes such as half-screen panels, zoom effects, bottom sheets, and expanding cards. It also clarifies that custom transitions work only between Skyline pages, not WebView pages.

Skill for Claude CodeCodex

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

Good fit Use it to implement custom route animations, preset transitions, swipe-back gestures, half-screen navigation, card expansion into detail pages, route events, and navigation through navigateTo.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-route/github.svg)](https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-route)
Your own site
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-route"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-route/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-route

Your own site · 80×15
<a href="https://agentmods.dev/skills/wechat-miniprogram/skyline-skills/skyline-route"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/skyline-skills/skyline-route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,030 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 15 Sept 2026
  • Snyk pass 15 Sept 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.00118 $0.02030
Opus 5.5 $0.00047 $0.00812
Sonnet 5.5 $0.00024 $0.00406
Haiku 4.5 $0.00012 $0.00203

Measured 1mo ago against content hash ac9e8c3f9aad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skyline-route 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 1mo 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-route/SKILL.md · 199 lines

How it starts

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

Skyline 自定义路由与页面转场

适用场景

  • 实现自定义页面转场动画(半屏、缩放、渐显等)
  • 使用预设路由快速实现常见转场效果
  • 配置页面返回手势(横向/纵向/多方向)
  • 实现卡片展开到详情页的容器转场动画
  • 通过 Router API 管理自定义路由

核心概念

路由能力层级

层级 能力 适用场景
预设路由 一行代码使用 7 种内置效果 快速实现常见转场
自定义路由 通过 routeBuilder 完全控制动画 高度定制化转场
容器转场 <open-container> 元素级过渡 卡片展开到详情页

动画控制器

属性 说明
primaryAnimation 页面进入/退出动画进度(0→1 进入,1→0 退出)
secondaryAnimation 下一页进入时当前页动画进度(与下一页 primaryAnimation 同步)
userGestureInProgress 当前路由进度是否由手势控制
startUserGesture / stopUserGesture 手势接管/释放路由控制
didPop 确认返回上一页

文档索引

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

我想要... 查阅文档
了解自定义路由原理和接口 custom-route/custom-route-guide.md
查看半屏/手势返回代码模式 custom-route/route-patterns.md
快速使用预设路由 preset-route/preset-route.md
配置页面返回手势 pop-gesture/pop-gesture.md
实现卡片展开转场 open-container/open-container.md
查看 Router API api/router-api.md
了解 navigateTo 路由参数 api/navigate-to.md
监听路由事件 api/route-events.md

强制规则

MUST(必须遵守)

  1. 自定义路由仅在连续 Skyline 页面间生效:WebView 页面不支持自定义路由

    // ✅ A 页(Skyline) → B 页(Skyline):自定义路由生效
    // ❌ A 页(WebView) → B 页(Skyline):降级为默认路由
    
  2. 动画处理函数必须声明 'worklet' 指令:

    // ✅ 正确
    const handlePrimaryAnimation = () => {
      'worklet'
      return { transform: `translateX(${...}px)` }
    }
    
    // ❌ 错误:缺少 worklet 指令,无法在 UI 线程执行
    const handlePrimaryAnimation = () => {
      return { transform: `translateX(${...}px)` }
    }
    
  3. 手势接管必须成对调用 startUserGesture / stopUserGesture:

    // ✅ 正确
    handleDragStart() {
      'worklet'
      this.customRouteContext.startUserGesture()
    }
    handleDragEnd() {
      'worklet'
      // ... 动画完成回调中:
      stopUserGesture()
    }
    
  4. 确认返回时必须调用 didPop:引擎无法自动判断开发者是否要退出页面

    // ✅ 正确:动画完成后调用 didPop
    primaryAnimation.value = timing(0.0, { duration }, () => {
      'worklet'
      didPop()
      stopUserGesture()
    })
    

Read the full file on GitHub · 199 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. 1mo ago First seen · 199 lines · 118 tokens per session scan A ac9e8c3f9aad

Subscribe to this mod's changes

skyline-route is a skill published in the GitHub repository wechat-miniprogram/skyline-skills (55 stars, last pushed 4mo ago), licensed MIT. It adds 118 tokens to every session and 2,030 once invoked, about $0.0005 per session on Opus 5.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

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp: publish the Windows head first, then point packaging at the resolved resizetizer manifest. Use for a MAUI MSIX or signed unpackaged build, MAUI packaging in CI, or 'manifest contains unresolved placeholders' errors from winapp package.

microsoft/winappCli · 68 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens