Skip to main content
BetaGitHubBitbucketAzure DevOps
Suggested rules help you formalize standards that already exist in your codebase and review process. They are not enforced until explicitly reviewed and approved by an admin. Qodo surfaces them as recommendations, giving you visibility into recurring review feedback and best practices, while leaving the decision to review, adjust, and activate each rule in your hands.
Suggested rules table showing AI-generated rule recommendations awaiting admin approval

What are suggested rules?

They appear under Rules > Suggestions and act as a recommendation layer between informal practices and enforced standards. Suggested rules help teams:
  • Capture repeated review feedback as formal rules
  • Align enforcement with real codebase behavior
  • Reduce reliance on tribal knowledge and reviewer memory

What you see in the Suggestions table

Each suggested rule appears as a pending rule in the Suggestions table, along with the key details you need to evaluate it. This information helps you quickly assess context, relevance, and priority before deciding whether to activate the rule.

Sources of suggestions

Suggested rules are generated from your organization’s pull request history in two ways:
The /scan_repo_discussions command has been deprecated and is no longer available. Rule discovery is now handled automatically by Rule Miner on a recurring schedule. No manual trigger is required.

Reviewing and activating suggestions

To review suggested rules:
1
Go to Rules > Suggestions.
2
Open a suggestion.
3
Review the rule content, examples, and source.
4
Set the scope of the rule. See Rule scope for the available options.
5
Edit the rule if needed.
6
Click Accept & activate or Dismiss.
Suggestions can also be accepted from the actions menu (⋮) in the Suggestions table. Once accepted, a suggested rule becomes a standard rule and follows the same lifecycle as any other rule.

Accept or dismiss suggestions in bulk

Select the checkbox next to each suggestion in the Suggestions table, then choose Accept & activate or Dismiss to process them all at once. To select every suggestion at once, select the checkbox in the table’s top row. When you dismiss suggestions, you must confirm the action in a dialog before it is applied.
Suggestions table with multiple rows selected, showing the bulk actions toolbar with Dismiss and Accept & Activate options

Next steps