diff --git a/docs/docs/agent/how-to-customize.md b/docs/docs/agent/how-to-customize.md index 93f3c6188..d19edacb1 100644 --- a/docs/docs/agent/how-to-customize.md +++ b/docs/docs/agent/how-to-customize.md @@ -5,6 +5,11 @@ keywords: [customize, chat] sidebar_position: 5 --- +## Add Rules Blocks +Adding Rules can be done in your assistant locally or in the Hub. + +[Explore Rules on the Hub](https://hub.continue.dev/explore/rules) and see the [Ruls deep dive](../customize/deep-dives/rules.md) for more details and tips on creating rules. + ## Add MCP tools You can add MCP servers to your assistant to give Agent access to more tools. [Explore MCP Servers on the Hub](https://hub.continue.dev/explore/mcp) and see the [MCP guide](../customize/deep-dives/mcp.mdx) for more details. diff --git a/docs/docs/blocks/rules.md b/docs/docs/blocks/rules.md index bc1baaf4b..570552b29 100644 --- a/docs/docs/blocks/rules.md +++ b/docs/docs/blocks/rules.md @@ -6,13 +6,19 @@ keywords: [rules, blocks, standards, practices, guardrails] sidebar_position: 5 --- +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 -![Rules Blocks Overview](/img/rules-blocks-overview.png) +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 rule blocks and applies the specified rules while in [Agent](agent/how-to-use-it), [Chat](chat/how-to-use-it), and [Edit](edit/how-to-use-it) modes. ## Learn More