Fix for user preference rate limiting bypass vulnerability. Use when: (1) Users can reset
rate limits by toggling preference settings, (2) Cooldown tracking uses preference.updatedAt
field, (3) Email/...
0
AI 91
javascript-utc-date-timezone-drift
Hankanman2/14/2026
Fix timezone drift when using JavaScript Date methods with UTC-stored times. Use when: (1) Times shift by user's timezone offset (e.g., 09:00 UTC becomes 10:00 in BST browsers), (2) Database stores ti...
0
AI 90
prisma-connection-pool-exhaustion
Hankanman2/14/2026
Fix Prisma "Too many connections" and connection pool exhaustion errors in
serverless environments (Vercel, AWS Lambda, Netlify). Use when: (1) Error
"P2024: Timed out fetching a new connection from...
0
AI 88
react-preferences-persistence-pattern
Hankanman2/14/2026
Fix React user preferences not persisting after page reload when loaded from database.
Use when: (1) Settings load into state but don't appear in UI after reload, (2) User
preferences exist in databas...
0
react-big-calendar-nextjs-integration
Hankanman2/7/2026
Integrate react-big-calendar with Next.js 16 App Router and shadcn/ui. Use when: (1) Need to add a visual calendar to Next.js app, (2) Want calendar that works with server/client component split, (3)...
0
AI 95
vitest-prisma-dual-query-mocking
Hankanman2/7/2026
Mock Prisma/ZenStack queries when code uses both findFirst and findUnique on the same model.
Use when: (1) Tests fail with "Cannot read property of undefined", (2) Code queries same
model with differe...