Toolverse
All skills

react-skills

by llama-farm

React 18 patterns for LlamaFarm Designer. Covers components, hooks, TanStack Query, and testing.

Installation

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

Installation

Quick info

Category
Frontend
Views
3

About this skill

React 18 patterns for LlamaFarm Designer. Covers components, hooks, TanStack Query, and testing.

How to use

  1. Zainstaluj umiejętność w swoim projekcie LlamaFarm, dodając react-skills do konfiguracji Claude. Umiejętność jest dostępna tylko dla systemu Claude (user-invocable: false), więc będzie automatycznie dostępna w kontekście Designer.
  2. Zapoznaj się ze strukturą katalogów projektu: api/ dla funkcji serwisowych, components/ dla komponentów zorganizowanych po funkcjach, hooks/ dla niestandardowych hooków, lib/ dla narzędzi pomocniczych (np. cn do łączenia klas Tailwind), types/ dla definicji TypeScript i test/ dla narzędzi testowych.
  3. Stosuj wzorce komponowania: preferuj małe, skoncentrowane komponenty zamiast dziedziczenia, używaj forwardRef dla komponentów opakowujących elementy DOM i dodawaj displayName dla lepszej widoczności w DevTools.
  4. Zarządzaj stanem zgodnie z typem: useState i useReducer dla stanu lokalnego interfejsu, TanStack Query (useQuery, useMutation) dla stanu serwerowego, React Context z niestandardowymi hookami dla stanu współdzielonego, a komponenty kontrolowane dla stanu formularza.
  5. Twórz niestandardowe hooki dla logiki wielokrotnego użytku, pamiętając o Regułach Hooków (top-level, spójna kolejność), używaj fabryk kluczy zapytań dla TanStack Query i optymalizuj wydajność za pomocą useMemo i useCallback.
  6. Stylizuj komponenty za pomocą cn() z lib/utils do łączenia klas Tailwind, stosuj cva (class-variance-authority) dla wariantów komponentów i przestrzegaj konwencji trybu ciemnego z prefiksem dark:.

Related skills

better-icons

by better-auth

Use when working with icons in any project. Provides CLI for searching 200+ icon libraries (Iconify) and retrieving SVGs. Commands: `better-icons search u003cqueryu003e` to find icons, `better-icons get u003cidu003e` to get SVG. Also available as MCP server for AI agents.

Frontend
2037

landing-page-guide-v2

by bear2u

Create distinctive, high-converting landing pages that combine proven conversion elements with exceptional design quality. Build beautiful, memorable landing pages using Next.js 14+ and ShadCN UI that avoid generic AI aesthetics while following the 11 essential elements

Frontend
3486

zustand

by lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

Frontend
36126

shadcn-ui

by josechifflet

shadcn/ui component patterns for Next.js 16 applications. This skill should be used when adding UI components, customizing component styles, composing primitives, or integrating forms with react-hook-form. Covers installation, customization, composition patterns, and

Frontend
157206

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

dev-browser

by SawyerHood

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include \

Frontend
38151