Skip to content
Back to skills

Dw Self Test

ASecurity

Step 4/8 数仓自测:以隔离上下文执行 23 项标准自测并只回收摘要, 防止大量检查输出污染主对话。适用于 ETL 完成后验证数据质量。

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 16, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 16, 2026

npx -y skills add pugyy/dw-harness --skill dw-self-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dw Self Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dw Self Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pugyy-dw-self-test/badge)](https://www.skillsdirectory.com/skills/pugyy-dw-self-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dw-self-test
description: >
  Step 4/8 数仓自测:以隔离上下文执行 23 项标准自测并只回收摘要,
  防止大量检查输出污染主对话。适用于 ETL 完成后验证数据质量。
argument-hint: "[表名] [分区日期]"
context: fork
agent: dw-harness:data-quality-checker
allowed-tools: Read, Grep, Glob, Bash(dw lint:*), Bash(dw check:*)
---

# Step 4: 自测(fork 隔离运行)

## 23 项标准自测

- 完整性 8:主键非空 / 分区数据量 / 必填字段 / 外键关联 / 去重对比 / 空值率 / 枚举值域 / 重复记录
- 准确性 6:金额容差(≤0.01%) / 数值范围 / 日期合理 / 字符串长度 / 类型一致 / 业务规则
- 一致性 5:上下游量级 / 口径一致 / 汇总vs明细 / 标志位联动 / 跨表口径
- 时效性 4:产出时间(SLA 次日08:00) / 分区完整 / 增量连续 / 更新频率

## 执行要点

- 阈值以契约 `quality` 为准(不是拍脑袋)
- 能确定性化的项(空值/重复/量级波动)优先转成 DQC 规则:`dw dqc gen`
- 无数据权限的项标注 UNVERIFIED,不得当 PASS 汇报

## 交付物

`04_self_test.md`:23 项 PASS/FAIL/UNVERIFIED 表 + 未通过项明细(摘要 ≤40 行回主对话)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.