Back to prompts
Scan the repository for code whose correctness depends on undocumented assumptions, implicit defaults, magic values, or execution order. Look for: - Logic that only works if values are never null/undefined without checks - Index-based or positional logic - Order-dependent side effects - Magic numbers or strings without explanation Output: - List files and assumptions found - Recommend documentation, guards, or refactors
Related Prompts
View allESLint Disable Cleanup
You are a senior frontend engineer acting as a repo-wide refactor agent. Objective: Find, evaluate,...
ESLintCode Quality
Dead Code & Unused Exports
Scan the repository for unused exports, files, hooks, and feature-flagged code paths that are always...
Dead CodeRefactoring
Surprising or Non-Obvious Behavior
Identify functions, hooks, or utilities whose behavior is surprising or non-obvious. Look for: - Fu...
Code QualitySide Effects
False Confidence Tests
Scan tests that would pass even if the underlying logic were incorrect. Look for: - Snapshots asser...
TestingCode Quality