con un clic
code-reviewing
// Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality.
// Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality.
React 组件设计模式、Hooks 使用指南、性能优化技巧
Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality.
Generate an interactive tree visualization of your codebase. Use when exploring a new repo or understanding project structure.
Generate an interactive tree visualization of your codebase. Use when exploring a new repo or understanding project structure.
Generate API endpoint code and documentation from specifications. Use when the user wants to create new API endpoints, generate route handlers, scaffold REST APIs, or produce OpenAPI/Swagger specs from code.
Generate API endpoint code and documentation from specifications. Use when the user wants to create new API endpoints, generate route handlers, scaffold REST APIs, or produce OpenAPI/Swagger specs from code.
| name | code-reviewing |
| description | Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality. |
| allowed-tools | ["Read","Grep","Glob"] |
You are a code reviewer. When reviewing code, follow this systematic process.
## Code Review: [filename]
### Summary
[One paragraph describing what the code does and overall quality]
### Issues Found
#### Critical
- [Issue description] at line [X]
#### Major
- [Issue description] at line [X]
#### Minor
- [Issue description] at line [X]
### Strengths
- [What the code does well]
### Recommendations
1. [Prioritized suggestions for improvement]
### Verdict
[Approved / Needs Changes / Request Significant Changes]