5 Claude Prompts for Data Dictionaries (Copy & Paste)

A data dictionary should take an afternoon and instead drags on for weeks, because the hard part is not writing the descriptions, it is deciding what each column officially means. These five Claude prompts for data dictionaries handle both: the column-by-column documentation and the definition arguments that hold it up.

Before you start: the variables

[Variable] What to put in
[table name] The exact table or file you are documenting.
[column list] Every column header, in order.
[source system] Where the data originates before it lands here.
[refresh cadence] How often the table updates.
[owner role] Whose job it is to answer questions about it.

The prompts

1. Draft the entry for every column

Build a data dictionary for the table [table name] with these columns: [column list]. For each column, give a plain-language description, the data type, whether it can be null, and one example value. Leave the description blank if the name does not tell you what it holds.

What it does: Produces the first full pass in one go, with honest gaps marked.

How to use: Replace [table name] and [column list]; treat each blank row as a question for the source team.

2. Settle a definition people disagree on

My team argues about what [column name] means. Write two candidate definitions that differ in a way that would change a report, then list one question that would tell the two apart. Do not pick a winner.

What it does: Turns a vague disagreement into a single testable question.

How to use: Replace [column name]; bring the question to the meeting instead of an opinion.

3. Document where each column comes from

For columns [column list] in [table name], trace the likely origin in [source system] and note any transformation along the way. Mark each column as raw, derived or calculated, and flag any where the origin is unclear.

What it does: Gives every column a lineage, so a number can be traced back.

How to use: Replace the three variables; chase the flagged columns before publishing the doc.

4. Write the usage notes a reader needs

Add a usage notes section to the dictionary for [table name]. Cover how often it refreshes ([refresh cadence]), who to ask ([owner role]), the two traps in using it, and one common query mistake. Keep it under [word limit] words.

What it does: Prevents the mistakes that documentation usually omits.

How to use: Replace the variables; keep the traps specific to this table.

5. Keep the dictionary current

Here is my current dictionary: [paste dictionary]. I changed these columns: [list changes]. Update the affected entries, list the rows I still need to review, and give me a short changelog entry I can append. Do not alter untouched rows.

What it does: Updates the doc in place instead of tempting you to rewrite it.

How to use: Replace the dictionary and change list; keep the changelog line dated.

A quick worked example

Run prompt two on a column everyone calls “status”. The two candidate definitions come back as one where status tracks the record’s lifecycle stage and one where it tracks the latest human action. The distinguishing question asks whether a record can move backwards through the values. Answering that question settles the definition, and the dictionary entry writes itself from there.

Keep going

GuPrompt keeps every prompt copy-paste ready. No account needed.

Leave a Comment