frontend-builder

Installation
SKILL.md

Frontend Builder

Overview

Builds maintainable, performant React and Next.js frontends using a server-first architecture. Covers component design, state management, data fetching, forms, styling, and performance optimization. Not for backend API design, database schema, or deployment infrastructure.

Quick Reference

Pattern Approach Key Points
Framework Next.js App Router (default), React + Vite (SPAs) Server-first rendering, file-based routing
Components Page, Feature, UI, Layout types Single responsibility, typed props, composition
Server vs Client Server Components default, 'use client' at leaf nodes Push interactivity to edges of component tree
State (local) useState, props, lift to parent Keep state close to where it is consumed
State (global) Context API (theme, auth), Zustand (complex) Avoid Context for frequently changing values
Data fetching Server Components (server), TanStack Query (client) Server Actions for mutations, revalidatePath for cache
Forms React Hook Form + Zod, or Server Actions + useActionState Schema validation, optimistic updates with useOptimistic
Styling Tailwind CSS v4 + shadcn/ui CSS-first config with @theme, OKLCH colors
Performance Suspense streaming, code splitting, memoization React.lazy(), next/dynamic, selective memo()
Related skills
Installs
37
GitHub Stars
11
First Seen
Feb 23, 2026