code-review · composio-community — Claude Code command: what it does, how to install
code-review inspects recent repository changes using git context. It spots security flaws, performance bottlenecks, and test gaps before you push code.
no license ★ 2,003 updated 2026-07-26
/plugin marketplace add composio-community/awesome-claude-plugins
/plugin install code-review@awesome-claude-pluginsWhat code-review does
This command captures working tree status and inspects edits made in the latest commit. It retrieves data from git status, prints the last five commits via git log --oneline -5, reads git branch --show-current, and inspects file differences via git diff HEAD~1.
The review covers five specific areas: code clarity, security risks, execution bottlenecks, test adequacy, and documentation updates. The resulting output contains concrete line-by-line feedback.
The project must already be an active Git repository with existing commits, because running git diff HEAD~1 without an earlier revision will fail.
What it helps with
- inspect the latest commit for security flaws and regressions
- detect execution bottlenecks in recent changes prior to merging
- verify test coverage and documentation updates for modified files
- generate line-by-line notes on code maintainability and structure
Example prompts for the agent
- Run
/awesome-claude-plugins:code-reviewon my latest commit - Inspect recent repository changes with
/code-reviewand highlight security bugs - Review my current branch using
/code-reviewbefore opening a pull request
How to install code-review
1Plugin marketplace
/plugin marketplace add composio-community/awesome-claude-plugins/plugin install code-review@awesome-claude-plugins2Manually: put the files in place
.claude/commands/code-review.mdCall it with /code-review. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/code-review.mdCall it with /prompts:code-review. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/code-review.prompt.mdManually: put the files in place
.gemini/commands/code-review.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about code-review
How to install code-review in Claude Code?
Register the catalog via /plugin marketplace add composio-community/awesome-claude-plugins, then run /plugin install code-review@awesome-claude-plugins. You can also drop the markdown definition straight into .claude/commands/code-review.md.
What does code-review evaluate?
It examines changes returned by git diff HEAD~1 across code quality, potential vulnerabilities, performance bottlenecks, tests, and documentation.
Which permissions does code-review require?
It needs execution allowances for Bash(git diff:*) and Bash(git log:*) to inspect diff output and commit logs safely.
Similar slash commands
All slash commands for Code review and refactoring →code-review by other authors comes first.