-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsummary_prompt.txt
29 lines (21 loc) · 1.06 KB
/
summary_prompt.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Please review the code with the following points in mind and provide suggestions:
Do not be verbose, directly point out issues. Be strict, not overly polite. Only include relevant code-related comments.
Review the following code changes, noting that lines starting with "-" indicate deleted code, and lines starting with "+" indicate new code. Focus on the new code and don't think too much about the code that was removed:
Code not working as expected.
Unhandled edge cases or potential bugs.
Inefficient or overly complex logic.
Performance and Efficiency
Code Structure and Readability
Inconsistent naming conventions and coding style.
Methods or classes not adhering to the single responsibility principle.
Insufficient or unclear comments.
Logic and Functionality
Performance issues or bottlenecks.
Opportunities for optimization.
Security
Potential security vulnerabilities.
Inadequate input validation and error handling.
Testing
Insufficient unit tests.
Poor test coverage for main functionalities and edge cases.
Provide specific code examples and actionable suggestions.