skyline-scroll-api

Control scroll-view and DraggableSheet components via the Skyline API.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill skyline-scroll-api-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skyline-scroll-api
Source: https://github.com/mymx2/foreman/tree/main/.qoder/skills.collected/skills/skyline-scroll-api
Command: npx skills add https://github.com/mymx2/foreman --skill skyline-scroll-api-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the complexity of managing advanced scroll-view behaviors and DraggableSheet interactions in the Skyline rendering engine, which often requires specific thread-aware API calls and lifecycle management.

Core Features & Use Cases

  • Programmatic Scroll Control: Trigger refreshes, two-level pages, and precise scroll positioning using ScrollViewContext.
  • Sheet Management: Control DraggableSheet expansion and collapse states with relative or absolute positioning.
  • High-Performance UI Thread Interaction: Utilize worklet-based scrolling for smooth, gesture-driven animations that bypass logic-thread bottlenecks.

Quick Start

Use the skyline-scroll-api skill to implement a programmatic refresh trigger on a scroll-view component with the enhanced attribute enabled.

Frequently Asked Questions about skyline-scroll-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically control scroll-view positioning in the Skyline rendering engine?

You can control scroll-view positioning in the Skyline rendering engine by using ScrollViewContext to trigger precise scroll placements, pull-to-refresh, and two-level page navigation programmatically.

How do I manage DraggableSheet expansion and collapse states in a miniprogram?

Manage DraggableSheet expansion and collapse states in a miniprogram by applying relative or absolute positioning APIs to control the exact sheet expansion and collapse behaviors.

How do worklets improve scroll-view interactions on the UI thread?

Worklets improve scroll-view interactions by executing scroll and gesture-driven animations directly on the UI thread, bypassing logic-thread bottlenecks to maintain smooth high-performance scrolling.

Why do my Skyline scroll-view API calls fail or behave unexpectedly?

Skyline scroll-view API calls fail when thread-specific requirements are mismatched or lifecycle references are mismanaged, requiring correct implementation of enhanced attributes and thread-aware worklet calls.

Do I need enhanced attributes enabled for pull-to-refresh in Skyline scroll-view?

Yes, you must enable the enhanced attribute on the scroll-view component to successfully trigger programmatic pull-to-refresh and utilize advanced ScrollViewContext APIs in Skyline.