Write a Data Catalog Entry
Purpose
Let a consumer who has never talked to the producer decide in two minutes whether a dataset fits their need, how to use it correctly and whom to ask, while giving governance the ownership and sensitivity facts it needs.
When to use
- A new dataset, table, view, report or data product is published.
- Consumers repeatedly ask the same questions about a dataset or misuse it.
- A catalog clean-up or certification campaign is running.
When not to use
- Binding producer-consumer guarantees are needed. Use
data-contract.
- Full transformation-level lineage is needed. Use
data-lineage-doc.
- Business terms rather than datasets are being defined. Use
glossary-builder.
Inputs
Required:
- The dataset identifier and at least one of: schema/DDL, sample query, producer description.
Optional:
- Owner/steward, upstream sources, refresh schedule, known quality issues, classification, typical queries, related glossary terms.
If neither schema nor description is provided, ask. Everything else becomes [UNKNOWN] rather than a guess.
Process
- Write a business-first summary: what one row represents (grain), what questions it answers, and what it does not cover.
- Record ownership: data owner (accountable business role), steward (day-to-day), technical custodian; mark unknowns.
- Describe the key fields: primary/business key, time fields (which date to filter on and its time zone), main measures with units, main dimensions; link each to glossary terms.
- Summarize lineage in one line per hop: source systems → key transformations → this dataset → known downstream consumers.
- State freshness and schedule: update frequency, expected availability time, history depth, late-data behaviour.
- State quality status: certified/uncertified, active checks, known issues and workarounds, last incident.
- State sensitivity and access: classification level, personal data fields, masking in place, how to request access.
- Give usage guidance: correct join keys, common filters, pitfalls (double counting, cancelled records, currency), sample query in neutral SQL.
- Add tags and search synonyms the business actually uses.
- Set lifecycle fields: status (draft, published, deprecated), version, review date.
- Label every inference
[ASSUMPTION] and move unsupported items to open questions. If the goal continues, suggest the next skill: data-lineage-doc to document lineage in depth, data-quality-rules to back the quality section, or data-classification if sensitivity is unconfirmed.
Output format
# <Dataset display name>
Identifier: <...> | Type: <table/view/stream/report/data product> | Status: <...> | Certified: <yes/no>
## Summary
<2-3 sentences: grain, purpose, not covered>
## Ownership
Owner: <...> | Steward: <...> | Technical custodian: <...>
## Key Fields
| Field | Meaning | Glossary term | Notes (unit, TZ, nulls) |
|---|---|---|---|
## Lineage (summary)
<source> → <transformation> → this → <consumers>
## Freshness
Frequency: <...> | Available by: <...> | History from: <...>
## Quality
Checks: <...> | Known issues: <...>
## Sensitivity and Access
Classification: <...> | Personal fields: <...> | Masking: <...> | Access request: <...>
## How to Use
- Join on: <...> | Filter on: <...>
- Pitfalls: <...>
- Sample query: <...>
## Tags / Synonyms | Review date
Quality checklist
Common pitfalls
- Restating column names as descriptions ("customer_id: customer id"). Describe meaning, units and edge cases.
- Technical-only entries readable by engineers alone. Lead with the business summary.
- Stale entries. Set a review date and tie updates to schema changes.
Example
Input: "fact_invoice_line DDL; finance: includes credit notes as negative lines; loaded nightly."
Excerpt of output:
- Summary: One row per invoice line, including credit notes as negative lines. Answers billed revenue by customer, product and period. Does not include unbilled orders.
- Pitfall: Filter on invoice_date (local time) for revenue; order_date gives different totals.
- Owner:
[UNKNOWN] (proposed: Finance Controlling); Freshness: nightly, available by [TBD].
1---2name: data-catalog-entry3description: "Writes a data catalog entry for a dataset, table, report or data product: business description, owner and steward, grain, key fields, lineage summary, quality status, freshness, sensitivity and access, and usage guidance. Use when registering or documenting a dataset for discovery, preparing it for self-service, or when asked to describe a table or data product for the catalog."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/data-catalog-entry7 version: "1.0.0"8 language: en9 category: 08-data10 role: data-architect11 area: governance12 title: "Write a data catalog entry"13 related: "data-lineage-doc, data-classification, data-quality-rules, data-contract, glossary-builder"14 prompt: "Write a catalog entry for the table sales.fact_invoice_line using this DDL and the notes from the finance team."15---1617# Write a Data Catalog Entry1819## Purpose20Let a consumer who has never talked to the producer decide in two minutes whether a dataset fits their need, how to use it correctly and whom to ask, while giving governance the ownership and sensitivity facts it needs.2122## When to use23- A new dataset, table, view, report or data product is published.24- Consumers repeatedly ask the same questions about a dataset or misuse it.25- A catalog clean-up or certification campaign is running.2627## When not to use28- Binding producer-consumer guarantees are needed. Use `data-contract`.29- Full transformation-level lineage is needed. Use `data-lineage-doc`.30- Business terms rather than datasets are being defined. Use `glossary-builder`.3132## Inputs33Required:34- The dataset identifier and at least one of: schema/DDL, sample query, producer description.3536Optional:37- Owner/steward, upstream sources, refresh schedule, known quality issues, classification, typical queries, related glossary terms.3839If neither schema nor description is provided, ask. Everything else becomes `[UNKNOWN]` rather than a guess.4041## Process421. Write a business-first summary: what one row represents (grain), what questions it answers, and what it does not cover.432. Record ownership: data owner (accountable business role), steward (day-to-day), technical custodian; mark unknowns.443. Describe the key fields: primary/business key, time fields (which date to filter on and its time zone), main measures with units, main dimensions; link each to glossary terms.454. Summarize lineage in one line per hop: source systems → key transformations → this dataset → known downstream consumers.465. State freshness and schedule: update frequency, expected availability time, history depth, late-data behaviour.476. State quality status: certified/uncertified, active checks, known issues and workarounds, last incident.487. State sensitivity and access: classification level, personal data fields, masking in place, how to request access.498. Give usage guidance: correct join keys, common filters, pitfalls (double counting, cancelled records, currency), sample query in neutral SQL.509. Add tags and search synonyms the business actually uses.5110. Set lifecycle fields: status (draft, published, deprecated), version, review date.5211. Label every inference `[ASSUMPTION]` and move unsupported items to open questions. If the goal continues, suggest the next skill: `data-lineage-doc` to document lineage in depth, `data-quality-rules` to back the quality section, or `data-classification` if sensitivity is unconfirmed.5354## Output format55```markdown56# <Dataset display name>57Identifier: <...> | Type: <table/view/stream/report/data product> | Status: <...> | Certified: <yes/no>5859## Summary60<2-3 sentences: grain, purpose, not covered>6162## Ownership63Owner: <...> | Steward: <...> | Technical custodian: <...>6465## Key Fields66| Field | Meaning | Glossary term | Notes (unit, TZ, nulls) |67|---|---|---|---|6869## Lineage (summary)70<source> → <transformation> → this → <consumers>7172## Freshness73Frequency: <...> | Available by: <...> | History from: <...>7475## Quality76Checks: <...> | Known issues: <...>7778## Sensitivity and Access79Classification: <...> | Personal fields: <...> | Masking: <...> | Access request: <...>8081## How to Use82- Join on: <...> | Filter on: <...>83- Pitfalls: <...>84- Sample query: <...>8586## Tags / Synonyms | Review date87```8889## Quality checklist90- [ ] Grain is stated in one sentence.91- [ ] Owner and steward are named or explicitly `[UNKNOWN]`.92- [ ] The correct date field and time zone for filtering are stated.93- [ ] Sensitivity and access process are present; personal fields are listed.94- [ ] At least one pitfall and one sample query are given.95- [ ] No invented SLAs, owners or quality claims.96- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.9798## Common pitfalls99- Restating column names as descriptions ("customer_id: customer id"). Describe meaning, units and edge cases.100- Technical-only entries readable by engineers alone. Lead with the business summary.101- Stale entries. Set a review date and tie updates to schema changes.102103## Example104Input: "fact_invoice_line DDL; finance: includes credit notes as negative lines; loaded nightly."105106Excerpt of output:107- Summary: One row per invoice line, including credit notes as negative lines. Answers billed revenue by customer, product and period. Does not include unbilled orders.108- Pitfall: Filter on invoice_date (local time) for revenue; order_date gives different totals.109- Owner: `[UNKNOWN]` (proposed: Finance Controlling); Freshness: nightly, available by `[TBD]`.