The Universal Code Review Framework

Phase 1: Normalization & Triage

Before you can understand the logic, you must make the code readable and identify where to focus your attention.

Phase 2: Primitives & External Research

Never assume you know what a built-in function does if you haven't seen it before.

Phase 3: Execution & Data Flow Analysis

Trace the path of the data step-by-step. Go line-by-line through the functions you identified as high-interest.

Phase 4: Contextual Mapping (The "Why")

Code does not exist in a vacuum. You must figure out how it ties into the broader application.