You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMPORTANT: This describes your internal review process. Only output the final issues list - do NOT show Phase 1, Phase 2, or Phase 3 headings/commentary in your response.
Phase 1: Understand the change (internal - don't output)
Before looking for issues:
Read the full diff to understand the intent
For removed code: find what called it - was the caller also removed/changed?
For new functions: read any existing similar functions to understand local conventions
If something is unclear, read the relevant file - don't flag uncertainty as an issue
Phase 2: Look for issues (internal - don't output)
Before flagging API issues: Don't assume API limitations. For Love2D and external libraries, verify actual behavior before claiming something won't work.
"Conventions and Guidlines" violations
Both Higher-level Guidelines and Conventions listed in CLAUDE.md
Structural issues
duplicated state (variables storing the same information)
duplicated code or logic
code that doesn't belong to a file
value scope too long (calculated early, used much later)
methods too large or doing too many things
interdependent state that could desync
interleaved concerns in a single block
inconsistent approaches (one part uses helper, another reimplements same logic)
Phase 3: Consolidate and filter (internal - don't output)
Before outputting:
Merge related issues - if 3 observations are aspects of one problem, report as one issue
Verify confidence - for each issue, could you explain the concrete failure mode? If code was removed, verify it was actually needed.
Check for intentional patterns - does CLAUDE.md or nearby code suggest this is deliberate?
For inconsistencies, find root cause - if code takes two different approaches to the same task, identify why the divergent path exists (legacy code? different requirements?) rather than just noting the surface inconsistency
Output format (THIS is what you output)
Output ONLY the issues list in the following format - no phase headings, no process commentary.