Customize Review
Instructions
Configure review instructions through CodeAnt AI Dashboard
These instructions help CodeAnt understand your coding standards, framework preferences, and project-specific requirements.
Accessing Dashboard Instructions
Navigate to your Dashboard settings:
- Go to app.codeant.ai/settings/customized-review
- Select Instructions from the dropdown menu
- Click Add New to create a new instruction
Creating Instructions
Step 1: Select Repositories
Choose which repositories should apply this instruction:
- Use the search bar to find specific repositories
- Select multiple repositories using checkboxes
- All selected repositories will receive the same instruction
Step 2: Configure Instruction
Instruction Description (Required)
- Provide a clear, specific description of what this instruction does
- Be explicit about the expected behavior or exceptions
File Patterns (Required)
- Specify which files this instruction applies to using glob patterns
- Click Add to include multiple patterns
- Use minimatch syntax for pattern matching
Sample Instructions
Framework and Version Specifications
React 18 with TypeScript:
Vue 3 Composition API:
Next.js 14 App Router:
Language and Localization Preferences
Spanish Code Suggestions:
Pattern Examples
Common File Patterns
Pattern | Description |
---|---|
**/*.{js,ts,jsx,tsx} | All JavaScript/TypeScript files |
src/components/**/*.tsx | React components only |
**/*.test.* | All test files |
!**/node_modules/** | Exclude dependencies |
*.config.{js,ts} | Configuration files |
docs/**/*.md | Documentation files |
src/{utils,helpers}/**/* | Utility functions |
**/*.d.ts | TypeScript declaration files |
Advanced Patterns
Pattern | Description |
---|---|
src/**/!(*.test).ts | TypeScript files excluding tests |
**/*.{story,stories}.{js,tsx} | Storybook files |
{src,lib}/**/*.{gql,graphql} | GraphQL files |
**/migrations/**/*.sql | Database migrations |
src/**/*.{module,service}.ts | NestJS modules and services |
Once saved, instructions will be applied to all selected repositories during the next code review cycle.