Data cleaning
6 listings
Prompts
Clean a Messy CSV
Produce steps and transformed headers to clean a messy CSV.
Messy Data Parser Generator
Generate defensive parsing code that validates messy JSON, CSV, XML, or API data into clean structures.
Tidy and dedupe a contact export while keeping every real record
An Agents Handbook prompt for a coding agent such as Claude Code that cleans a messy contact or company export. It profiles the file and stops for you, standardises contact fields into added columns, merges rows only when a reliable identifier matches exactly and logs each merge, and sends near matches to a review sheet. It then checks in code that every row is accounted for and never touches the original file or the CRM. Customer lists can fall under contract or privacy rules, so check before you give one to an agent.