Safe prompt pattern
Act as an expert FastReport XML layout author.
Generate a clean FastReport .frx template for: <document type>.
Use only these data fields:
- <FieldOne>
- <FieldTwo>
- <FieldThree>
Layout requirements:
- page size: A4 portrait
- primary color: <hex color>
- header: <short header text>
- table columns: <columns>
- footer/totals area: <requirements>
Output rules:
- output only raw XML
- start with <?xml version="1.0" encoding="utf-8"?>
- do not include markdown
- do not include explanations
- do not include scripts
- do not include external file paths or URLs
Example invoice prompt
Act as an expert FastReport XML layout author.
Generate a clean FastReport .frx template for a standard invoice.
Use only these data fields:
- InvoiceNumber
- InvoiceDate
- CustomerName
- LineItems.Item
- LineItems.Quantity
- LineItems.UnitPrice
- LineItems.LineTotal
- Subtotal
- Tax
- Total
Layout requirements:
- page size: A4 portrait
- primary color: #1E3A8A
- header: INVOICE
- table columns: item, quantity, unit price, line total
- footer/totals area: totals table aligned bottom right
Output rules:
- output only raw XML
- start with <?xml version="1.0" encoding="utf-8"?>
- do not include markdown
- do not include explanations
- do not include scripts
- do not include external file paths or URLs
Validation rule
AI output is untrusted text. Treat generated XML exactly like an uploaded template: parse it, validate size and object types, reject unsafe paths or unsupported objects, and smoke export before using it with customer data.
The hosted beta does not require custom XML for the first proof. Start with the public starter gallery, then use schema, mappings, formatting, grouping, branding, and payload render for quick customer-specific output.