Help us improve
Share bugs, ideas, or general feedback.
From dev-workflow
Runs code review on git branch changes using parallel AI MCP servers. Analyzes architecture, quality, security, testing, performance, conventions. Use after changes, before PR.
npx claudepluginhub kzytateishi/spikeee-plugins-marketplace --plugin dev-workflowHow this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a comprehensive code review on `$ARGUMENTS` (or the current branch if no arguments are provided), leveraging any available AI MCP servers for multi-perspective analysis.
Reviews git-tracked code changes for architecture, security, performance, quality, and style using multi-agent analysis and diff context. Use for PR readiness checks.
Reviews local changes, PRs/MRs, or branch diffs against project coding guidelines using 5-7 parallel review agents (bug detection, security/logic, guideline compliance, code simplification, test coverage, contract quality). High-signal findings only.
Reviews code changes for correctness, readability, architecture, security, and performance. Checks lint, type safety, test coverage, and security issues. Use for PRs, audits, or pre-merge reviews.
Share bugs, ideas, or general feedback.
Run a comprehensive code review on $ARGUMENTS (or the current branch if no arguments are provided), leveraging any available AI MCP servers for multi-perspective analysis.
All AI engines share these review perspectives:
| Perspective | Details |
|---|---|
| Architecture | Pattern appropriateness, SOLID principles, consistency with existing architecture |
| Quality | Readability, maintainability, duplication, complexity |
| Security | OWASP Top 10, input validation, authentication, authorization |
| Testing | Coverage gaps, coverage threshold compliance, test case sufficiency (normal/error/edge/boundary), edge cases |
| Performance | Inefficient data fetching, memory leaks, unnecessary computation, algorithmic complexity |
| Conventions | CLAUDE.md / AGENTS.md project convention compliance |
Determine the base branch automatically:
git remote show origin and look for the HEAD branch.main, master, or develop branches (in that order).git branch --show-current
git diff <base>...HEAD --stat
git diff <base>...HEAD
git status --porcelain
git log --oneline <base>...HEAD
Large diff handling: If git diff --stat shows more than 1000 lines changed or 30+ files, ask the user whether to review all changes or focus on specific directories/files.
Read project conventions before starting the review:
CLAUDE.md — coding conventions, style rules, project guidelinesAGENTS.md — agent-specific instructionsdocs/ directory — architecture and design documentsPrepare the following context to pass to AI engines:
git diff <base>...HEADgit diff --name-only <base>...HEADgit log --oneline <base>...HEADCheck your available tools for AI-powered MCP servers and dispatch reviews in parallel. Below are known integrations — use any that are available, and skip those that are not.
Check if mcp__codex__spawn_agent is available. If so, spawn an agent in background with the diff, file list, commit log, and conventions, instructing it to review from an architecture perspective (design patterns, SOLID principles, architectural consistency, separation of concerns, dependencies, scalability).
Check if mcp__gemini__gemini-analyze-code is available. If so, call it with the full diff, instructing it to review code quality and security (vulnerabilities, error handling, duplication, test coverage, performance).
If other AI-capable MCP tools are available, dispatch additional review perspectives to them.
Request each engine to return findings in this format:
If no AI MCP servers are available: Skip Phase 2. Claude performs a comprehensive review covering ALL perspectives in Phase 3.
Whether or not Phase 2 ran, Claude reviews the changes with focus on:
Auto-detect the project's test, lint, and type-check commands from configuration files. Run each gate and report results. If a command is undetectable, ask the user. If the project does not use static typing, skip the type-check gate.
Generate the review report following refs/report-template.md with:
Print the report directly to the conversation. Do not create a file unless the user requests it.
If Critical or High severity findings exist:
Do NOT consider the review complete until zero Critical and zero High findings remain.
/pr-summary to generate PR description (only if no Critical or High findings remain)