Custom Rules for DinoAI
The .dinorules
file is a configuration file that lives in your project's root directory and provides custom instructions for DinoAI. This file isn't tracked by git and applies to all copilot chat interactions within your project, helping you maintain consistent development practices.
Key Benefits
Define Project Rules: Create any custom instructions specific to your development needs
Set Technical Standards: Specify your team's coding patterns, architecture, and best practices
Control AI Behavior: Tailor how the AI assists with your code and documentation
Adapt Over Time: Modify rules as your project evolves and requirements change
Enhance Team Workflow: Establish consistent development practices across your team
Setup Instructions
From the Code IDE, navigate to your project's root directory and right click to open develop options.
Create a new file named
.dinorules
.
The .dinorules
file should be placed in the root directory of your repository, not within the dbt
project directory.
Add your custom instructions (see example configuration). These rules can be generalized or hyper-specific, and they don't need to follow any specific syntax or structure.
Example .dinorules Configuration
You can provide the copilot with specific SQL and dbt™ best practices in the .dinorules
file. DinoAI will produce responses that satisfy your rules.
The rules can be generalized or hyper-specific, and they don't need to follow any specific syntax or structure.
Last updated