[CI] CodeRabbit 커스텀 리뷰 설정 추가 - #6
Conversation
- .coderabbit.yaml 파일을 생성했습니다 - 리뷰 언어를 한국어(ko-KR)로 설정했습니다 - 리뷰 톤 가이드라인(tone_instructions)을 추가했습니다 - 프로젝트 컨벤션 기반 경로별 리뷰 지침(path_instructions)을 추가했습니다 - PR 본문 서머리(high_level_summary)를 비활성화했습니다
Walkthrough
ChangesCodeRabbit 커스텀 리뷰 설정 추가
예상 코드 리뷰 노력🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.coderabbit.yaml (1)
113-113:⚠️ Potential issue | 🔴 Critical | ⚡ Quick winYAML 파싱을 깨는 단독 숫자 라인을 제거하세요.
Line 113의
113은 key/value가 아닌 단독 스칼라라서 설정 파일 파싱 실패를 유발할 수 있습니다. 이 줄을 삭제해야 전체 CodeRabbit 설정이 정상 적용됩니다.
참고: YAML 1.2 Spec — https://yaml.org/spec/1.2.2/🔧 Proposed fix
chat: auto_reply: true -113🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.coderabbit.yaml at line 113, The .coderabbit.yaml file contains a standalone scalar value `113` on line 113 that is not a key/value pair, which violates YAML structure and prevents the configuration file from being parsed correctly. Locate and delete this standalone number line entirely from the configuration file to ensure all CodeRabbit settings are applied properly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In @.coderabbit.yaml:
- Line 113: The .coderabbit.yaml file contains a standalone scalar value `113`
on line 113 that is not a key/value pair, which violates YAML structure and
prevents the configuration file from being parsed correctly. Locate and delete
this standalone number line entirely from the configuration file to ensure all
CodeRabbit settings are applied properly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 346bbc5e-cd89-4006-b197-843d0c07f66c
📒 Files selected for processing (1)
.coderabbit.yaml
jjangminii
left a comment
There was a problem hiding this comment.
코드래빗 세세하게 설정하느라 수고하셨습니다~ 저도 시 없는게 좋아요 ㅎㅎ
| 1. 피드백은 명확하고 구체적으로 작성하고, 문제 원인과 개선 방법을 함께 제시하세요. | ||
| 2. 리뷰는 교육적인 방향을 지향하며, 관련 공식 문서 링크를 함께 추천하세요. | ||
| 3. 비판보다는 개선 제안을 우선하세요. | ||
| 4. 칭찬은 짧고 위트 있게 작성하세요. |
| - "!**/coverage/**" | ||
| - "!**/*.snap" | ||
|
|
||
| path_instructions: |
There was a problem hiding this comment.
이런 리뷰 지침도 가능하군요...! 신기합니당
ISSUE 🔗
close #5
What is this PR? 🔍
PR마다 실행되는 CodeRabbit AI 리뷰를 Timo 프로젝트 컨벤션에 맞게 커스터마이징하는
.coderabbit.yaml을 추가했습니다.기존에는 CodeRabbit이 기본 설정으로 동작해 영어로 리뷰가 달리고, 프로젝트 고유 컨벤션(any 금지, Named export, App Router 계층 구조 등)을 인식하지 못했습니다. 이번 PR에서 팀 컨벤션을 리뷰 지침에 직접 반영해 CodeRabbit이 Timo 규칙 기준으로 피드백을 제공하도록 설정했습니다.
리뷰 기본 설정
리뷰 언어를
ko-KR로 설정하고, 피드백 방식을 안내하는tone_instructions를 추가했습니다. 리뷰 톤은 문제 원인과 개선 방법을 함께 제시하고, 비판보다 개선 제안을 우선하는 방향으로 작성했습니다. PR 본문에 자동으로 붙던 서머리(high_level_summary)는 팀 템플릿과 중복되어 비활성화했습니다.path_instructions
docs/conventions.md와docs/architecture.md를 기반으로 경로별 리뷰 지침을 작성했습니다.**/*.{ts,tsx}any금지, Arrow function Named export, 절대경로 import, A11y, 네이밍 컨벤션apps/timo-web/app/**apps/timo-web/stores/**packages/timo-design-system/**apps/*참조 금지, 단방향 의존성.github/workflows/**To Reviewers
path_instructions의 내용이docs/conventions.md,docs/architecture.md와 일치하는지 확인 부탁드립니다. 컨벤션이 추가되거나 변경될 때마다 이 파일도 함께 업데이트해야 합니다.Screenshot 📷
Test Checklist ✔
.coderabbit.yamlYAML 문법 이상 없음 확인