Skip to content

[공통] codeRabbit PR 리뷰 설정 추가#1182

Merged
dooohun merged 9 commits intodevelopfrom
feat/code-rabbit-review
Feb 24, 2026
Merged

[공통] codeRabbit PR 리뷰 설정 추가#1182
dooohun merged 9 commits intodevelopfrom
feat/code-rabbit-review

Conversation

@dooohun
Copy link
Contributor

@dooohun dooohun commented Feb 23, 2026

What is this PR? 🔍

  • 기능 : codeRabbit PR 리뷰 설정 추가

Changes 📝

  • codeRabbit PR 리뷰 설정 추가 (.coderabbit.yaml 파일 추가)

Instruction 문구 추가

instructions: |
        이 디렉토리는 Next.js Pages Router의 페이지 컴포넌트입니다.
        1. 페이지 컴포넌트에서 비즈니스 로직이 과도하게 포함되어 있지 않은지 확인해주세요.
        2. SEO 관련 메타 태그(Head 컴포넌트)가 적절히 설정되어 있는지 확인해주세요.
        3. getServerSideProps/getStaticProps 사용 시 에러 핸들링이 적절한지 확인해주세요.
    - path: src/components/**
      instructions: |
        1. 컴포넌트의 단일 책임 원칙(SRP)을 준수하고 있는지 확인해주세요.
        2. Props 타입이 명확하게 정의되어 있는지(interface 사용 권장) 확인해주세요.
        3. 불필요한 리렌더링을 유발하는 패턴(인라인 함수, 객체 리터럴 등)이 있는지 확인해주세요.
        4. 접근성(a11y) 관련 속성이 적절히 사용되고 있는지 확인해주세요.
    - path: src/api/**
      instructions: |
        1. API 호출 시 적절한 에러 핸들링이 되어 있는지 확인해주세요.
        2. 요청/응답 타입이 명확하게 정의되어 있는지 확인해주세요.
        3. API 엔드포인트 URL에 하드코딩된 값이 없는지 확인해주세요.
        4. 인증 토큰 등 민감 정보 처리가 안전한지 확인해주세요.
    - path: src/hooks/**
      instructions: |
        1. 커스텀 훅의 네이밍이 use 접두사를 따르고 있는지 확인해주세요.
        2. 의존성 배열이 정확하게 설정되어 있는지 확인해주세요.
        3. 메모리 누수 가능성이 있는 패턴(cleanup 미처리)이 없는지 확인해주세요.
    - path: src/utils/**
      instructions: |
        1. 유틸 함수가 순수 함수로 작성되어 있는지 확인해주세요.
        2. 엣지 케이스(null, undefined, 빈 배열 등) 처리가 되어 있는지 확인해주세요.
    - path: src/**
      instructions: |
        1. Next.js, React, TypeScript 팀 코드 컨벤션 및 공식 스타일 가이드(React/TS best practices)를 우선적으로 반영하여, 가독성·안정성(Null/에러 처리)·테스트/유지보수 용이성·브라우저/접근성 이슈 등을 검토해주세요.
        2. 최신 React/TypeScript 트렌드, 팀 스타일 통일성, 성능 최적화, 보안 취약점 등도 함께 고려해주세요.
        3. 각 리뷰 포인트별로 문제점과 대안, 장단점을 논리적으로 제시하고, 필요한 경우 예시 코드도 추가해주세요.
        4. 리뷰가 너무 많아서 피로감을 줄 수 있으니, 꼭 필요한 부분에 집중해주고, 나머지는 캡션으로 설명해주세요.
        5. 리뷰 남겨주는 부분은 해당 라인 범위의 코멘트에 작성해주세요.
        6. zustand 스토어 사용 시 selector 패턴을 권장해주세요.
        7. @tanstack/react-query 사용 시 queryKey 컨벤션과 에러/로딩 상태 처리를 확인해주세요.

ScreenShot 📷

N/A

Test CheckList ✅

N/A

Precaution

Instruction 및 기타 설정 중 수정이 필요한 내용들 리뷰해주세요!

✔️ Please check if the PR fulfills these requirements

  • It's submitted to the correct branch, not the develop branch unconditionally?
  • If on a hotfix branch, ensure it targets main?
  • There are no warning message when you run yarn lint

Summary by CodeRabbit

  • Chores
    • 자동화된 코드 리뷰 구성 파일 추가(언어 한국어, 리뷰 프로필·자동검토·자동응답 등 설정 포함).
    • Pull Request 템플릿 일부 문구 정리.
    • 검토자 목록 업데이트(기존 항목 제거 및 새 검토자 추가).
    • 기존 자동 리뷰 워크플로 제거로 관련 자동화 설정 정리.

ff1451 and others added 7 commits February 6, 2026 20:56
Co-authored-by: dooohun <74540646+dooohun@users.noreply.github.com>
Co-authored-by: JeongWon-CHO <128157441+JeongWon-CHO@users.noreply.github.com>
Co-authored-by: Gwak-Seungju <74342515+Gwak-Seungju@users.noreply.github.com>
Co-authored-by: 이준영 <54898597+ff1451@users.noreply.github.com>
Co-authored-by: 이준영 <ff1451@gmail.com>
Co-authored-by: JeongWon-CHO <128157441+JeongWon-CHO@users.noreply.github.com>
Co-authored-by: Gwak-Seungju <74342515+Gwak-Seungju@users.noreply.github.com>
@dooohun dooohun self-assigned this Feb 23, 2026
@dooohun dooohun added the ⚙ Setting 개발 환경 세팅 label Feb 23, 2026
@github-actions github-actions bot requested a review from ff1451 February 23, 2026 03:06
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Walkthrough

CodeRabbit 자동 리뷰 구성 파일(.coderabbit.yaml)이 추가되고, 기존 Claude 기반 자동 PR 리뷰 워크플로우(.github/workflows/AI_AUTO_REVIEW.yml)가 삭제되었습니다. PR 템플릿에서 리뷰 요청 라인이 제거되었고, reviewer 목록(.github/workflows/reviewer.json)이 교체되었습니다.

Changes

Cohort / File(s) Summary
CodeRabbit 설정
./.coderabbit.yaml
새로운 CodeRabbit 자동 리뷰 구성 파일 추가: 한국어 설정, 프로필/자동리뷰/경로 필터링/도구 설정, 경로별(예: src/pages, src/components, src/api, src/hooks, src/utils, src/**) 한국어 지침 및 chat.auto_reply·knowledge_base 설정 포함.
PR 템플릿 변경
./.github/PULL_REQUEST_TEMPLATE.md
PR 템플릿에서 "@claude 리뷰 요청" 문구 및 빈 줄 제거(문서 템플릿 텍스트 수정).
리뷰어 설정 변경
./.github/workflows/reviewer.json
리포지토리 reviewer 목록 갱신: 기존 엔트리 두 건 제거, 새 리뷰어(박성주) 추가.
워크플로우 삭제
./.github/workflows/AI_AUTO_REVIEW.yml
Anthropic/Claude 기반 자동 PR 리뷰 GitHub Actions 워크플로우 삭제(PR 이벤트 트리거 및 claude-action 호출 관련 구성 제거).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 분

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목은 주요 변경사항을 명확하게 요약하고 있으며, codeRabbit PR 리뷰 설정 추가라는 핵심 내용을 잘 반영하고 있습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/code-rabbit-review

Comment @coderabbitai help to get the list of available commands and usage tips.

@claude
Copy link

claude bot commented Feb 23, 2026

Claude finished @dooohun's task in 1m 14s —— View job


PR 리뷰 완료

  • 변경된 파일 분석
  • .coderabbit.yaml 설정 검토
  • .github/PULL_REQUEST_TEMPLATE.md 변경사항 검토
  • .github/workflows/reviewer.json 변경사항 검토
  • 종합 리뷰 작성

종합 리뷰

이 PR은 CodeRabbit AI 코드 리뷰 도구를 설정하고 리뷰어 목록을 업데이트하는 변경사항입니다. 전반적으로 잘 구성되어 있으며, 아래 피드백을 참고해 주세요.


.coderabbit.yaml 리뷰

[P2] 제안사항

항목 내용
Location .coderabbit.yaml:4
설명 profile: chill 설정이 적용되어 있어 리뷰 톤이 부드러워집니다. 프로젝트 초기에는 좋지만, 팀이 익숙해지면 assertive 또는 default로 변경하여 더 상세한 피드백을 받는 것도 고려해 볼 수 있습니다.

[P2] 제안사항

항목 내용
Location .coderabbit.yaml:69-77
설명 src/** path의 instructions가 7개 항목으로 다소 길고 포괄적입니다. 더 구체적인 경로별 instructions(예: src/pages/**, src/components/**)이 이미 정의되어 있으므로, 이 일반 rules가 중복되어 리뷰 피로감을 유발할 수 있습니다. 핵심 규칙만 남기는 것을 권장합니다.

[P2] 제안사항 - CLAUDE.md와 정합성

항목 내용
Location .coderabbit.yaml:41-77
설명 path_instructions에 CLAUDE.md에 정의된 isKoinError() 에러 핸들링 패턴, ROUTES 헬퍼 사용 권장, 쿠키 상수 사용 규칙 등의 프로젝트 고유 규칙이 누락되어 있습니다. CodeRabbit이 이런 규칙도 체크하도록 추가하면 더 효과적인 리뷰가 가능합니다.
추가 instructions 예시 (클릭하여 펼치기)
- path: src/api/**
  instructions: |
    ...
    5. 에러 핸들링 시 isKoinError() 타입 가드를 사용하는지 확인해주세요.
    
- path: src/**
  instructions: |
    ...
    8. 라우팅 시 하드코딩된 경로 대신 ROUTES 헬퍼를 사용하는지 확인해주세요.
    9. 쿠키 사용 시 COOKIE_KEY 상수와 getCookieDomain()을 사용하는지 확인해주세요.

.github/PULL_REQUEST_TEMPLATE.md 리뷰

[P1] 확인 필요

항목 내용
Location .github/PULL_REQUEST_TEMPLATE.md
설명 @coderabbitai 리뷰 요청 태그를 제거했습니다. CodeRabbit은 auto_review.enabled: true 설정으로 자동 리뷰하므로 이 삭제는 적절합니다. 단, base_branchesdevelopmain만 포함되어 있어 다른 브랜치로의 PR에서는 자동 리뷰가 작동하지 않을 수 있음을 인지해 주세요.

.github/workflows/reviewer.json 리뷰

변경사항 확인

  • 삭제: Gwak-Seungju, Yejin0070
  • 추가: ParkSungju01

이 변경은 팀 구성 변경을 반영한 것으로 보이며, JSON 구조가 올바릅니다.


보안 및 성능

  • 보안 이슈 없음: 설정 파일만 변경되었으며, 민감 정보 노출이 없습니다.
  • 성능 영향 없음: 빌드/런타임에 영향을 주지 않는 설정 파일입니다.

결론

이 PR은 승인 권장입니다. 위 제안사항들은 [P2]로 선택적 개선사항이며, 현재 설정으로도 CodeRabbit이 정상 작동할 것입니다.

Copy link
Contributor

@ff1451 ff1451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
.coderabbit.yaml (3)

7-7: high_level_summary_placeholder 기본값 중복 설정

스키마 기본값('@coderabbitai summary')과 동일한 값이므로 이 줄은 제거해도 동작이 변경되지 않습니다.

♻️ 제안된 변경
  high_level_summary: true
- high_level_summary_placeholder: '@coderabbitai summary'
  changed_files_summary: true
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml at line 7, high_level_summary_placeholder에 설정된 기본값
"'@coderabbitai summary'"은 스키마 기본값과 중복되므로 해당 키를 제거하여 중복 설정을 없애세요; 파일의
high_level_summary_placeholder 항목(값: '@coderabbitai summary')을 삭제하면 동작은 변경되지
않습니다.

65-73: src/** 경로가 더 구체적인 path_instructions와 중복 적용됨

src/**src/pages/**, src/components/**, src/api/**, src/hooks/**, src/utils/** 모두를 포함합니다. 해당 하위 디렉토리의 파일은 구체적인 지침과 src/** 지침을 동시에 적용받습니다. CodeRabbit이 두 지침 세트를 모두 사용하는 동작은 지원되지만, 의도적으로 레이어드 지침을 원하는 것인지 확인해주세요. 중복 지침이 불필요하다면 src/**src/*.{ts,tsx}처럼 하위 디렉토리를 제외한 최상위 파일만 매칭하도록 좁힐 수 있습니다.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 65 - 73, The glob "src/**" overlaps with more
specific patterns like "src/pages/**", "src/components/**", "src/api/**",
"src/hooks/**", and "src/utils/**", causing duplicate/conflicting instructions;
remove or narrow the broad "src/**" entry (e.g., replace it with
"src/*.{ts,tsx}" to target top-level files only) or delete it so only the
specific directory globs apply, and ensure the resulting ruleset contains either
a single general rule or the explicit per-directory rules but not both.

24-26: base_branches에서 기본 브랜치 develop 제거 필요

이 레포지토리의 기본 브랜치는 develop입니다. 스키마 설명에 따르면 base_branches는 기본 브랜치 이외의 추가 브랜치를 지정하는 필드이므로, 이미 기본 브랜치인 develop 항목은 제거하고 main만 유지하세요.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 24 - 26, Remove the redundant "develop" entry
from the base_branches list so it only contains additional branches (leave
"main"); update the base_branches field (symbol: base_branches) to remove
"develop" and keep "main" consistent with the schema that excludes the
repository's default branch.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.coderabbit.yaml:
- Line 12: The config key collapse_walkthrough is set to false which forces
walkthroughs to be expanded by default; confirm this is intentional and either
set collapse_walkthrough: true to restore the default collapsed behavior or add
a short inline comment explaining why walkthroughs must remain expanded; update
the .coderabbit.yaml entry for collapse_walkthrough accordingly so reviewers
understand the rationale if you keep false.

---

Nitpick comments:
In @.coderabbit.yaml:
- Line 7: high_level_summary_placeholder에 설정된 기본값 "'@coderabbitai summary'"은 스키마
기본값과 중복되므로 해당 키를 제거하여 중복 설정을 없애세요; 파일의 high_level_summary_placeholder 항목(값:
'@coderabbitai summary')을 삭제하면 동작은 변경되지 않습니다.
- Around line 65-73: The glob "src/**" overlaps with more specific patterns like
"src/pages/**", "src/components/**", "src/api/**", "src/hooks/**", and
"src/utils/**", causing duplicate/conflicting instructions; remove or narrow the
broad "src/**" entry (e.g., replace it with "src/*.{ts,tsx}" to target top-level
files only) or delete it so only the specific directory globs apply, and ensure
the resulting ruleset contains either a single general rule or the explicit
per-directory rules but not both.
- Around line 24-26: Remove the redundant "develop" entry from the base_branches
list so it only contains additional branches (leave "main"); update the
base_branches field (symbol: base_branches) to remove "develop" and keep "main"
consistent with the schema that excludes the repository's default branch.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3d74bfb and 19a74e2.

📒 Files selected for processing (1)
  • .coderabbit.yaml

sequence_diagrams: true
poem: false
review_status: true
collapse_walkthrough: false
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

collapse_walkthrough: false — 워크스루 항상 펼침 상태 확인 필요

스키마 기본값은 true(접힘)입니다. false로 설정하면 변경 파일이 많은 PR에서 워크스루 코멘트가 항상 펼쳐진 채로 표시되어 PR 페이지가 길어질 수 있습니다. 의도적인 설정인지 확인해주세요.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml at line 12, The config key collapse_walkthrough is set to
false which forces walkthroughs to be expanded by default; confirm this is
intentional and either set collapse_walkthrough: true to restore the default
collapsed behavior or add a short inline comment explaining why walkthroughs
must remain expanded; update the .coderabbit.yaml entry for collapse_walkthrough
accordingly so reviewers understand the rationale if you keep false.

@dooohun dooohun merged commit 8f94369 into develop Feb 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙ Setting 개발 환경 세팅

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants