@@ -42,19 +42,27 @@ jobs:
42
42
43
43
# Direct prompt for automated review (no @claude mention needed)
44
44
direct_prompt : |
45
- Please review this pull request and provide feedback on:
46
- - Code quality and best practices
47
- - Potential bugs or issues
48
- - Performance considerations
49
- - Security concerns
50
- - Test coverage
45
+ Important, ensure:
46
+ - PR includes changeset when updating package source
47
+ - PR includes documentation updates when API surface changes
48
+ - Code updates are clean and well architected
49
+ - Tests cover relevant code changes
50
+
51
+ Provide feedback on:
52
+ - Code quality and best practices - readability, maintainability, elegance
53
+ - Potential bugs, performance considerations, security concerns
51
54
52
55
Be constructive and helpful in your feedback.
53
56
57
+ ${{ github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' &&
58
+ '
59
+
60
+ Welcome! This is from a first-time contributor. Be encouraging and provide detailed explanations for any suggestions.' || '' }}
61
+
54
62
allowed_bots : " renovate"
55
63
56
64
# Optional: Use sticky comments to make Claude reuse the same comment on subsequent pushes to the same PR
57
- # use_sticky_comment: true
65
+ use_sticky_comment : true
58
66
59
67
# Optional: Customize review based on file types
60
68
# direct_prompt: |
64
72
# - For React components: Performance, accessibility, and best practices
65
73
# - For tests: Coverage, edge cases, and test quality
66
74
67
- # Optional: Different prompts for different authors
68
- # direct_prompt: |
69
- # ${{ github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' &&
70
- # 'Welcome! Please review this PR from a first-time contributor. Be encouraging and provide detailed explanations for any suggestions.' ||
71
- # 'Please provide a thorough code review focusing on our coding standards and best practices.' }}
72
-
73
75
# Optional: Add specific tools for running tests or linting
74
76
# allowed_tools: "Bash(npm run test),Bash(npm run lint),Bash(npm run typecheck)"
75
77
0 commit comments