dbt-checkpointpre-commitdbt

Use dbt-checkpoint when agents should catch dbt naming, dependency, metadata, and model hygiene issues before review or merge.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dbt-checkpointpre-commitdbt" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cbc9461f42df7d8e3e49410771359af09d50225d919c8471f2eaa1666e7c6228. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/gate-dbt-projects-with-pre-commit-checks-from-dbt-checkpoint before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use dbt-checkpoint when agents should catch dbt naming, dependency, metadata, and model hygiene issues before review or merge.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Python, pre-commit, dbt project files, and dbt-checkpoint.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 dbt-checkpoint 的 pre-commit 检查来约束 dbt 项目

dbt-checkpoint 是一个用于 dbt 项目的 pre-commit 钩子工具,它可以在提交代码之前自动运行各种检查,包括:

- dbt 语法检查
- dbt 模型依赖检查
- dbt 文档检查
- dbt 测试检查
- 代码格式化检查

通过在 .pre-commit-config.yaml 文件中配置 dbt-checkpoint 钩子,可以确保在每次提交前都自动运行这些检查,从而提高 dbt 项目的质量和一致性。

示例配置:
```
repos:
  - repo: https://github.com/dbt-checkpoint/dbt-checkpoint
    rev: v0.1.0
    hooks:
      - id: dbt-check-syntax
      - id: dbt-check-models
      - id: dbt-check-docs
```

更多详情请访问:https://github.com/dbt-checkpoint/dbt-checkpoint"
slug: "gate-dbt-projects-with-pre-commit-checks-from-dbt-checkpoint"
version: "1.0.0"
displayName: "使用 dbt-checkpoint 的 pre-commit 检查来约束 dbt 项目

dbt-checkpoint 是一个用于 dbt 项目的 pre-commit 钩子工具,它可以在提交代码前自动运行各种检查,包括:

- dbt 语法检查
- dbt 项目结构验证
- SQL 代码质量检查
- 代码格式化检查

通过在 .pre-commit-config.yaml 文件中配置 dbt-checkpoint,可以确保在每次提交前都进行这些检查,从而提高 dbt 项目的质量和一致性。

示例配置:
```
repos:
  - repo: https://github.com/dbt-checkpoint/dbt-checkpoint
    rev: v0.1.0
    hooks:
      - id: dbt-check-syntax
      - id: dbt-check-project
      - id: dbt-check-sql
```

更多详情请访问:https://github.com/dbt-checkpoint/dbt-checkpoint"
summary: "在代理应在审查或合并之前捕获dbt命名、依赖、元数据和模型卫生问题时,请使用dbt-checkpoint。"
license: "MIT"
description: "在代理应在审查或合并之前捕获dbt命名、依赖、元数据和模型卫生问题时,请使用dbt-checkpoint。"
github_stars: 738
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 738

使用 dbt-checkpoint 的 pre-commit 检查来约束 dbt 项目

dbt-checkpoint 是一个用于 dbt 项目的 pre-commit 钩子工具,它可以在提交代码前自动运行各种检查,包括:

  • dbt 语法检查
  • SQL 格式化
  • 代码质量检查
  • 数据模型验证

安装方法:

pip install dbt-checkpoint

配置 .pre-commit-config.yaml:

repos:
  - repo: https://github.com/dbt-checkpoint/dbt-checkpoint
    rev: v0.1.0
    hooks:
      - id: dbt-check-syntax
      - id: dbt-check-format
      - id: dbt-check-models

运行检查:

pre-commit run

更多详情请访问:https://github.com/dbt-checkpoint/dbt-checkpoint

Use dbt-checkpoint when an agent should catch dbt naming, dependency, metadata, and model-hygiene issues before review or merge.

Prerequisites

Python, pre-commit, dbt project files, and dbt-checkpoint.

Installation

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 dbt 项目的 pre-commit 自动化检查方案,提升代码质量与一致性
  • 面向数据工程开发者,具有明确的实用场景与受众
Trigger Precision55/100

Areas to improve

  • description内容截断与错位 Reported severity: Major

    description 字段多次重复且语句不通顺(如'在代理应在审查或合并之前捕获dbt命名...'),frontmatter 与 body 中均存在截断或错位问题

    Recommendation: 统一 description 内容,修正语句通顺性,避免重复与截断

Structure and Standards68/100

Areas to improve

  • 文档结构松散,缺少清晰步骤划分 Reported severity: Minor

    虽有安装与配置说明,但缺少 Phase/步骤化引导与出口条件

    Recommendation: 按 Phase 1/2/3 划分安装、配置、验证步骤,明确每一步的出口条件

  • frontmatter字段冗余 Reported severity: Minor

    displayName 与 name 内容重复,summary 与 description 高度雷同

    Recommendation: 精简 frontmatter,避免字段冗余

Highlights

  • 包含可运行的配置示例与安装命令
Execution Reliability65/100

Areas to improve

  • 未覆盖主要异常场景 Reported severity: Minor

    未说明 pre-commit 未安装、dbt 项目未初始化等常见异常的处理方式

    Recommendation: 增加异常处理说明,如 pre-commit 安装失败、dbt 项目路径错误等场景的排查建议

Highlights

  • 工具来源明确,GitHub 地址与版本号清晰
Evidence Verifiability (mean of the first four)67/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 77
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python, pre-commit, dbt project files, and dbt-checkpoint.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.