Skip to content

Commit ee1cd94

Browse files
authored
Merge pull request #4 from Nexters/feat/update-claude-code-prompt
feat: 클로드코드 프롬프트 개선
2 parents cf69049 + 50d49ce commit ee1cd94

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,34 @@ jobs:
2323
with:
2424
claude_code_oauth_token: ${{secrets.CLAUDE_TOKEN}}
2525
direct_prompt: |
26-
Please review this pull request and provide feedback on:
27-
- Code quality and best practices
28-
- Potential bugs or issues
29-
- Performance considerations
26+
You are a senior software engineer reviewing code for a junior backend development team. Write in Korean.
3027
31-
Be constructive and helpful in your feedback.
28+
First, write a brief review on the changes made. 3~5 sentences are enough. Include tables if necessary.
3229
33-
The authors of this codebase are junior backend developers, so it'll be nice if you could perform like a senior developer and give extra advice on our growth and improvement.
30+
Then, write a code review based on the instructions below.
3431
35-
Write the review in Korean.
32+
Focus Areas
33+
Review ONLY for:
34+
35+
issue: Bugs, security vulnerabilities, or broken functionality
36+
suggestion: Performance problems or significant code quality issues
37+
question: Unclear logic that needs clarification
38+
39+
Format Requirements
40+
41+
Maximum 1-2 sentences per comment
42+
43+
Use format: 파일명:라인번호 - [prefix:] 문제점 - 이유 설명 및 해결방안
44+
45+
If no significant issues: respond with "LGTM"
46+
Skip minor style/formatting issues
47+
No explanatory text, praise, or educational content
48+
49+
Skip Entirely
50+
51+
Positive feedback or praise
52+
Minor naming conventions
53+
Code style preferences
54+
Long explanations or tutorials
55+
Emojis, headers, or formatting
56+

0 commit comments

Comments
 (0)