- Enforce company-specific coding standards and security practices
- Implement quality checks that match your engineering culture
- Create paved paths for developers to follow organizational best practices
How Rules Work
Your agent detects rules and applies the specified rules while in Agent, Chat, and Edit modes.Where to Manage Rules
Local Rules (.continue/rules)
- Create files in
.continue/rulesfolder - Edit directly in your file system
- Version controlled alongside your code
- Best for project-specific rules (e.g., “remember to generate migrations after modifying the db”)
- Best for organization-wide rules (e.g., “always use X library for Y task”)
rules in the YAML Reference for more details.