BetaGitHubBitbucketAzure DevOps
Admins can create, edit, enable, approve, and delete rules. Members can generate rules in the portal; however, these rules appear in the Suggestions tab and require admin approval before becoming active. Members can also view active rules, suggested rules, and review rule outcomes during code reviews.
Review Standards
In the Qodo portal, navigate to Review Standards from the left menu.
Anatomy of a rule
A rule consists of the following fields:
Rule scope
Scope defines where the rule is enforced. You can narrow the scope to limit enforcement:
- Global (default): applies the rule to all repositories across all Git organizations.
- Git organization: applies the rule to selected Git organizations.
- Repository: applies only to selected repositories.
- Path patterns: applies to specific directories or files within a repository. Path patterns are optional and can only be added after selecting a repository, and are especially useful for monorepos where different projects or services live under the same repository.
Rules extracted from supported files (such as AGENTS.md) are automatically scoped to the folder containing that file, with no additional portal configuration needed.
Scope can be edited for a single rule at a time from the rule’s side panel (see Edit rule), or for multiple rules at once (see Manage rules in bulk).
Generate a rule
Use this flow to describe a rule in natural language and let Qodo agent generate a structured draft.1
Start rule generation
- From Rules, click Generate.
- Enter a short description of the rule’s intent.
- Click Generate rule.
- “Disallow
console.login production builds” - “Avoid SQL string concatenation with user input”

2
Review the generated rule draft
Qodo generates a complete rule draft that can be edited before activation.
3
Related rules check
Before activation, Qodo checks for:
- Conflicts
- Duplicates
- Overlapping scope
4
Click Accept & activate

If you are a member (non-admin), your rule appears in Rules > Suggestions for admin review before activation, unless an admin has enabled Auto-approve user suggestions. For more information, see Review and activate suggested rules.
Manage existing rules
Management actions for existing rules are available from the actions menu (⋮) in the table in the Rules tab. These actions are optional and can be performed at any time by admins or team admins.Manage rules in bulk
Multiple rules can be activated, deactivated, or rescoped at once from the Rules tab.1
Select rules
Select the checkbox next to each rule, or select the checkbox in the table’s top row to select every rule at once.

2
Choose an action
- Activate or Deactivate: Update the enabled state for all selected rules.
- Define scope: Set the scope for all selected rules at once. Select Global to apply the selected rules organization-wide, or Specific repositories to select a total of 25 entities (organizations and repositories), with an optional path pattern for each selected repository. See Rule scope for more details on scopes.
3
Confirm the action
A confirmation dialog appears before the action is applied. Confirm to apply the change to all selected rules.

Automatic rule updates from files
Qodo continuously monitors the supported rule files across your repositories. When changes to these files are merged to your repository, or when a new supported file is added, Qodo processes the diff and automatically adds new rules to the Review Standards as active rules. The scope of extracted rules is automatically determined by the file’s location in the repository. New rules added this way are:- Added directly as active rules
- Enriched with category, severity, scope, and examples
Fetch rules using get-qodo-rules skill
Supported AI coding agents can access your Review Standards directly using the get-qodo-rules skill.
The skill fetches repository specific rules from the Qodo platform API, including organization, repository, and path-level rules, and loads them into the agent context. This allows the agent to reference the same rules that are defined in Qodo.
This capability is optional and does not replace Qodo’s rule enforcement. It enables agents to use the rules already configured for the repository. Using the skill requires a Qodo API key and rules configured in the Qodo platform.
For more information, see:
- To set up the Rules Skill, see the open-source installation instructions.
- For an overview on Qodo Agent Skills, see Agent Skills.
Next steps
- Best practices for setting rules: Get guidance on writing clear, impactful, and maintainable rules.
- Rule analytics: Track how rules perform across pull requests over time.