React Skills for LlamaFarm Designer
SkillDev toolsYour AI can build React, Next.js, and React Native features that follow established best practices and web design guidelines. This pack bundles those guidelines so your AI applies consistent, recommended conventions whenever it works on front-end code.
Use React Skills for LlamaFarm Designer in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add React Skills for LlamaFarm Designer and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the React Skills for LlamaFarm Designer
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add the pack, then ask your AI to build or improve a React, Next.js, or React Native feature. It will apply the included guidelines as it works.
What your AI can do with it
- Write React code that follows established best practices
- Build Next.js pages and apps using recommended conventions
- Apply React Native best practices when creating mobile screens
- Follow web design guidelines when designing or styling interfaces
- Check existing front-end code against these best practices
What this skill tells your AI
The instructions your AI receives, as published by llama-farm/llamafarm in .claude/skills/react-skills/SKILL.md and read by Ahel’s review.
Best practices and patterns for React 18 development in the Designer subsystem.
Tech Stack
- React 18.2 with StrictMode
- TypeScript 5.2+ for type safety
- TanStack Query v5 for server state management
- React Router v7 for client-side routing
- TailwindCSS with
tailwind-mergeandclsxfor styling - Radix UI primitives for accessible components
- Vite for build tooling
- Vitest + React Testing Library for testing
Directory Structure
designer/src/
api/ # API service functions
components/ # React components (feature-organized)
contexts/ # React context providers
hooks/ # Custom hooks
lib/ # Utility functions (cn, etc.)
types/ # TypeScript type definitions
utils/ # Helper functions
test/ # Test utilities and mocks
Core Patterns
Component Composition
- Use composition over inheritance
- Prefer small, focused components
- Use
forwardReffor components that wrap DOM elements - Apply
displayNameto forwardRef components for DevTools
State Management
- Local UI state:
useState,useReducer - Server state: TanStack Query (
useQuery,useMutation) - Shared UI state: React Context with custom hooks
- Form state: Controlled components with validation
Hooks
- Follow Rules of Hooks (top-level, consistent order)
- Create custom hooks for reusable logic
- Use query key factories for TanStack Query
- Memoize expensive computations with
useMemo - Stabilize callbacks with
useCallback
Styling
- Use
cn()fromlib/utilsto merge Tailwind classes - Use
cva(class-variance-authority) for component variants - Follow dark mode conventions with
dark:prefix
Related Guides
- components.md - Component patterns
- hooks.md - Hook patterns and rules
- state.md - State management patterns
- performance.md - Performance optimization
- security.md - Security best practices
Quick Reference
// Utility for merging Tailwind classes
import { cn } from '@/lib/utils'
cn('base-class', condition && 'conditional-class', className)
// Query key factory pattern
export const projectKeys = {
all: ['projects'] as const,
lists: () => [...projectKeys.all, 'list'] as const,
list: (ns: string) => [...projectKeys.lists(), ns] as const,
}
// Context with validation hook
const MyContext = createContext<MyContextType | undefined>(undefined)
export function useMyContext() {
const ctx = useContext(MyContext)
if (!ctx) throw new Error('useMyContext must be within MyProvider')
return ctx
}
Testing
import { renderWithProviders } from '@/test/utils'
import { screen } from '@testing-library/react'
test('renders component', () => {
renderWithProviders(<MyComponent />)
expect(screen.getByText('Hello')).toBeInTheDocument()
})
Signals
- GitHub stars
- 837
- Forks
- 59
- Last commit
- Jun 2026
Advanced
- Item type
- skill
- Key
react-skills- Source
- github.com/llama-farm/llamafarm
github.com/llama-farm/llamafarm
Related picks
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptreact-component-performance
Skill · davila7
The pick for Reactreact-doctor
Skill · millionco
The pick for Reacttailwind
Skill · alecs5am
The pick for Tailwindtailwind-design-system
Skill · davila7
The pick for Tailwind