# Plan a Feature Before Coding

Source: https://coremesh.online/prompts/plan-before-coding/

Before writing any code, make a plan for this feature: Let users export their data as CSV.

Constraints:
no new dependencies; must work for 100k rows; keep the API backward compatible

Done means: a button on the settings page downloads a CSV; tests pass

The plan should list:
1. Files you will create or change, and why.
2. Steps in order, each small enough to review.
3. Risks and how you will test them.
4. Questions you need me to answer first.
Stop after the plan and wait for my go-ahead.
