Best Practices
Auto Best Practices
How to enable Auto Best Practices
[auto_best_practices]
# Disable all auto best practices usage or generation
enable_auto_best_practices = true
# Disable usage of auto best practices file in the 'improve' tool
utilize_auto_best_practices = true
# Extra instructions to the auto best practices generation prompt
extra_instructions = ""
# Max number of patterns to be detected
max_patterns = 5Example

Custom Best Practices
Local best practices file
Writing effective best practices files
Example best_practices.md
best_practices.mdError handling
Null checks
Global hierarchical best practices
Best practices priority
Edge cases and behavior
Best practices suggestions label

How It Works
1. Exploration Phase – Finding Code Issues
2. Tracking Implemented Suggestions
3. Learning from Accepted Patterns
4. Applying Best Practices in Reviews
Last updated