Skip to content

2. Quick Prompts ​

Copyable prompts to evolve an existing project.

When to use quick prompts ​

Use these prompts when you already have a project and want to make incremental changes:

  • Add a new field to an existing entity
  • Create a new module on top of an existing one
  • Add a business rule or validation
  • Change the UI (list, form, dashboard)
  • Add permissions for a specific role

Format ​

Quick prompts are short and focused:

[Action verb] [what] [in/on/to what] [constraint if any]

Add fields ​

Add a "notes" text field (optional) to the [Entity] entity.
Add a "tags" field (multi-select: Tag A | Tag B | Tag C) to [Entity].
Add a "attachments" file field to [Entity].

Add business rules ​

Add a validation: [Entity].[field] is required when [condition].
Add an automation: when [Entity].status changes to "Done", set closedAt to today.
Prevent deletion of [Entity] if it has related [OtherEntity] records.

Add a module ​

Add a [Module] module with the following entity:

- [Entity]:
  - [field] ([type])
  - [field] ([type], required)

Minimum screens:
- List with search
- Create/edit form

Change UI ​

Add a "status" column to the [Entity] list screen with color indicators:
- New → gray
- In Progress → blue
- Done → green
Add a dashboard to [Module] showing:
- Total [entities] by status (bar chart)
- [Entities] created this month (number card)

Add permissions ​

Create a role "Manager" that can:
- View and edit all [Entity] records
- Cannot delete

Create a role "Viewer" that can:
- View [Entity] records only (read-only)

Tips ​

  • One change per prompt reduces errors
  • Test in Preview after each change before making the next
  • Use the exact field/entity names already in the project

Next: 3. Deploy & Cloud Environments →

© Madrix Software. All rights reserved.