continue-custom/docs/customization/rules.mdx
Ty Dunn 9f68638e32
docs: updates to reflect product simplifications (#7357)
* remove outdated pages and references to them

* change telemetry to a page instead of a directory with one page

* fix duplicate redirects

* remove vs code actions docs and references

* update hub introduction

* deprecate some context providers

* initial codebase and documentation guide

* replace context provider with MCP in custom code RAG

* deprecate @docs and @codebase

* remove context, docs, data blocks

* move context providers to deep dives

* move custom providers

* remove "blocks"

* remove rules "block"

* update popular providers

* cleanup before review

* updating more providers

* improve model reccs

* fix broken links

* add models links

* cleaning up models details

* move agent to first in list

* remove outdated descriptions

* reorder referene section

* update block types

* adjust model config example

* fix tabs for yaml / json

---------

Co-authored-by: Brian 'bdougie' Douglas <brian@dinnerpeople.app>
2025-08-28 15:33:07 -07:00

18 lines
No EOL
1.2 KiB
Text

---
title: "Rules"
description: "Rules allow you to provide specific instructions that guide how the AI assistant 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."
---
Think of these as the guardrails for your AI coding assistants:
- **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
By implementing rules, you transform the AI from a generic coding assistant into a knowledgeable team member that understands your project's unique requirements and constraints.
## How Rules Work
Your assistant 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.
Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.