Prefer fixture JSON over “sample data” comments when prompting UI agents
“Use some sample data” in a prompt is an invitation to invent. The agent fabricates a user shape that almost matches production, hard-codes three pretty rows, and skips the nullables your API actually returns. Reviewers only notice when the real payload hits the page. I’ve stopped describing sample…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-11 11:24 · DEV Community — AI
Prefer fixture JSON over “sample data” comments when prompting UI agents