The same settings page also offers pre-built review agents you can enable per repository. See Agent Personas.
Accessing Dashboard Rules
Navigate to your Dashboard settings:- Go to app.codeant.ai/x/settings/ai-rules
- Select Rules from the dropdown menu
- Click Add New to create a new custom rule
Creating Rules
Step 1: Select Repositories
Choose which repositories should apply this rule:- Use the search bar to find specific repositories
- Select multiple repositories using checkboxes
- All selected repositories will receive the same rule
Step 2: Configure Rule
Rule Description (Required)- Provide a clear, specific description of what this rule enforces
- Explain the reasoning behind the rule for team clarity
- Specify which files this rule applies to using glob patterns
- Click Add to include multiple patterns
- Use minimatch syntax for pattern matching
Rule Categories
Code Quality Rules
No Console Logs in Production:API and Architecture Rules
REST API Conventions:Pattern Examples
Common File Patterns
Advanced Patterns
Custom rules work alongside CodeAnt’s built-in detection, providing comprehensive code review coverage tailored to your team’s specific needs.