Toolverse
All skills

1k-performance

by OneKeyHQ

Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
OneKeyHQ
Category
Mobile
Views
23

About this skill

Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.

How to use

  1. Zainstaluj skill w swoim projekcie monorepo OneKey, wskazując ścieżkę do katalogu .claude/skills/1k-performance. Skill będzie dostępny jako asystent do analizy kodu React i React Native.

  2. Gdy pracujesz nad komponentem lub funkcją, poproś skill o przeanalizowanie wydajności. Skill ma dostęp do narzędzi Read, Grep i Glob, dzięki czemu może skanować Twój kod i identyfikować problemy.

  3. Dla wielu jednoczesnych requestów API zastosuj wzorzec executeBatched z limitem 3-5 równoczesnych zadań zamiast Promise.all na całej tablicy. Skill pokaże Ci przykład implementacji.

  4. W listach z 100+ elementami użyj FlashList zamiast FlatList i ustaw windowSize={5}. Skill pomoże Ci zidentyfikować miejsca, gdzie ta optymalizacja będzie najskuteczniejsza.

  5. Dla kosztownych obliczeń i re-renderów zastosuj memo, useMemo i useCallback. Skill wskaże komponenty i funkcje, które powinny być memoizowane na podstawie analizy Twojego kodu.

  6. Dla operacji blokujących UI (ciężkie przetwarzanie) użyj InteractionManager lub setTimeout. Skill zweryfikuje, czy Twoje długotrwałe zadania są prawidłowo odłożone od głównego wątku.

Related skills

openscad

by mitsuhiko

Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.

Mobile
4291

flutter-development

by aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

Mobile
1,1601,122

flutter-expert

by sickn33

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or

Mobile
54112

analyzing-financial-statements

by anthropics

This skill calculates key financial ratios and metrics from financial statement data for investment analysis

Mobile
16113

swift-best-practices

by sammcj

This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6

Mobile
36140

create-plan

by antinomyhq

Generate detailed implementation plans for complex tasks. Creates comprehensive strategic plans in Markdown format with objectives, step-by-step implementation tasks using checkbox format, verification criteria, risk assessments, and alternative approaches. Use when users need

Mobile
13108