review_directory
Analyze all files in a directory using Codex and Gemini code review tools to identify quality, security, and performance issues while providing actionable feedback for improvement.
Instructions
Request a code review of all files in a directory from Codex and Gemini CLIs. Returns feedback from both reviewers for Claude to consider.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context | No | Additional context about the code (optional) | |
directory | Yes | Path to the directory to review | |
reviewers | No | Which reviewers to use (default: both) |
Input Schema (JSON Schema)
{
"properties": {
"context": {
"description": "Additional context about the code (optional)",
"type": "string"
},
"directory": {
"description": "Path to the directory to review",
"type": "string"
},
"reviewers": {
"description": "Which reviewers to use (default: both)",
"items": {
"enum": [
"codex",
"gemini",
"both"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"directory"
],
"type": "object"
}