-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
70 lines (65 loc) · 3.07 KB
/
Copy path.coderabbit.yaml
File metadata and controls
70 lines (65 loc) · 3.07 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
tone_instructions: Prioritize technical optimality without being nitpicky.
early_access: true
reviews:
request_changes_workflow: true
high_level_summary: false
auto_apply_labels: true
auto_assign_reviewers: true
path_filters:
- "!**/*.lock"
- "!**/package-lock.json"
- "!**/yarn.lock"
- "!**/*.generated.*"
- "!**/dist/**"
- "!**/node_modules/**"
- "!**/*.min.js"
- "!**/*.md" # markdown is prose/process content, not code review
# Generated artifacts — deterministically rendered from sources and guarded by
# `npm run skills:guard`. Review the SOURCES (skills-src/, commands/, servers/),
# not the renders, so a content-only change doesn't blow past CodeRabbit's file cap.
- "!skills/**" # per-runtime renders of skills-src/ (build:skills)
- "!command-aliases/**" # rendered from commands/ + canonical-skills
- "!agents/**" # generated agent files (build:skills generate:agents)
- "!.claude-plugin/plugin.json" # generated plugin manifest
- "!test/migration/__snapshots__/**" # vitest snapshots
- "!test/migration/__fixtures__/batch-baselines/**" # canonical render baselines
- "!docs/evals/**/runs/**" # committed raw experiment output (model-GENERATED impl/test), graded as-is by the harness — not authored code
path_instructions:
- path: "**/*.ts"
instructions: |
Apply TypeScript standards from rules/coding-standards.md:
- SOLID: One class/component per file, discriminated unions over type switches
- Types: Interfaces for extendable shapes, readonly default, no `any`
- Control: Guard clauses first, early return, flatten async/await
- path: "**/*.test.ts"
instructions: |
Apply TDD standards from rules/tdd.md:
- Use describe/it with Arrange-Act-Assert pattern
- Test behavior not implementation
- Use vi.mock/vi.fn for dependencies
- path: "**/api/**"
instructions: "Prioritize security: auth, input validation, error handling."
- path: "docs/**"
instructions: "Check for accuracy and completeness. Light review only."
- path: "skills-src/*/references/**/*.md"
instructions: |
Reference files are includes, not standalone skill entry points.
Do NOT require YAML frontmatter on these files.
See CLAUDE.md "Reference-file frontmatter" rule.
- path: "skills/*/references/**/*.md"
instructions: |
Reference files are includes, not standalone skill entry points.
Do NOT require YAML frontmatter on these files.
See CLAUDE.md "Reference-file frontmatter" rule.
auto_review:
drafts: true
base_branches:
- ".*"
ignore_usernames:
- "renovate[bot]"
labels:
- "!skip-coderabbit"
pre_merge_checks:
issue_assessment:
mode: warning