By mazurov
AI code review with specialized sub-agents for logic, security, and edge cases
A Claude Code plugin that runs AI-powered code reviews with specialized sub-agents for logic, security, and edge cases.
From inside Claude Code:
# Add the marketplace
/plugin marketplace add mazurov/critica-plugin
# Install the plugin
/plugin install critica@critica
Or from the CLI:
claude plugin marketplace add mazurov/critica-plugin
claude plugin install critica@critica
# Review uncommitted changes
/critica
# Review last commit
/critica HEAD~1
# Review specific range
/critica main..HEAD
# Review staged changes
/critica --cached
The /critica command:
Detects mode — if REVIEW.md exists in the repo root, uses it as custom review guidance (direct mode). Otherwise, uses specialized sub-agents (orchestrator mode).
Gets the diff — runs git diff with the provided arguments.
Runs sub-agents in parallel (orchestrator mode):
critica-logic — logical errors, bugs, correctness issuescritica-security — security vulnerabilities (OWASP, injection, auth)critica-edge-cases — edge cases, error handling, boundary conditionsMerges and verifies findings against actual source code.
Outputs a JSON array of findings.
Create a REVIEW.md in your repository root to provide custom review guidance. When present, the plugin uses your instructions instead of the default sub-agents.
Each sub-agent has restricted tools (Read, Glob, Grep only) and focused instructions:
| Agent | Focus |
|---|---|
critica-logic | Logical errors, null refs, off-by-one, race conditions |
critica-security | Injection, auth flaws, data exposure, OWASP Top 10 |
critica-edge-cases | Boundary conditions, error handling, resource leaks |
[
{
"filePath": "src/main.py",
"lineNumber": 42,
"endLineNumber": 45,
"severity": "error",
"category": "bug",
"message": "Description of the issue",
"suggestion": "How to fix it",
"subAgent": "critica-logic"
}
]
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mazurov/critica-plugin --plugin criticaReviews code for real bugs: off-by-ones, null derefs, race conditions, swallowed errors. Skips style nitpicks.
Verify code correctness with systematic second-pass analysis
Perform a comprehensive code review of recent changes
AI-powered code review in Claude Code, powered by CodeRabbit
AI-powered code review using Codex — three-party consensus between Codex, your coding agent, and you
Multi-agent code review for Claude Code — parallel review by Codex (GPT-5.5), Gemini 3.1 Pro, and five Claude specialist subagents (one run blind), then verified synthesis.