Writing Prompts for Smartoo Assistant
Smartoo Assistant is the AI doing all the heavy lifting when building or updating your app. It generate fully functional app from a simple prompts, but it works its best when you give clear instructions.
This guide will teach you how to get 90% of the way there on your first prompt.
The 5 Factors of a Good Prompt
You don't need to speak code to get great results. All you need to do is to describe your app in a clear and concise way. To build a robust app from the start, try to include these five elements in your prompt:
1. Users & Roles
Who is this app for?
Define who will log in and what they are allowed to do.
Example: I need an app for Project Managers (who can see everything) and Freelancers (who can only see their own tasks).
2. The Things You Track
What are the main nouns in your workflow?
These become the data tables in your app.
Example: We need to track Projects, Tasks, Invoices, and Clients.
3. Key Details
What information do you need for each item?
List the specific data points that matter to you.
Example: For every Task, I need to know the Priority, Due Date, Status, and Attached Files.
4. Relationships
How do the items connect to each other?
Help the AI understand the structure of your data.
Example: A Client can have many Projects, and each Project contains many Tasks.
5. Workflow & Logic
What happens when data changes?
Describe the automation or rules you need.
Example: When a task is marked 'Done', email the manager. Only Admins can delete invoices.