dbt_ingest
仓库创建 2026年5月11日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由
自动把 dbt 元数据转入 ktx,减少人工映射工作。
这个 Skill 做什么
将 dbt 的 schema/yml 映射为 ktx 的语义层与列注释。
把 dbt 的 schema.yml / properties.yml 里的模型和 sources 映射成 ktx 的语义层覆盖和列级注释,同时把 data_tests(如 not_null、unique 等)也映射说明。当上传的项目包含 models/ 或 sources/ 下的 dbt YAML 时就会用它。优势是把 dbt 的测试和元数据带到 ktx,能和 manifest/git 同步的回填配合使用。
▸ 展开 SKILL.md 英文原文
Map dbt `schema.yml` / `properties.yml` models and sources into ktx semantic-layer overlays and column notes. Covers `sources:` vs `models:`, column `data_tests` (not_null, unique, accepted_values, relationships), and how bundle-time writes complement manifest backfill from git sync. Load when the WorkUnit's `skillNames` includes `dbt_ingest` or when raw files are dbt YAML under `models/` / `sources/`.
1.5k
Stars
96
Forks
17
仓库内 Skill
+49
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/dbt_ingest/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/dbt_ingest/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# dbt → ktx (bundle ingest) Use this skill for **uploaded** dbt projects (`dbt_project.yml` at stage root, `models/**`, `sources/**`, `schema.yml`). There is **no** `fetch()` in v1 - scheduled `dbt parse` / `manifest.json` pulls are out of scope; host-provided dbt sync may still backfill structured test metadata into `_schema` on the next sync. ## Mapping (models / sources → SL) | dbt | ktx | Notes | |-----|--------|--------| | `models:` entry with `columns:` | **Overlay** on the manifest table with the same name (after `discover_data` / `entity_details`) | One SL source per physical table; model name may differ from DB name - resolve with `read_raw_file` + warehouse context. | | `sources
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有