Quick Start
Change Log
Skills
Rules
Org Policies (Developer Preview)
Agentforce Vibes in Government Cloud
Agentforce Vibes in Scratch Orgs
Inline Auto Completion
Troubleshooting
FAQ
Rules are persistent instructions that the agent follows in every interaction. They encode standards that should always apply—coding conventions, architectural constraints, safety guardrails—so you don’t have to repeat them in every prompt. Unlike Skills (which activate on-demand), Rules are always active.
The Rules panel groups rules by scope:
.vibes/rules/. Commit them to version control so the whole team shares the same standards.Examples of included Salesforce rules:
| Rule | Description |
|---|---|
a4v-expert-global-rule | Core Agentforce Vibes behavioral guidelines |
production-guardrails | Safety constraints for production org operations |
metadata-best-practices | Metadata retrieval and deployment standards |
The full list of Salesforce rules appears in the Toolkit panel.
The panel shows all rules with a toggle to enable or disable each one. Click the … menu next to a rule to edit or delete it.
apex-naming-conventions).**/*.cls).For example, a rule that enforces Apex naming standards:
apex-naming-conventions**/*.cls)Class names use PascalCase. Method names use camelCase. Test classes end with "Test" suffix. Constants use SCREAMING_SNAKE_CASE.The agent applies this rule automatically whenever it generates or modifies .cls files.
Rules support two application modes that control when the agent applies them:
**/*.cls for Apex rules, **/*.html for LWC template rules).