This skill provides a standardized framework for managing data flow and state within Next.js 15 App Router projects. It enforces a rigorous state classification system—Server, URL, Local, or Global—and implements production-ready patterns for TanStack Query (v5), Server Actions, and nuqs URL state. By guiding the implementation of query option factories, custom hooks, and optimistic updates, it ensures that developers maintain a clean separation of concerns, consistent caching strategies, and robust error handling across complex frontend features.
主要功能
01Comprehensive Server Action workflows including Zod validation and revalidation tags
02Strict state classification logic to prevent redundant or misplaced data stores
03Optimistic update patterns with built-in rollback and cache invalidation logic
04Standardized TanStack Query implementation with query option factories and custom hooks
051 GitHub stars
06Type-safe URL state management integration using nuqs for filters and pagination