Toolverse
All skills

lokalise-performance-tuning

by jeremylongshore

Optimize Lokalise API performance with caching, pagination, and bulk operations.\nUse when experiencing slow API responses, implementing caching strategies,\nor optimizing request throughput for Lokalise integrations.\nTrigger with phrases like \

Installation

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

Installation

Quick info

Category
Backend

About this skill

Optimize Lokalise API performance with caching, pagination, and bulk operations.\nUse when experiencing slow API responses, implementing caching strategies,\nor optimizing request throughput for Lokalise integrations.\nTrigger with phrases like \

How to use

  1. Upewnij się, że masz zainstalowany SDK @lokalise/node-api w wersji 9+ (ESM) lub dostęp do REST API Lokalise. Ustaw zmienną środowiskową LOKALISE_API_TOKEN z Twoim kluczem API.
  2. Zidentyfikuj rozmiar projektu — liczbę kluczy i języków — aby prawidłowo skalibrować rozmiary partii. Dla projektów z 5K+ kluczy paginacja kursorowa będzie znacznie szybsza niż offset pagination.
  3. Wdrażaj paginację kursorową w swoim kodzie, ustawiając limit na 500 kluczy na request (maksimum dozwolone) i używając parametru cursor do iteracji przez wyniki. Pozwala to uniknąć degradacji wydajności związanej z pomijaniem wierszy.
  4. Implementuj lokalne cache'owanie (Redis lub biblioteka LRU) dla wyników API, aby zmniejszyć liczbę powtarzających się żądań i przyspieszić dostęp do danych translacyjnych.
  5. Grupuj operacje na kluczach w partie do 500 elementów na request, respektując limit 6 żądań na sekundę. Throttling zapobiega przekroczeniu limitów API i stabilizuje przepustowość.
  6. Opcjonalnie pobieraj selektywnie tylko języki, które są potrzebne w danym momencie, zamiast całego projektu, aby zmniejszyć rozmiar transferu danych.

Related skills

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

clickup

by civitai

Interact with ClickUp tasks and documents - get task details, view comments, create and manage tasks, create and edit docs. Use when working with ClickUp task/doc URLs or IDs.

Backend
2483

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

mgrep

by mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

Backend
30140