.claude/skills/error-memory/SKILL.md
Stack-specific error patterns for Next.js 15, Drizzle, shadcn/ui, and Claude Vision. Consult before implementing.
npx skillsauth add whatwecando/tombola error-memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Consult this before implementing to avoid known pitfalls.
"use client" directive at the top of files that use hooks, event handlers, or browser APIsexport async function POST(request: Request) and request.json() for body. Dynamic params come from the second argument: { params }: { params: { id: string } }document.cookie instead of Next.js cookie APIcookies() from next/headers in server components/route handlers. For setting cookies from API routes, use NextResponse with .cookies.set()params.id is undefined or a Promiseparams in page/layout/route files is now a Promiseconst { id } = await params in page.tsx and route.tsinteger('column', { mode: 'boolean' }) in Drizzle schema for automatic conversiondrizzle-kit push in development but drizzle-kit generate + migrate in productiondrizzle-kit push for development (direct schema sync). Use drizzle-kit generate + programmatic migration for production.IS NULL not = NULLisNull(table.column) or isNotNull(table.column) from drizzle-orm, not eq(table.column, null)npx shadcn-ui@latest add button (or card, input, etc.) before importing from @/components/ui/buttonsrc/**/*.{ts,tsx} and that @import "tailwindcss" is in globals.cssBuffer.from(file).toString('base64'). Set media_type to image/jpeg or image/png matching the actual format.request.formData() not multerconst formData = await request.formData(); const file = formData.get('file') as File; const buffer = Buffer.from(await file.arrayBuffer())tools
Display and enforce project conventions for Dagsmith Tombola
testing
Verify phase completion by running all checks and tests
testing
Validate a BLUEPRINT.md file for completeness and correctness
testing
Validate a BLUEPRINT.md without generating anything. Returns a structured report showing what's complete, what's missing, and what questions to answer.