Define custom rules

Aim: Define rules that govern how Naia Build generates output, so that what it produces matches your team conventions, for example, naming standards and architectural patterns.

Prerequisites

Procedure

  1. Open the Agents tab.

  2. Create a custom rule describing a convention Naia Build must follow or must avoid during development, for example, a naming standard or an architectural pattern.

  3. Set the rule scope:

    • Select Personal rule to apply the rule only to your own developments and keep it visible only to you.

    • Leave Personal rule clear to create a team rule, available to all users on the account.

  4. Save the rule.

    Result: Naia Build applies the rule to subsequent generation.

Result

  • Your custom rules are defined and applied to generation, scoped to you or shared with your team.

Skip the runtime check

Besides personal and team rules, Neptune provides global rules that are available to all Naia Build users. The global rule Skip runtime check turns off the runtime check that ends each iteration, so iterations use fewer tokens and complete faster. The rule is not selected by default. See Runtime check.

  1. Open the Agents tab.

  2. In the Rules group, select Skip runtime check.

    Result: Naia Build ends subsequent iterations without the runtime check.

While the rule is selected, errors that the runtime check would report are not shown after each iteration. To validate the application, ask for it in the Chat tab, for example, Validate the app. Do this before you test or share the application.

To restore the runtime check after every iteration, clear Skip runtime check.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.