Back to prompts
Find async code that assumes execution order without enforcing it. Output: - List ordering assumptions - Suggest explicit sequencing
Related Prompts
View allPartial Failure Blindness
Find places where partial failures are silently ignored. Look for: - Promise.all without per-item h...
Error HandlingAsync
Race Conditions & Lost Updates
Scan for code that may behave incorrectly under concurrent execution. Look for: - Read-modify-write...
ConcurrencyRace Conditions
useEffect 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