Back to prompts
Identify functions, hooks, or utilities whose behavior is surprising or non-obvious. Look for: - Functions that mutate inputs - Hidden side effects - Reads from globals or environment - Conditional throwing or swallowing of errors Output: - Explain why behavior is surprising - Recommend refactors or documentation
Related Prompts
View allImplicit Behavior & Hidden Assumptions
Scan the repository for code whose correctness depends on undocumented assumptions, implicit default...
Code QualityAssumptions
False Confidence Tests
Scan tests that would pass even if the underlying logic were incorrect. Look for: - Snapshots asser...
TestingCode Quality
useEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect
ESLint Disable Cleanup
You are a senior frontend engineer acting as a repo-wide refactor agent. Objective: Find, evaluate,...
ESLintCode Quality