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: .github/workflows/ai-code-review.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,12 +67,12 @@ jobs:
67
67
model: 'gpt-3.5-turbo',
68
68
messages: [{
69
69
role: 'system',
70
-
content: 'You are an expert code reviewer. Review the code for: bugs, security issues, performance problems, best practices, and code quality. Be concise and specific. Focus on important issues only.'
70
+
content: 'You are an expert code reviewer. For each issue found, provide: 1) Issue description, 2) Why it matters, 3) Specific code fix with BEFORE and AFTER examples. Format each issue clearly with the file line reference if possible. Focus on: bugs, security, performance, best practices, accessibility, and React-specific issues.'
content: 'Review this code from ' + file + ' and provide specific fixes:\n\n```javascript\n' + content.slice(0, 3000) + '\n```\n\nFor each issue, show:\n- Issue: [description]\n- Why: [explanation]\n- Fix: [before/after code example]'
0 commit comments