Trending Skills
The hottest skills gaining momentum in the community right now.
migrating-from-forwardref
by djankies
Teaches migration from forwardRef to ref-as-prop pattern in React 19. Use when seeing forwardRef usage, upgrading React components, or when refs are mentioned. forwardRef is deprecated in React 19.
migrating-async-request-apis
by djankies
Teach async request APIs in Next.js 16 - params, searchParams, cookies(), headers(), draftMode() are now async. Use when migrating from Next.js 15, fixing type errors, or working with request data.
conditional-domain-specific-template
by djankies
[REPLACE] Apply domain-specific logic based on detected context. Use when [REPLACE with specific triggers].
managing-server-vs-client-boundaries
by djankies
Teaches when to use Server Components vs Client Components in React 19, including the 'use client' directive and boundary patterns. Use when architecting components, choosing component types, or working with Server Components.
following-the-rules-of-hooks
by djankies
Fix React Rules of Hooks violations - conditional calls, hooks in loops/callbacks/classes
optimizing-query-selection
by djankies
Optimize queries by selecting only required fields and avoiding N+1 problems. Use when writing queries with relations or large result sets.
creating-client-singletons
by djankies
Prevent multiple PrismaClient instances that exhaust connection pools causing P1017 errors. Use when creating PrismaClient, exporting database clients, setting up Prisma in new files, or encountering connection pool errors. Critical for serverless environments.
using-cache-lifecycle-apis
by djankies
Teach cache lifecycle APIs in Next.js 16 - cacheLife(), cacheTag(), updateTag(), refresh(), revalidateTag(). Use when managing cache invalidation, setting cache policies, or implementing cache tags.
implementing-parallel-routes
by djankies
Teach parallel routes and slot patterns in Next.js 16. Use when implementing parallel routes, working with @slot syntax, or encountering missing default.tsx errors.
managing-local-vs-global-state
by djankies
Teaches when to use local state vs global state (Context) in React 19. Use when deciding state management strategy, avoiding prop drilling, or architecting component state.
composing-components
by djankies
Teaches component composition patterns in React 19 including children prop, compound components, and render props. Use when designing component APIs, creating reusable components, or avoiding prop drilling.
preloading-resources
by djankies
Teaches resource preloading APIs in React 19 including prefetchDNS, preconnect, preload, and preinit. Use when optimizing initial load or navigation performance.
reviewing-performance-patterns
by djankies
Review React 19 performance patterns including memoization, re-renders, and bundle size. Use when reviewing performance or optimization.
optimizing-with-react-compiler
by djankies
Teaches what React Compiler handles automatically in React 19, reducing need for manual memoization. Use when optimizing performance or deciding when to use useMemo/useCallback.
implementing-server-actions
by djankies
Teaches Server Actions in React 19 for form handling and data mutations. Use when implementing forms, mutations, or server-side logic. Server Actions are async functions marked with 'use server'.
validating-query-inputs
by djankies
Validate all external input with Zod before Prisma operations. Use when accepting user input, API requests, or form data.
optimizing-query-performance
by djankies
Optimize queries with indexes, batching, and efficient Prisma operations for production performance.
securing-data-access-layer
by djankies
Teach Data Access Layer pattern to prevent CVE-2025-29927 middleware authentication bypass. Use when implementing authentication, authorization, protecting routes, or working with server actions that need auth.
reference-educational-template
by djankies
[REPLACE] Teach concepts and demonstrate patterns with examples. Use when [REPLACE with specific triggers].
configuring-transaction-isolation
by djankies
Configure transaction isolation levels to prevent race conditions and handle concurrent access. Use when dealing with concurrent updates, financial operations, inventory management, or when users mention race conditions, dirty reads, phantom reads, or concurrent modifications.
implementing-query-pagination
by djankies
Implement cursor-based or offset pagination for Prisma queries. Use for datasets 100k+, APIs with page navigation, or infinite scroll/pagination mentions.
ensuring-query-type-safety
by djankies
Use Prisma's generated types, Prisma.validator, and GetPayload for type-safe queries.
reviewing-nextjs-16-patterns
by djankies
Review code for Next.js 16 compliance - security patterns, caching, breaking changes. Use when reviewing Next.js code, preparing for migration, or auditing for violations.
configuring-serverless-clients
by djankies
Configure PrismaClient for serverless (Next.js, Lambda, Vercel) with connection_limit=1 and global singleton pattern.