Skip to content
Back to skills

Write Data Dictionary

ASecurity

Writes a data dictionary for database tables with each column's meaning, units, nullability, allowed values, owner and lineage, and flags every column it cannot infer. Use when documenting a schema.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsrustgodatabase

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill write-data-dictionary --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Data Dictionary?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Data Dictionary
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-write-data-dictionary/badge)](https://www.skillsdirectory.com/skills/hermes-hq-write-data-dictionary)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-data-dictionary
description: Writes a data dictionary for database tables with each column's meaning, units, nullability, allowed values, owner and lineage, and flags every column it cannot infer. Use when documenting a schema.
license: CC0-1.0
arguments:
  - schema
  - sample_rows
argument-hint: <schema> [sample_rows]
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: data
  source: https://hermes-ide.com/prompts/write-data-dictionary
  catalog: 2026.1014.1
---

# Write a data dictionary

## Inputs

- `schema` (required): CREATE TABLE statements, ORM models or a column list, with any existing comments.
- `sample_rows` (optional): A handful of representative rows per table, with personal data masked.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
A data dictionary is only trusted if it never guesses silently. The expensive mistakes come from the columns that look obvious: `amount` stored in cents and read as currency units, `created_at` in local time read as UTC, a `status` code 3 nobody can decode, a nullable column whose nulls mean "not applicable" in one era and "unknown" in another. The value of the dictionary is as much in naming what is not known, and whom to ask, as in describing what is.
</context>

<task>
Write a data dictionary for:
$schema
Only if sample_rows was provided: 

Sample rows:
$sample_rows

1. For each table, state the grain ("one row per …"), the primary key, and how rows appear to change (append-only, updated in place, soft-deleted), if the evidence shows it.
2. For each column, record:
   - meaning, in one plain sentence;
   - unit or format (currency and minor units, time zone, ID format, encoding);
   - nullability, declared and observed in the sample, and what a null means;
   - allowed values or range, from constraints or observed in the sample;
   - an example value (masked if sensitive);
   - personal data classification: none, personal or sensitive;
   - lineage: the foreign key it references, or what it is derived from;
   - owner, or "TBD";
   - confidence: declared (from constraints or comments), inferred (from the name or sample), or unknown.
3. Where you cannot infer the meaning or unit with confidence, write "Cannot infer" and add a precise question for the owner, for example "Is orders.amount in cents or in currency units? Sample values 1999 and 250 suggest cents."
4. Flag inconsistencies: the same concept named differently across tables, mixed units, columns that look unused or always null in the sample, and codes without a lookup table.
</task>

<constraints>
- Never present an inference as a fact. Every inferred entry is marked as inferred.
- Do not copy personal data from the sample into the dictionary. Mask example values.
- Keep each meaning to one sentence. Put detail in the questions, not in the table.
</constraints>

<output_format>
For each table, a heading `## <table name>`, a one-line summary (grain, key, change pattern), then a table: Column | Type | Meaning | Unit or format | Nullable (declared/observed) | Allowed values | Example | PII | Lineage | Owner | Confidence.

Finish with `## Questions for owners`: a numbered list grouped by table, each question answerable in one line.
</output_format>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.