Trending Skills
The hottest skills gaining momentum in the community right now.
preventing-sql-injection
by djankies
Prevent SQL injection by using $queryRaw tagged templates instead of $queryRawUnsafe. Use when writing raw SQL queries or dynamic queries.
managing-dev-migrations
by djankies
Use migrate dev for versioned migrations; db push for rapid prototyping. Use when developing schema changes locally.
template-based-generation-template
by djankies
[REPLACE] Generate structured content from templates. Use when [REPLACE with specific triggers].
preventing-error-exposure
by djankies
Prevent leaking database errors and P-codes to clients. Use when implementing API error handling or user-facing error messages.
using-interactive-transactions
by djankies
Use interactive transactions with $transaction callback for atomic operations and automatic rollback. Use when operations must succeed or fail together.
managing-client-lifecycle
by djankies
Manage PrismaClient lifecycle with graceful shutdown, proper disconnect timing, and logging configuration. Use when setting up application shutdown handlers, configuring logging for development or production, or implementing proper connection cleanup in Node.js servers, serverless functions, or test suites.
supporting-custom-elements
by djankies
Teaches Web Components (Custom Elements) support in React 19, including property vs attribute handling and custom events. Use when integrating Web Components or working with custom HTML elements.
search-analyze-report-template
by djankies
[REPLACE] Search for patterns, analyze findings, generate structured reports. Use when [REPLACE with specific triggers].
upgrading-to-prisma-6
by djankies
Migrate from Prisma 5 to Prisma 6 handling breaking changes including Buffer to Uint8Array, implicit m-n PK changes, NotFoundError to P2025, and reserved keywords. Use when upgrading Prisma, encountering Prisma 6 type errors, or migrating legacy code.
implementing-optimistic-updates
by djankies
Teaches useOptimistic hook for immediate UI updates during async operations in React 19. Use when implementing optimistic UI patterns, instant feedback, or reducing perceived latency.
migrating-middleware-to-proxy
by djankies
Teach middleware.ts to proxy.ts migration in Next.js 16. Use when migrating middleware, encountering middleware errors, or implementing request proxying.
deploying-production-migrations
by djankies
Deploy migrations to production safely using migrate deploy in CI/CD. Use when setting up production deployment pipelines.
reviewing-prisma-patterns
by djankies
Review Prisma code for common violations, security issues, and performance anti-patterns found in AI coding agent stress testing. Use when reviewing Prisma Client usage, database operations, or performing code reviews on projects using Prisma ORM.
implementing-code-splitting
by djankies
Teaches code splitting with lazy() and Suspense in React 19 for reducing initial bundle size. Use when implementing lazy loading, route-based splitting, or optimizing performance.
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.