
Configurable options
AI review settings are configured at the repository level, allowing you to
have different configuration options for different repositories.
-
Review instructions
- Provide general guidelines for the AI in plaintext.
-
Library & framework versions
- Specify or override detected versions (e.g., React 18, Django 4) to improve suggestion accuracy.
- Note that, by default, cubic will try to automatically detect the common libraries and versions they use to ensure that it tailors its reviews to those specific ones.
-
Ignore patterns
- Define files or directories (using regex or glob) that the AI should not analyze (e.g.,
dist/,docs/).
- Define files or directories (using regex or glob) that the AI should not analyze (e.g.,
-
Exclude generated files
For large repositories, you can tell cubic to ignore files that don’t require review. This is handy for:
- Data files that don’t need to be reviewed
- Auto‑generated code produced by build or code‑gen tools
- Any other files that would make a pull request too large for cubic to process
.gitattributesfile:Files marked aslinguist-generatedwill be:- Automatically collapsed in GitHub pull request views
- Skipped entirely during cubic’s code review
Next steps
- Providing feedback: Refine the AI’s suggestions directly within PR comments.
- Custom rules: Create domain-specific checks to expand beyond general analysis.