-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy path.coderabbit.yml
More file actions
97 lines (80 loc) · 3.29 KB
/
.coderabbit.yml
File metadata and controls
97 lines (80 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: ja-JP
# ナレッジベース: プロジェクト固有のアーキテクチャガイドとルール
knowledge_base:
code_guidelines:
filePatterns:
- "docs/backend-architecture-guide.md"
- "docs/admin-ui-guidelines.md"
- "docs/design-document-rules.md"
- "CLAUDE.md"
reviews:
request_changes_workflow: true
poem: false
collapse_walkthrough: false
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
# レビュースタイル
profile: assertive
# レビュー強化機能
auto_apply_labels: true
path_filters:
- "webapp/**"
- "admin/**"
- "shared/**"
- "prisma/**"
- "supabase/**"
- "docs/**"
# docs配下のMarkdownはレビュー対象(設計ドキュメントのアーキテクチャレビュー)
- "!webapp/**/*.md"
- "!admin/**/*.md"
- "!**/*.mdx"
- "!**/*.svg"
- "!**/*.png"
- "!**/*.jpg"
- "!**/*.jpeg"
- "!**/*.gif"
- "!**/*.lock"
- "!**/pnpm-lock.yaml"
- "!**/yarn.lock"
- "!**/package-lock.json"
- "!**/dist/**"
- "!**/.next/**"
- "!**/coverage/**"
- "!**/*.snap"
# パス別のレビュー指示
path_instructions:
- path: "admin/src/server/contexts/**"
instructions: "docs/backend-architecture-guide.md に従ってレビューしてください。"
- path: "webapp/src/server/contexts/**"
instructions: "docs/backend-architecture-guide.md に従ってレビューしてください。"
- path: "admin/src/client/**"
instructions: "docs/admin-ui-guidelines.md に従ってレビューしてください。"
- path: "webapp/src/**"
instructions: "CLAUDE.md の「Next アプリケーション」セクションに従ってレビューしてください。"
- path: "admin/src/server/contexts/report/**"
instructions: "docs/reference/report-format.md と docs/scope-by-2026Jan.md に従ってレビューしてください。"
- path: "docs/**/*.md"
instructions: |
これは設計ドキュメントです。以下の観点でアーキテクチャレビューを行ってください:
1. **アーキテクチャ整合性**: docs/backend-architecture-guide.md のレイヤードアーキテクチャ(presentation → application → domain ↔ infrastructure)に従っているか
2. **Bounded Context**: 適切なコンテキスト境界が設定されているか、責務が明確か
3. **ドメインモデル設計**: ドメインロジックがモデルに適切に配置されているか
4. **依存関係**: 依存性逆転の原則に違反していないか
5. **実装の実現可能性**: 設計が現実的に実装可能か、技術的な問題がないか
6. **既存コードとの整合性**: プロジェクトの既存パターンと一貫性があるか
設計の問題点や改善提案があれば具体的に指摘してください。
auto_review:
enabled: true
drafts: true
base_branches:
- develop
- '^epic.*'
labeling_instructions: []
pre_merge_checks:
docstrings:
mode: "off"
# Markdownの書式チェックを無効化
tools:
markdownlint:
enabled: false