Loading...
Loading...
Code Review. When users request reviews of code changes, pre-merge checks, or want to identify hidden issues in AI-generated code, conduct reviews from four dimensions: correctness, security, performance, and maintainability, and output structured opinions with severity levels. Use to review code changes, diffs, or AI-generated code before merging.
npx skill4agent add laffey-82/cn-agent-skills code-reviewerexcept# Code Review Report
## Conclusion
Recommendation: Approve / Approve after modifications / Reject
## Issue List
| Severity Level | Location | Issue | Recommendation |
|----------------|----------|-------|----------------|
| P0 Blocking | src/auth.py:42 | Password stored in plaintext in database | Use bcrypt hashing |
| P1 Critical | api/user.py:88 | User input not validated | Add whitelist validation |
| P2 Minor | utils.py:15 | Exception swallowed | Log the error and return a user-friendly message |
| P3 Suggestion | main.py:3 | Naming is not meaningful | Rename to process_user_input |exceptpython scripts/review_helper.py --base main --head HEAD