-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add CodeRabbit AI configuration based on CLAUDE.md rules #947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
| # CodeRabbit AI Review Instructions | ||
| # Based on project-specific rules from CLAUDE.md | ||
|
|
||
| # Language for reviews | ||
| language: en-US | ||
|
|
||
| # Review tone and communication style (max 250 chars) | ||
| tone_instructions: "Be direct and specific. Explain WHY rules exist. Provide code examples. Distinguish critical violations from suggestions. Use severity levels: CRITICAL (blocking/security), HIGH (types/defensive), MEDIUM (style), LOW (suggestions)." | ||
|
|
||
| # Enable early access features | ||
| early_access: true | ||
|
|
||
| reviews: | ||
| # Review profile: assertive for strict enforcement | ||
| profile: assertive | ||
|
|
||
| # Request changes for critical violations | ||
| request_changes_workflow: true | ||
|
|
||
| # Review display settings | ||
| high_level_summary: true | ||
| poem: false | ||
| review_status: true | ||
| collapse_walkthrough: false | ||
|
|
||
| # Auto-review configuration | ||
| auto_review: | ||
| enabled: true | ||
| drafts: false | ||
| base_branches: | ||
| - main | ||
|
|
||
| # Enable relevant tools for Python/JavaScript project | ||
| tools: | ||
| # Python linting | ||
| ruff: | ||
| enabled: true | ||
| pylint: | ||
| enabled: true | ||
|
|
||
| # JavaScript linting | ||
| eslint: | ||
| enabled: true | ||
|
|
||
| # Shell script checking | ||
| shellcheck: | ||
| enabled: true | ||
|
|
||
| # YAML validation | ||
| yamllint: | ||
| enabled: true | ||
|
|
||
| # Security scanning | ||
| gitleaks: | ||
| enabled: true | ||
| semgrep: | ||
| enabled: true | ||
|
|
||
| # GitHub Actions workflow validation | ||
| actionlint: | ||
| enabled: true | ||
|
|
||
| # Dockerfile linting | ||
| hadolint: | ||
| enabled: true | ||
|
|
||
| # Knowledge base configuration | ||
| knowledge_base: | ||
| # Enable code guidelines enforcement from CLAUDE.md | ||
| code_guidelines: | ||
| enabled: true | ||
| filePatterns: | ||
| - "CLAUDE.md" | ||
|
|
||
| # Enable learning from repository patterns | ||
| learnings: | ||
| scope: auto | ||
|
|
||
| # Enable learning from issues | ||
| issues: | ||
| scope: auto | ||
|
|
||
| # Enable learning from pull requests | ||
| pull_requests: | ||
| scope: auto | ||
|
|
||
| # Chat settings | ||
| chat: | ||
| auto_reply: true | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.