-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
219 lines (207 loc) · 6.92 KB
/
Copy path.coderabbit.yaml
File metadata and controls
219 lines (207 loc) · 6.92 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# Agentic Workflow Foundation Kit 用の CodeRabbit 設定。
# 本リポジトリはジェネレータ・ツールキット本体であり、
# 対象プロジェクトへ基盤ファイルを生成する側のコードベース。
language: "ja-JP"
tone_instructions: >
簡潔かつ具体的に。修正案がある場合はコード例を添えてください。
early_access: true
reviews:
profile: chill
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
auto_title_placeholder: "@coderabbitai"
review_status: true
collapse_walkthrough: true
changed_files_summary: true
sequence_diagrams: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: false
suggested_reviewers: true
auto_assign_reviewers: false
poem: false
abort_on_close: true
request_changes_workflow: false
commit_status: true
fail_commit_status: false
path_filters:
- "!**/*.lock"
- "!**/*.generated.*"
- "!**/dist/**"
- "!**/node_modules/**"
- "!**/*.min.js"
- "!**/*.min.css"
- "!**/coverage/**"
- "!**/__snapshots__/**"
- "!**/__pycache__/**"
- "!**/*.pyc"
- "!**/.cursor/plans/**"
- "!**/.cursor/.session/**"
- "!**/.cursor/skills/.resolved-*/**"
- "!**/tmp/**"
- "!**/.DS_Store"
path_instructions:
- path: "**/*.py"
instructions: |
Python 3 標準ライブラリのみで動作するスクリプトです。
外部依存(PyYAML 等)を導入していないか、型ヒントの一貫性、
エラーハンドリング(exit code 0/1/2 の使い分け)、
ファイル I/O の堅牢性(encoding 指定、パス結合の安全性)を
重点的にレビューしてください。
- path: "**/*.sh"
instructions: |
Bash シェルスクリプトです。POSIX 互換性、
未定義変数の参照(set -u 相当の安全性)、
引用符の抜け(word splitting / glob 展開)、
exit code の正確な使用を確認してください。
- path: "**/*.template"
instructions: |
Mustache 風テンプレートファイルです。
プレースホルダ({{variable}}、{{#each}}...{{/each}})が
manifest.yaml の対応するキーと整合しているか、
生成後の Markdown / YAML / Shell として構文的に正しいか確認してください。
- path: "**/*.yaml"
instructions: |
YAML 設定ファイルです。本リポジトリは独自の最小 YAML ローダ
(block style のみ、flow style 不可)を使用しています。
flow style({..} / [..])が混入していないか、
インデントが半角スペース 2 で統一されているか、
seed manifest と root manifest の責務分離が守られているか確認してください。
- path: ".cursor/skills/agentic-workflow-foundation/scripts/**"
instructions: |
基盤生成の中核スクリプト群です。
run_resolved_engine.py は orchestration 層、
ingest/resolve 系は Phase ごとの変換ロジックです。
冪等性(同じ入力で同じ出力)、manifest の SoT 一元性、
一時ファイルのクリーンアップを確認してください。
- path: ".cursor/skills/agentic-workflow-engine/scripts/**"
instructions: |
生成・監査エンジンです。統一設計書や root manifest を直接読まず、
resolved manifest + templates だけで動作する設計です。
engine が foundation の責務(upstream metadata 解決等)に
踏み込んでいないか、What/How の分離が守られているか確認してください。
- path: ".cursor/skills/**/SKILL.md"
instructions: |
Cursor Agent Skill 定義ファイルです。
SKILL.md のフォーマット準拠、手順の明確さ、
セキュリティリスク(任意コード実行の可能性)を確認してください。
- path: ".cursor/skills/agentic-workflow-foundation/manifest.yaml"
instructions: |
seed manifest は全生成物の Source of Truth です。
outputs[] の path/template/mode/required_sections の整合性、
framework ブロックの設計判断の妥当性、
変更が下流(テンプレート・生成物・監査)に正しく伝播するか確認してください。
- path: ".cursor/skills/agentic-workflow-foundation/references/**"
instructions: |
設計準拠マッピングと設計書参照のリファレンスドキュメントです。
統一設計書との整合性、トレーサビリティの正確さを確認してください。
- path: "docs/**"
instructions: |
ドキュメントのレビュー: README.md との整合性、
Meta 層 / Domain 層の命名規約準拠を確認してください。
- path: "README.md"
instructions: |
リポジトリの入口ドキュメントです。
アーキテクチャ図・ファイル構成・コマンド例が
実際のコードベースと乖離していないか確認してください。
auto_review:
enabled: true
drafts: false
incremental: true
auto_pause_after_reviewed_commits: 5
base_branches: []
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
- "wip"
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
tools:
markdownlint:
enabled: true
yamllint:
enabled: true
shellcheck:
enabled: true
gitleaks:
enabled: true
trufflehog:
enabled: true
github-checks:
enabled: true
ast-grep:
enabled: true
ruff:
enabled: true
pylint:
enabled: true
skillspector:
enabled: true
osv-scanner:
enabled: true
actionlint:
enabled: true
eslint:
enabled: false
biome:
enabled: false
oxc:
enabled: false
oasdiff:
enabled: false
hadolint:
enabled: false
flake8:
enabled: false
phpstan:
enabled: false
phpmd:
enabled: false
phpcs:
enabled: false
golangci-lint:
enabled: false
detekt:
enabled: false
rubocop:
enabled: false
brakeman:
enabled: false
swiftlint:
enabled: false
clippy:
enabled: false
pmd:
enabled: false
fbinfer:
enabled: false
clang:
enabled: false
cppcheck:
enabled: false
fortitude-lint:
enabled: false
luacheck:
enabled: false
chat:
auto_reply: true
integrations:
jira:
usage: auto
linear:
usage: auto
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
pull_requests:
scope: auto
code_guidelines:
enabled: true