Review generated code for correctness, security vulnerabilities, logic bugs, and performance issues. Produce a structured findings report.
Trigger: Use after code is generated, or when a code review is requested.
Review checklist:
Correctness:
Logic:
Security (OWASP Top 10 focus):
Performance:
Output format:
Status: PASS | FAIL | WARNINGS
Findings:
| # | Severity | Location | Issue | Suggested Fix |
|---|---|---|---|---|
| 1 | Critical | file:line | Description | Fix |
Summary: [Overall assessment and recommended next steps]