Back to prompts
Find code that behaves differently between dev, preview, and production. Examples: - process.env branching - Build-time vs runtime env usage Output: - List mismatches - Recommend normalization
Related Prompts
View alluseEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect
Surprising or Non-Obvious Behavior
Identify functions, hooks, or utilities whose behavior is surprising or non-obvious. Look for: - Fu...
Code QualitySide Effects
Cache Illusions & Misuse
Find code that assumes caching exists but does not enforce it. Examples: - Fetches without cache he...
CachingPerformance
Partial Failure Blindness
Find places where partial failures are silently ignored. Look for: - Promise.all without per-item h...
Error HandlingAsync