Problem
Implement a small, self-contained feature end to end with unit tests, then extend it in follow-up increments. A typical prompt: build a CSV-to-JSON converter, or a pagination helper, then add capabilities step by step.
Requirements
- A working implementation of the core feature (e.g. parse CSV rows into JSON objects using the header row as keys).
- Unit tests covering the happy path plus edge cases (empty input, quoted fields, missing values).
- An extension delivered as a second increment (e.g. type coercion of numeric/boolean fields, then pagination of the output).
Areas to design
- Clean, readable structure and naming; small, reviewable commits.
- Test organization and which edge cases to cover first.
- How the extension fits without rewriting the core (parsing vs transformation vs pagination as separable stages).
- Graceful handling of malformed input.