A few small habits make a big difference in the quality of the apps the agent produces. Use these as a starting point and adapt them to your team’s workflow.Documentation Index
Fetch the complete documentation index at: https://lightdash-mintlify-7725ae17.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prompt iteratively
Most apps improve substantially after a few rounds of prompting. Rather than trying to describe the perfect app in one message, start simple and refine:- Send a short initial prompt that describes the core purpose of the app.
- Preview the result and identify what’s wrong or missing.
- Send focused follow-up prompts (e.g. “make the revenue chart a bar chart and group it by month”).
- Repeat until the app does what you want.
Use images to nail the style
Images help a lot to get the style right. The agent can pick up on layout, color, density, typography, and component style much more reliably from a picture than from a long written description. Useful images to attach include:- Screenshots of dashboards or apps you want yours to look like.
- Design mockups from Figma or similar tools.
- Sketches or whiteboard photos showing the layout.
- Examples of specific components (a card, a chart, a header) you want to mirror.
Provide example data
Providing some data to the app—either as attached queries, dashboards, or sample values—helps the agent run much better queries. With concrete examples, the agent can:- Pick the right metrics and dimensions from your semantic layer.
- Choose sensible default filters and date ranges.
- Generate visualizations that match the shape of your data.
Verify queries with the inspector
Before sharing an app with your team, open the query inspector and confirm that:- Each query is using the metrics and dimensions you expect.
- Filters and parameters are being applied correctly.
- The numbers in the app match the numbers in your dashboards and explores.