Skip to main content

Rules Library

The Rules Library provides examples and templates for creating .naorules files to customize your nao agent’s behavior. Use these as starting points and adapt them to your team’s needs.

SQL Style Rules

Standard SQL Formatting

dbt-Specific Rules

Code Style Rules

Python Style

General Code Rules

Team-Specific Rules

Documentation Standards

Workflow Rules

Domain-Specific Rules

Data Quality Rules

Analytics Rules

Getting Started

  1. Copy a template that matches your needs
  2. Customize it for your team’s standards
  3. Save it as .naorules in your project root
  4. The agent will automatically use these rules
Best Practices
  • Start with a few key rules and expand over time
  • Review and update rules regularly
  • Share rules with your team for consistency
  • Test rules by asking the agent to follow them