Top Rated

The most starred skills loved by the community. Quality guaranteed!

Showing 50305-50328 of 50478 skills
djankies

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.

Database 0 6mo ago
djankies

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.

Database 0 6mo ago
djankies

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.

Auth 0 6mo ago
djankies

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'.

Database 0 6mo ago
djankies

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.

Caching 0 6mo ago
djankies

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.

Database 0 6mo ago
djankies

securing-server-actions

by djankies

Teach server action authentication and security patterns in Next.js 16. Use when implementing server actions, form handlers, or mutations that need authentication.

Auth 0 6mo ago
djankies

reviewing-server-actions

by djankies

Review Server Actions for security, validation, and best practices in React 19. Use when reviewing forms, mutations, or server-side logic.

Database 0 6mo ago
djankies

configuring-serverless-clients

by djankies

Configure PrismaClient for serverless (Next.js, Lambda, Vercel) with connection_limit=1 and global singleton pattern.

Cloud 0 6mo ago
djankies

ensuring-query-type-safety

by djankies

Use Prisma's generated types, Prisma.validator, and GetPayload for type-safe queries.

Database 0 6mo ago
djankies

validating-query-inputs

by djankies

Validate all external input with Zod before Prisma operations. Use when accepting user input, API requests, or form data.

Processing 0 6mo ago
djankies

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.

Code Gen 0 6mo ago
djankies

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.

Database 0 6mo ago
djankies

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.

Database 0 6mo ago
djankies

handling-transaction-errors

by djankies

Handle transaction errors properly with P-code checking and timeout configuration. Use when implementing transaction error recovery.

Code Gen 0 6mo ago
djankies

plan-validate-execute-template

by djankies

[REPLACE] Plan changes, validate before execution, execute with verification. Use when [REPLACE with specific triggers].

Code Gen 0 6mo ago
djankies

reference-educational-template

by djankies

[REPLACE] Teach concepts and demonstrate patterns with examples. Use when [REPLACE with specific triggers].

Code Gen 0 6mo ago
djankies

conditional-domain-specific-template

by djankies

[REPLACE] Apply domain-specific logic based on detected context. Use when [REPLACE with specific triggers].

Code Gen 0 6mo ago
djankies

search-analyze-report-template

by djankies

[REPLACE] Search for patterns, analyze findings, generate structured reports. Use when [REPLACE with specific triggers].

Code Review 0 6mo ago
djankies

template-based-generation-template

by djankies

[REPLACE] Generate structured content from templates. Use when [REPLACE with specific triggers].

Code Gen 0 6mo ago
djankies

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.

API Dev 0 6mo ago
djankies

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.

Analytics 0 6mo ago
djankies

configuring-image-optimization

by djankies

Teach image optimization configuration changes in Next.js 16. Use when configuring images, troubleshooting image loading, or migrating image settings.

Caching 0 6mo ago
djankies

using-cache-directive

by djankies

Teach Cache Components model with 'use cache' directive in Next.js 16. Use when implementing caching, optimizing performance, working with dynamic data, or migrating from Next.js 15 caching patterns.

Caching 0 6mo ago