review-code
by rob
Quick code review with actionable suggestions
# review-code
Quick code review with actionable suggestions
## Installation
This is a CmdForge tool. Install it from the registry:
```bash
cmdforge install review-code
```
## Usage
Pipe code into the tool for instant review:
```bash
# Review code from a file
cat src/auth.py | review-code
# Review with custom focus areas
cat api.js | review-code --focus "performance and error handling"
# Review git changes
git diff | review-code
# Review specific function
echo "def login(user, pwd): return db.query(f'SELECT * FROM users WHERE name={user}')" | review-code --focus "security"
```
## Arguments
| Flag | Default | Description |
|------|---------|-------------|
| `--focus` | bugs, security, and improvements | Areas to focus the review on (e.g., "performance", "readability", "error handling") |
## How It Works
1. **AI Review** - Sends your code to Claude Sonnet with a prompt to analyze it based on the specified focus areas
2. **Output** - Returns actionable suggestions and findings
## Dependencies
None
Reviews
Login to reviewNo reviews yet.
Issues
No issues reported for this tool.
Write a Review
Share your experience with this tool.
0/2000
Report an Issue
Help improve this tool by reporting bugs or security issues.