code-reviewer
v0.4.0Reviews a code snippet and returns structured feedback: issues, suggestions, severity ratings, and a corrected version.
Install
bloom install code-reviewer@0.4.0
Stars2
Downloads617
Version0.4.0
PublishedMar 4, 2026
Author
Guillermo Rauch
@rauchg
README
Overview
code-reviewer runs automated code review, returning structured feedback categorized by type (bug, style, performance, security) and severity.
Usage
{
"code": "function add(a, b) { return a + b }",
"language": "javascript",
"checks": ["bugs", "style", "security"]
}
Output
Returns an array of Issue objects:
{
"issues": [
{
"line": 1,
"type": "style",
"severity": "low",
"message": "Missing semicolon",
"suggestion": "function add(a, b) { return a + b; }"
}
],
"score": 87,
"corrected": "function add(a, b) { return a + b; }"
}
License
MIT
Agent Schema
{
"name": "code-reviewer",
"inputs": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"checks": {
"type": "array",
"items": {
"enum": [
"bugs",
"style",
"performance",
"security"
],
"type": "string"
}
},
"language": {
"type": "string"
}
}
},
"outputs": {
"type": "object",
"properties": {
"score": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"issues": {
"type": "array"
},
"corrected": {
"type": "string"
}
}
},
"runtime": "python",
"version": "0.4.0",
"description": "Reviews code and returns structured feedback",
"capabilities": [
"code-review",
"static-analysis",
"nlp"
]
}