code-review-ai — Claude Code plugin: code and architecture review
code-review-ai ships the /ai-review command for layered pull-request checks and an architect agent that joins design discussions on its own.
MIT ★ 126 updated 2026-10-04
/plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code
/plugin install code-review-ai@libreuiuxWhat code-review-ai does
/ai-review opens with triage: it reads the diff, sorts the changed files into buckets and sizes up the pull request. Then the analyzers run side by side. CodeQL hunts vulnerabilities, SonarQube looks at smells, complexity and duplication, Semgrep applies rules written for your org, Snyk or Dependabot checks dependencies, GitGuardian or TruffleHog goes after leaked secrets. What comes back is review comments tied to line numbers, with code examples. It covers 30+ languages.
The architect-review agent handles the design side. It reads system designs and code changes for boundary violations, coupling and consistency, and it knows clean architecture, hexagonal, microservices, event-driven systems and DDD. You don't call it yourself — it shows up when the conversation turns to architecture.
Depth follows PR size: a small diff gets a quick pass, a large one gets a longer look. Reviews run against the current changes rather than the whole repository, so the command belongs on your branch before merge.
What it helps with
- review a pull request for security, performance and test gaps in one pass
- catch leaked secrets in the diff before merge
- spot boundary violations and tight coupling between modules
- get review comments tied to line numbers
- check a change against clean or hexagonal architecture rules
Example prompts for the agent
- Run
/ai-reviewon the current diff and list the security findings. - Review the architecture of the new module and point out where the coupling is too tight.
/ai-review— which files in this PR carry the most risk?
How to install code-review-ai
Plugin marketplace
/plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code/plugin install code-review-ai@libreuiuxStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about code-review-ai
How to install code-review-ai in Claude Code?
Add the marketplace with /plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code, then run /plugin install code-review-ai@libreuiux.
What does code-review-ai do?
It adds the /ai-review slash command for diff-based scanner passes and an architect-review agent that judges design decisions and coupling.
Which scanners does /ai-review use?
CodeQL, SonarQube, Semgrep, Snyk or Dependabot for dependencies, and GitGuardian or TruffleHog for secrets. They run in parallel after the diff triage.
Source text
code-review-ai · MIT
# Code Review AI > An AI-powered code review agent and command for automated, multi-layered code analysis integrated with modern static analysis tools. ## Overview The Code Review AI plugin provides a streamlined, AI-first approach to code review. It combines an architectural review agent with a comprehensive automated review command that integrates AI tools (GitHub Copilot, Qodo, Claude, GPT) alongside battle-tested static analysis platforms (SonarQube, CodeQL, Semgrep). Use this plugin when you need fast, thorough pull request reviews that cover security, performance, architecture, maintainability, and testing concerns across 30+ programming languages. ## Contents ### Agents - **architect-review** -- Master software architect that reviews system designs and code changes for architectural integrity, scalability, and maintainability. Specializes in clean architecture, hexagonal architecture, microservices, event-driven systems, and domain-driven design (DDD). Evaluates architectural decisions, boundary violations, coupling patterns, and design consistency. ### Commands - **ai-review** -- Multi-layered code review command that performs initial triage (diff parsing, file classification, PR sizing), then executes parallel static analysis with CodeQL (vulnerability detection), SonarQube (code smells, complexity, duplication), Semgrep (organization-specific rules), Snyk/Dependabot (supply chain security), and GitGuardian/TruffleHog (secret detection). Generates review comments with line references, code examples, and actionable recommendations. Scales analysis depth based on PR size. ## Usage ``` # Install to your project cp -r plugins/code-review-ai .claude/plugins/ # Run AI-powered review on current changes # /ai-review # The architect-review agent activates automatically for architectural discussions ``` ## Related Plugins - **comprehensive-review** -- Extends code review with additional agents for security auditing and multi-phase orchestrated reviews. - **codebase-cleanup** -- Complements reviews with dependency auditing and technical debt analysis. - **code-refactoring** -- Implements the improvements identified during code review.
© Seth Hobson · MIT · Ormus-Solutions/LibreUIUX-Claude-Code