mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
Enable inline code review comments like Vercel bot
This commit is contained in:
22
.github/workflows/claude-code.yml
vendored
22
.github/workflows/claude-code.yml
vendored
@@ -70,11 +70,19 @@ jobs:
|
|||||||
bedrock_model_id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
bedrock_model_id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
direct_prompt: |
|
direct_prompt: |
|
||||||
Review this PR and provide feedback on:
|
Review this PR by examining the diff carefully. For each issue you find:
|
||||||
1. Code quality and best practices
|
|
||||||
2. Potential bugs or issues
|
|
||||||
3. Security concerns
|
|
||||||
4. Performance implications
|
|
||||||
5. Suggestions for improvement
|
|
||||||
|
|
||||||
Be concise and actionable. Focus on important issues rather than nitpicking style.
|
1. Use the GitHub inline comment tool to add comments directly on the specific lines of code that have issues
|
||||||
|
2. Include code suggestions using GitHub's suggestion syntax when appropriate:
|
||||||
|
```suggestion
|
||||||
|
// corrected code here
|
||||||
|
```
|
||||||
|
|
||||||
|
Focus on:
|
||||||
|
- Bugs and logic errors
|
||||||
|
- Security vulnerabilities
|
||||||
|
- Performance issues
|
||||||
|
- Code quality problems
|
||||||
|
|
||||||
|
Be concise. Only comment on significant issues, not style nitpicks.
|
||||||
|
After adding inline comments, provide a brief summary of your review.
|
||||||
|
|||||||
Reference in New Issue
Block a user