1. Prompt tips
How to write clear, testable prompts that are easy to iterate on.
Principles (what changes the outcome most)
Recommended format (base prompt)
Create a project called: {{PROJECT_NAME}}
Goal: {{DESCRIBE_IN_1_2_LINES}}
UI language: pt-BR.
Profiles (RBAC):
- Admin: full access
- Operator: creates/edits
- Reader: read-only
Modules:
- {{MODULE_1}}
Entities:
- {{ENTITY_1}}:
- {{field}} (required)
- {{field}} (unique, optional)
- {{field}} (enum: A | B | C)
- {{relationship}} (relationship: 1 {{OtherEntity}})
Business rules:
- {{rule_1}} (if/then)
- {{rule_2}} (allowed transitions)
Reports:
- {{report_1}}
- {{report_1}}
- {{MODULE_2}}
Entities:
- {{ENTITY_1}}:
- {{field}} (required)
- {{field}} (unique, optional)
- {{field}} (enum: A | B | C)
- {{relationship}} (relationship: 1 {{OtherEntity}})
Business rules:
- {{rule_1}} (if/then)
- {{rule_2}} (allowed transitions)
Reports:
- {{report_1}}
- {{report_1}}
How to reduce ambiguity (with examples)
Replace adjectives with rules
Declare rules “by role”
Specify status transitions
Checklist before sending the prompt
Last updated
Was this helpful?
