
Prompting, Vague and Precise
I was in a session with Shiry, our sharp product manager, demoing Claude Code Web 's capabilities. We chose a nice-to-have feature to work on: reflecting the active filter state in our data table. The product has a table with dozens of columns. Users can filter rows by values in one or more columns, and they can show or hide columns as they like. The problem: a user can end up with active filters and have no idea which columns they're filtering on. To find the filter indicator in a column header, they'd have to scroll the table horizontally, and maybe unhide columns that are currently hidden. A real game of hide and seek. First Attempt: Vague about the Problem, Precise About the Solution I asked Claude Code to add a list of filtered fields above the table: Add next to the text of "Showing 21 items", the fields we are filter the items by (if any). e.g. "Showing 21 items, filtered by Name and Country". It wrote the code, committed, pushed. We waited for the build, checked the preview env
Continue reading on Dev.to
Opens in a new tab



