·animation-with-worklets
*

animation-with-worklets

sovranbitcoin/sovran

Fournit des directives React Native Worklets pour la planification des fonctions entre les threads JS et UI. S'applique aux tâches impliquant ScheduleOnRN, ScheduleOnUI, les worklets, la planification des threads, useAnimatedReaction, les gestionnaires de gestes ou les appels de fonction cross-thread.

6Installations·1Tendance·@sovranbitcoin

Installation

$npx skills add https://github.com/sovranbitcoin/sovran --skill animation-with-worklets

SKILL.md

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.

Never use the "worklet" directive unless explicitly requested. In 99.9% of cases, there is no need to use it. scheduleOnUI handles worklet conversion automatically, so the directive is unnecessary. This also applies to gesture detector callbacks - you don't need to add the "worklet" directive in gesture handler callbacks.

Use scheduleOnRN and scheduleOnUI from react-native-worklets instead of runOnJS and runOnUI from react-native-reanimated.

Fournit des directives React Native Worklets pour la planification des fonctions entre les threads JS et UI. S'applique aux tâches impliquant ScheduleOnRN, ScheduleOnUI, les worklets, la planification des threads, useAnimatedReaction, les gestionnaires de gestes ou les appels de fonction cross-thread. Source : sovranbitcoin/sovran.

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/sovranbitcoin/sovran --skill animation-with-worklets
Catégorie
*Créativité
Vérifié
Première apparition
2026-02-05
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que animation-with-worklets ?

Fournit des directives React Native Worklets pour la planification des fonctions entre les threads JS et UI. S'applique aux tâches impliquant ScheduleOnRN, ScheduleOnUI, les worklets, la planification des threads, useAnimatedReaction, les gestionnaires de gestes ou les appels de fonction cross-thread. Source : sovranbitcoin/sovran.

Comment installer animation-with-worklets ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/sovranbitcoin/sovran --skill animation-with-worklets Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

https://github.com/sovranbitcoin/sovran