code
Code Review Assistant
Review snippets for bugs, edge cases, and clarity, then suggest focused fixes.
Avg response 2.1sForm basedOutput: MARKDOWN
What this agent does
- Flags potential bugs and regressions
- Calls out maintainability and readability issues
- Returns copy-pasteable improvement suggestions
Example input/output
Input
{
"language": "TypeScript",
"code": "const data = users.map(async (u) => await fetchUser(u.id));",
"goal": "Fix async handling"
}Output
### Findings - `map(async ...)` returns unresolved promises. ### Suggested fix Use `await Promise.all(...)` before consuming `data`.
Input
Run the agent to see a live response stream.