/review — Code Review Command
Streamline your code review process with the /review command, triggering the code-reviewer agent.
Triggers the code-reviewer agent.
Usage
/review
Then paste your code or reference a file path. The agent identifies the component type and runs a full review.
What Happens
- Agent identifies component type (Apex / LWC / Flow / OmniStudio)
- Loads applicable skills from
skills/[domain]/ - Checks security first, then performance, scalability, reliability, code quality
- Produces findings: Critical → High → Medium → Low
- Includes remediation code snippets for Critical and High findings
- Scores each WAF pillar
Variants
Targeted review:
/review — focus on security
/review — focus on governor limits
/review — this is a PR diff
Agent
See agents/code-reviewer/AGENT.md for full orchestration plan.