Use case

Review AI-generated code before it reaches the PR.

Use Radar as a deterministic reviewer for code produced by Codex, Claude, Cursor, Gemini, Qwen, or any agent workflow.

Why it matters

Generated code can be plausible but brittle: copied patterns, oversized files, missing auth checks, and hardcoded shortcuts.

  • Catch risky deltas locally
  • Give agents a concrete fix prompt
  • Keep reviewers focused on judgment

Suggested workflow

Scan locally, copy the agent fix prompt, rescan, then let CI enforce the same gate.

radar scan . --quick
radar prompt . --diff --copy