Three principles
- Describe the shape of the result, not the words it should contain.
- Name the table or field directly when it matters — “the customers table” beats “the data.”
- Iterate in small steps. One change per prompt makes it easy to undo.
Good vs bad
Tagging files and components
You can drop a file path into the prompt with @ — the agent will read that file before responding. Useful when you want to change something specific without describing it.
In @src/pages/Dashboard.tsx, replace the bar chart with a line chart.