What are Workspace Rules?
Rules are persistent, custom instructions for Bezi to follow. They are added directly to the system prompt and given extra weight, so if your instructions conflict with our existing system prompt, your preferences are prioritized. Use rules to ensure Bezi’s ouput is consistent with your project structure, preferences, and workflows. Workspace Rules are universal principles for how Bezi works with a given Workspace- Define workspace-specific structures and systems (unity version, render pipeline, default packages, etc.)
- Define how Bezi should interact with certain systems or information types
- Customize response formats, explanations, code style, etc.
Using Rules
Access Workspace Rules
- Navigate to the desired Workspace
- Click on
Your Rules - Write custom rules for the Workspace, following the below guidance
Shared Rules for Team Workspaces
If you’re part of a Team Workspace and want to set the same Rules for everyone, add the Rules in a Shared Page and ask all members to ‘@mention’ the Page in the Workspace Rules.Project-specific Rules
If you want to set Rules that only apply to a specific Unity projects/local folders in a Workspace, create a Page for each Project containing rules and ‘@mention’ the Page in the Workspace Rules.Writing Workspace Rules that work
Workspace Rules has pre-written examples to illustrate rule-writing best practices. You need to edit them or write your own from scratch.Step 1: Decide if it’s a Workspace Rule or Page
PAGE: Documenting the GDD, how something is structured, standards for creating UI, etc.
RULE: Define how Bezi should manage information sources (Connections, Pages, etc) and other “constants” that are relevant to most work done in that Workspace
Step 2: Write Rules like instructions for a new team member
- Write clear and concise rules, using natural language
- Provide positive examples Bezi can follow
- Do not give Bezi a lot of rules - it will miss things
Step 3: Update Rules often, following best practices
- ALWAYS do
- NEVER do
- Write direct, clear instructions: Only use decisive verbs and be very specific
- GOOD: Follow code style rules defined in MyProjectStyle.md
- GOOD: NEVER use the Singleton design pattern
- BAD: write good code
- BAD: follow all SOLID principles
- Give real, positive examples to follow: Add multiple examples of the formatting or behavior you want Bezi to follow, for positive pattern recognition
- Use strong language: Use caps and decisive words (e.g. “ALWAYS,” “IMPORTANT,” “CRITICAL”)
- Enrich references: Provide library name, version, official website, and a direct link to scripting examples
- Keep Rules list short: Only list absolutely critical rules. The fewer rules, the better
- Reflect on and update Rules often: Rules must evolve alongside the work. Don’t ask Bezi to write them - you know what’s most important