animation-with-worklets

Installation
SKILL.md

Worklet Scheduling

Overview

Guidelines for scheduling functions between JavaScript and UI threads using React Native Worklets. This skill covers when and how to use scheduleOnRN and scheduleOnUI, proper function definition patterns, and avoiding unnecessary worklet directives.

When to Apply

Reference these guidelines when:

  • Scheduling functions to run on UI thread from JS thread
  • Calling JS thread functions from UI thread worklets
  • Working with useAnimatedReaction or gesture handlers
  • Batching shared value updates
  • Implementing cross-thread communication in animations

Key Guidelines

Don't Use 'worklet' Directive Unless Explicitly Asked

Installs
24
GitHub Stars
23
First Seen
Feb 3, 2026
animation-with-worklets — sovranbitcoin/sovran