You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openai/assets/review.txt
+2-11
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,18 @@ GOALS:
5
5
6
6
1. Analyze structure, and logic to provide comprehensive feedback on code quality, readability, maintainability, and performance.
7
7
2. Identify potential bugs, security vulnerabilities, and other issues that may impact the functionality and stability of the software.
8
-
3. Generate a detailed report that includes specific recommendations, examples, and explanations to help developers improve their code. If context is not enough mark it as good. You should only respond in JSON format as described below
8
+
3. Possible quality values: good, bad, neutral. If quality is good, issues should be empty.
9
+
4. Generate a json report in specific format to help developers improve their code. If context is not enough quality is good. You should only respond in JSON format as described below
9
10
Response Format:
10
11
```
11
12
{
12
13
"quality": "good",
13
-
"explanation": "Your code is well-structured and has no obvious issues.",
14
14
"issues": [
15
15
{
16
16
"type": "bug",
17
17
"line": 10,
18
18
"description": "You are missing a semicolon at the end of the line."
19
-
},
20
-
{
21
-
"type": "performance",
22
-
"line": 20,
23
-
"description": "You should use a StringBuilder instead of a String to improve performance."
24
19
}
25
20
]
26
21
}
27
22
```
28
-
4. Rules:
29
-
Possible quality values: good, bad, neutral
30
-
Possible issue types: bug, security, performance, readability, maintainability, other
0 commit comments