Toolverse
All skills

prefetch-suggester

by openclaw

Get AI suggestions for routes and data to prefetch. Use when optimizing navigation.

Installation

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

Installation

Quick info

Author
openclaw
Category
Frontend

About this skill

Get AI suggestions for routes and data to prefetch. Use when optimizing navigation.

How to use

  1. Upewnij się, że masz zainstalowany Node.js w wersji 18 lub wyższej oraz ustawioną zmienną środowiskową OPENAI_API_KEY (zawierającą Twój klucz API OpenAI).

  2. Przejdź do katalogu projektu i uruchom narzędzie, wskazując ścieżkę do folderu ze stronami: npx ai-prefetch ./src/pages/ (jeśli strony znajdują się w innym miejscu, np. ./app/routes/, podaj tę ścieżkę).

  3. Narzędzie przeanalizuje strukturę tras i wzorce nawigacji w Twojej aplikacji, a następnie zasugeruje, które strony i dane powinny być prefetchowane na podstawie prawdopodobieństwa i ważności.

  4. Przejrzyj otrzymane sugestie i kod implementacyjny – narzędzie dostarczy gotowe fragmenty do wklejenia w projekt.

  5. Wdrażając prefetching, pamiętaj o dobrych praktykach: prefetchuj przy najechaniu myszą (sygnał intencji przed kliknięciem), nie prefetchuj wszystkiego (marnuje pasmo), skupiaj się na częstych ścieżkach (np. przepływ kasy) i używaj Intersection Observer do prefetchowania widocznych elementów.

  6. Aby poznać wszystkie dostępne opcje, uruchom npx ai-prefetch --help.

Related skills

markitdown

by K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting

Frontend
75173

domain-name-brainstormer

by ComposioHQ

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

Frontend
21116

svg-precision

by dkyazzentwatwa

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

Frontend
233466

google-official-seo-guide

by littleben

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

Frontend
101196

react

by lobehub

React component development guide. Use when working with React components (.tsx files), creating UI, using @lobehub/ui components, implementing routing, or building frontend features. Triggers on React component creation, modification, layout implementation, or navigation tasks.

Frontend
2058

frontend-slides

by sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual

Frontend
65135