Data Transformation Prompt
The transformation log creates an audit trail for every change. Flagging assumptions prevents silent data corruption when the rules do not cover every case.
Prompt
Transform the following data from {{source_format}} to {{target_format}}.\n\nInput data:\n{{input_data}}\n\nTransformation rules:\n{{transformation_rules}}\n\nProcess:\n1. Parse the input data and identify all fields\n2. Apply each transformation rule in order\n3. Validate the output matches the target format\n4. Report any data that could not be transformed (with reasons)\n\nOutput requirements:\n- Return the transformed data in the target format\n- Include a transformation log: [field] [original] [transformed] [rule applied]\n- Flag any values that required assumptions or best-guess interpretation\n- Count: total records, successfully transformed, failed, skipped\n\nIf any transformation rule is ambiguous, state your interpretation before applying it.
Variables to customize
{{source_format}}{{target_format}}{{input_data}}{{transformation_rules}}
Why this prompt works
The transformation log creates an audit trail for every change. Flagging assumptions prevents silent data corruption when the rules do not cover every case.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI OPTIMIZE
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
VERSION DIFF
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
ORGANIZE
Development
Code Review
Testing
Marketing
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
MCP
$ npm i -g @promptingbox/mcpClaude · Cursor · ChatGPT
Use Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.