reading-data-dict
БесплатноБез исполняемых скриптовНе проверенRead project data documentation (data dictionaries, dbt manifests, model docs, column descriptions, lineage, metric definitions) before writing analytics SQL…
от cline★ 48 звёзд на GitHubОб этом скилле
Reading Data Dictionary
Use this before writing SQL for documented metrics, so that business and product terms map to the right models, columns, and definitions instead of guesses.
When invoked from the elicitation flow to resolve specific LOOK UP terms, scope the work to those terms: resolve their definitions and surface any options/candidates back to the user. Do not perform a full data exploration unless the user explicitly asked for one or no curated model is obvious.
Where the definitions live
This skill is generic. A project may document its data in one or more of:
- a dbt project (model
.sql,models/**/*.yml,target/manifest.json, generated docs) - a dedicated data dictionary directory (for example
data_dictionary/**) - metric or semantic-model YAML files
- a BI tool's metric layer, a wiki, or a README
If your team has a canonical source (for example a dbt repository), treat it as the source of truth and point this skill at it. Prefer reading it over the remote gh API or a fresh checkout rather than relying on a possibly-stale local clone.
Useful artifacts to inspect first, when present:
data_dictionary/**target/manifest.jsonmodels/**/*.ymlmodels/**/*.sql- metric or semantic model YAML files
Procedure
- Locate the documentation source, stopping at the first that works:
- Canonical docs repo (preferred). If the team has one, read files directly without cloning. With the
ghCLI:
Fetch# List a directory gh api repos/<org>/<dbt-repo>/contents/data_dictionary # Read a specific file gh api repos/<org>/<dbt-repo>/contents/data_dictionary/some-file.md \ --jq '.content' | base64 -ddata_dictionary/**files selectively before any model SQL or YAMLs. - Local clone (fallback). If
ghis unavailable or unauthenticated, check for a local directory whosegit remote -vmatches the canonical repo. Use it only if it is sufficiently up to date. - ClickHouse schema fallback. If no documentation source is available, discover the schema directly (see
../clickhouse/). Prefer curated models (commonly namedgold_*,silver_*,fct_*,dim_*) over raw event or log tables. State explicitly that you fell back to the live schema and have no documented definition.
- Canonical docs repo (preferred). If the team has one, read files directly without cloning. With the
- Inspect relevant
data_dictionary/**files first, then locate models, model docs, manifest entries, column descriptions, lineage, or metric docs for the requested concept. - Identify the curated model first. Use raw event tables only when no curated model exists, the curated model is insufficient, or the user explicitly requests raw data.
- Extract the exact definitions for:
- metric name
- entity/population
- grain and time window
- filters and exclusions
- required columns
- safe join keys/patterns
- freshness, rollout, or coverage caveats
- Cross-check lineage when the model is derived from raw events.
- Summarize definitions back to the user when they affect interpretation.
If no relevant data dictionary entry exists, say so explicitly and continue with model docs, manifest metadata, and SQL lineage. If the data dictionary conflicts with model docs or the observed schema, surface the discrepancy before writing SQL.
Definition summary template
Definitions used:
- Metric: ...
- Population: ...
- Grain/window: ...
- Model/table: ...
- Key columns: ...
- Joins: ...
- Known caveats: ...
Bias toward documented semantics
If a term like "active user," "daily active," "tokens," "revenue," "timeout," "telemetry," "retention," or "funnel" appears, do not invent a definition. Find a documented definition or ask the user to choose one.
Установить reading-data-dict в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл reading-data-dict?
Read project data documentation (data dictionaries, dbt manifests, model docs, column descriptions, lineage, metric definitions) before writing analytics SQL. Use for mapping business and product terms to concrete models and columns.
Как установить скилл reading-data-dict?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reading-data-dict запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic