sage-review
Send code and receive expert review suggestions with SEARCH/REPLACE edits. Specify absolute paths for files or directories to include in the review context. Ideal for detailed code improvements.
Instructions
Send code to the sage model for expert review and get specific edit suggestions as SEARCH/REPLACE blocks.
Use this tool any time the user asks for a "sage review" or "code review" or "expert review".
This tool includes the full content of all files in the specified paths and instructs the model to return edit suggestions in a specific format with search and replace blocks.
IMPORTANT: All paths must be absolute paths (e.g., /home/user/project/src), not relative paths.
If the user hasn't provided specific paths, use as many paths to files or directories as you're aware of that are useful in the context of the prompt.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
instruction | Yes | The specific changes or improvements needed. | |
paths | Yes | Paths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"instruction": {
"description": "The specific changes or improvements needed.",
"type": "string"
},
"paths": {
"description": "Paths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"instruction",
"paths"
],
"type": "object"
}