NNextron Docs
AI prompts

Build features and pages

Prompts for feature modules and protected dashboard routes that follow Nextron conventions.

These recipes tell an agent to implement a complete result while keeping routing, server work, types, and UI in their intended locations.

Feature module

Use Build a feature module for capabilities that need their own domain boundary. Describe the user outcome and data flow, not only the component you expect.

Good requirement:

Add a team invitations feature. Owners can invite an email address, see pending invitations, and revoke an unused invitation. Existing members must not see owner actions.

The prompt directs the agent to place queries, mutations, types, views, and components under one feature module and keep route files thin.

Dashboard route

Use Add a dashboard page when the feature belongs inside the generated protected shell. The recipe explicitly preserves provider-specific session handling and asks for loading, empty, error, and populated states where the feature needs them.

Include the intended route, navigation label, authorization rule, and primary user action in the Requirements field.

On this page