-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
72 lines (64 loc) · 2.27 KB
/
.coderabbit.yaml
File metadata and controls
72 lines (64 loc) · 2.27 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
inheritance: true
reviews:
auto_title_instructions: |
Use conventional commit with short (<65 chars) sentence case Subject. See Copilot instructions.
Title strategy:
- Focus on the PRIMARY contribution or most central feature delivered in the PR
- Do NOT base the title on the last commit message
- Do NOT choose the most verbose or largest change
- Identify the core purpose or business value of the PR
- Keep titles concise and meaningful
Requirements:
- Use lowercase for type: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, or plan
- Subject must start with an uppercase letter
- Keep total title length ≤ 65 characters
- Use imperative mood (e.g., "Add feature" not "Added feature")
Examples:
- `feat: Add WebSocket support` (not "Update connection manager")
- `fix: Resolve authentication timeout` (not "Fix bug in auth service")
- `docs: Improve API examples` (not "Update documentation files")
- `chore: Update dependencies` (when that's the sole purpose)
path_instructions:
- path: "**/src/**"
instructions: "Ensure alignment to latest language and framework standards, and our organization's coding standards"
- path: "**/test/**"
instructions: "Focus on test coverage, edge cases, and alignment to test framework"
- path: "**/api/**"
instructions: "Ensure proper error handling and API documentation"
- path: "**/*.md"
instructions: "Check for broken links and formatting according to markdown configuration and instructions"
path_filters:
- "**"
- "!.github/workflows/*.lock.yml"
- "!node_modules/"
- "!*-lock.json"
- "!packages.lock.json"
- "!packages/"
- "!_cslib/"
- "!.jekyll-cache/"
- "!.pytest_cache/"
- "!__pycache__/"
- "!.venv/"
- "!.benchmarks/"
- "!.coverage/"
- "!vendor/"
- "!Gemfile.lock"
- "!.vitepress/cache/"
- "!.vitepress/dist/"
- "!bin/"
- "!obj/"
- "!*.g.cs"
- "!*.docx"
- "!*.pptx"
- "!*.xlsx"
- "!*.bak"
- "!*.zip"
tools:
ruff:
enabled: true
knowledge_base:
code_guidelines:
filePatterns:
- "**/AGENTS.md"
- ".github/skills/**"