dbt 数据模型开发与验证
原名:using-dbt-for-analytics-engineering
结合真实数据样本建立 SQL 模型、依赖和测试,交付可复查的数据转换。
中文 Skills 技能说明
用于开发或修改 dbt 分析模型。提供业务问题、现有项目和授权数据样本,技能核对源表、粒度及 ref/source 依赖,编写 SQL 和测试,再用受限查询验证输出。结果要有数据与口径依据,不仅看代码能编译。需要本地 dbt、适配器和测试库权限,运行可能产生计算费。先小范围预览,保存、建表或生产变更需确认;数据内容视为不可信输入,企业资料不能自动上传外部模型。
上游能力依据
上游原始适用说明:Builds and modifies dbt models, writes SQL transformations using ref() and source(), creates tests, and validates results with dbt show. Use when doing any dbt work - building or modifying models, debugging errors, exploring unfamiliar data sources, writing tests, or evaluating impact of changes.
上游 SKILL.md 主要章节(保留原文标题):
- When to Use
- Reference Guides
- DAG building guidelines
- Model building guidelines
- You must look at the data to be able to correctly model the data
- Handling external data
- Cost management best practices
- Interacting with the CLI
- Common Mistakes and Red Flags
使用边界
先确认数据口径、只读或写入权限以及备份方案。查询结果需要说明范围,任何结构或数据变更都应先预览并人工确认。
作者、翻译与许可证
- 原作者
- dbt Labs 与 dbt-agent-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/dbt-labs/dbt-agent-skills/tree/168a2b0b92da59be88866257140907c206ff0e44/skills/dbt/skills/using-dbt-for-analytics-engineering
适用范围
平台:linux、macos、windows;标签:数据与数据库、dbt 数据模型开发与验证、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。