Toolverse
All skills

cache-strategy

by openclaw

Get AI-powered caching strategy suggestions for your API. Use when performance matters.

Installation

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

Installation

Quick info

Author
openclaw
Category
Backend
Views
8

About this skill

Get AI-powered caching strategy suggestions for your API. Use when performance matters.

How to use

  1. Upewnij się, że masz zainstalowany Node.js 18 lub nowszy oraz ustawioną zmienną środowiskową OPENAI_API_KEY (wymagana do działania AI).

  2. Przejdź do katalogu projektu i uruchom narzędzie wskazując ścieżkę do folderu z API: npx ai-cache-strategy ./src/api/. Narzędzie przeskanuje wszystkie pliki tras i przeanalizuje ich strukturę.

  3. Czekaj na wyniki — narzędzie wyświetli rekomendacje cachowania dla każdego endpointu, w tym sugerowane wartości TTL i rekomendowaną warstwę cachowania.

  4. Jeśli chcesz analizę dla konkretnego pliku, użyj: npx ai-cache-strategy ./routes/products.ts. Przydatne, gdy chcesz skupić się na wybranym module.

  5. Aby uzyskać rekomendacje dostosowane do konkretnej warstwy cachowania (np. Redis), dodaj flagę: npx ai-cache-strategy ./src/api/ --layer redis. Narzędzie wtedy zaproponuje strategie specyficzne dla wybranej technologii.

  6. Przejrzyj rekomendacje i zastosuj je w kodzie — zacznij od cachowania danych statycznych (konfiguracja, dane referencyjne), bądź ostrożny z danymi personalizowanymi i pamiętaj o prawidłowej inwaliacji cache'u.

Related skills

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

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

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

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

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167