Elffuss BraidHub

kikocis/continue public

main · 1.1 KiBRawPermalink
1---
2title: "Rules"
3description: "Rules allow you to provide specific instructions that guide how the AI agent behaves when working with your code. Instead of the AI making assumptions about your coding standards, architecture patterns, or project-specific requirements, you can explicitly define guidelines that ensure consistent, contextually appropriate responses."
4---
5
6Think of these as the guardrails for your AI coding agents:
7
8- **Enforce company-specific coding standards** and security practices
9- **Implement quality checks** that match your engineering culture
10- **Create paved paths** for developers to follow organizational best practices
11
12By implementing rules, you transform the AI from a generic coding agent into a knowledgeable team member that understands your project's unique requirements and constraints.
13
14## How Rules Work
15
16Your agent detects rules and applies the specified rules while in [Agent](/features/agent/quick-start), [Chat](/features/chat/quick-start), and [Edit](/features/edit/quick-start) modes.
17
18Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.