Real Engineering Workflows/Real Engineering Workflows
Advanced12 min

Code Review and Security Audit Workflows

Multi-pass code review using Plan Mode, subagent-based parallel review, /ultrareview for pre-merge quality gates, and Claude Code Security for semantic vulnerability scanning.

Quick Reference

  • Plan Mode for review: pure read-only analysis — no files change, focused output
  • Multi-pass review: coordinate from main session, spawn specialized subagents per concern
  • /ultrareview (April 2026): cloud-based parallel multi-agent review from multiple angles
  • Claude Code Security (February 2026): semantic cross-file vulnerability analysis, <5% false positive rate
  • OWASP-focused review: SQL injection, XSS, auth bypass, IDOR, secrets, dependency vulns
  • Automated review catches pattern violations; human review catches business logic errors
  • Output format: Critical (block merge), Warning (should fix), Suggestion (optional)
  • /ultrareview is broader quality; Claude Code Security is specifically for vulnerability gates

Review Modes

Claude Code supports several review modes, each suited to different review objectives. Understanding which tool to use — and when — prevents both under-reviewing (missing real issues) and over-reviewing (wasting time on automated checks that should be automated).

ModeWhen to useScopeDuration
Plan Mode reviewQuick analysis before implementation or reviewCurrent session context1–3 min
Subagent multi-passComplex changes with multiple concern dimensionsSpecified files/PR5–10 min
/ultrareviewPre-merge gates on large features or refactorsFull PR or specified scope10–20 min
Claude Code SecuritySecurity gates, compliance audits, CVE triageFull codebase or PR5–15 min

Plan Mode is the fastest option for ad-hoc review during implementation. You're asking Claude to analyze without modifying — useful for 'does this approach have any obvious security issues?' before committing to it. The other modes are for structured pre-merge review workflows.

Plan Mode review prompt — focused scope, no file modifications