- 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/rules
folder - Automatically appear with Hub assistants
- Edit directly in your file system
- Best for project-specific rules
Hub Rules
- Manage on Continue Hub
- Reference in config.yaml with
uses:
- Share with team and community
- Best for reusable, organization rules
Quick Setup: Start with local rules for immediate use, then promote commonly used rules to the Hub for sharing and reuse.
rules
in the YAML Reference for more details.