dw-etl SKILL.md skillA

This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.

dw-etl from pugyy/dw-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add pugyy/dw-harness/dw-etl@git:20261116.8587e14

Pins git:20261116.8587e14 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
pugyy/dw-harness
Path
plugins/dw-harness/skills/dw-etl/SKILL.md
Versions recorded
1
Latest version
git:20261116.8587e14, committed Nov 16, 2026
Size
1,209 bytes
Repository stars
7
License
MIT

Step 3/8 数仓 ETL 开发:生成 MaxCompute 建表 DDL、INSERT SQL, 并由 hook 做写后规范反馈。适用于契约定稿后开始写表和任务 SQL。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Step 3: ETL 开发

## 执行流程

1. 按契约生成 `ddl_[表名].sql`(字段/类型/注释与契约一致)
2. 生成 `insert_[表名].sql`(OVERWRITE + 显式 PARTITION)
3. 写文件后 PostToolUse hook 自动给出规范反馈(写后反馈,非拦截)
4. 自查一把确定性校验:

```bash
dw lint ddl_[表名].sql insert_[表名].sql
```

## 模板

```sql
INSERT OVERWRITE TABLE [表] PARTITION (partition_dt = '[yyyyMMdd]')
SELECT [显式字段列表]
FROM [上游]
WHERE partition_dt = '[yyyyMMdd]';
```

## 强制规范(hook 复核)

- 禁 `SELECT *` / `t.*`(`COUNT(*)` 例外)
- INSERT 必须带 PARTITION;金额 `DECIMAL(20,4)` 禁 `DOUBLE`
- 注释三段式:业务含义 | 数据来源 | 计算逻辑
- 金额单位继承契约声明,不做隐式换算

## 交付物

`ddl_[表名].sql`、`insert_[表名].sql`(如需同步:`ddl_sr_[表名].sql` 留给 Step 6)

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_dkh6ntt37htwqkls/cf65b8e30ee57cab1e091840919a4e8f48829eb75b5b412cbfc17c3e9b96cfad.json

Then /plugin install dw-etl@markdownregistry-dkh6ntt37htwqkls in Claude Code. It installs git:20261116.8587e14, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add pugyy/dw-harness/dw-etl@sha256:cf65b8e30ee57cab

The line at the top of this page pins the label git:20261116.8587e14, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dkh6ntt37htwqkls.svg)](https://markdownregistry.com/a/art_dkh6ntt37htwqkls)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in pugyy/dw-harness/dw-etl since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of dw-etl from somewhere else? Ask it: where did my dw-etl come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Nov 16, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261116.8587e14 latest2026-11-16 8587e14 1,209 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1209 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pugyy/dw-harness · 7 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dkh6ntt37htwqkls
GET https://markdownregistry.com/api/v1/resolve?ref=pugyy/dw-harness/dw-etl
GET https://markdownregistry.com/api/v1/blob/cf65b8e30ee57cab1e091840919a4e8f48829eb75b5b412cbfc17c3e9b96cfad
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from pugyy/dw-harness

my-custom-skill SKILL.md skill
pugyy/dw-harness · examples/demo/v1_project/.claude/skills/my-custom-skill/SKILL.md · 用户自建技能,迁移后必须原样保留。
git:20261116.a2b83fa · audit B · 7 stars
CLAUDE.md@examples/demo/v1_project CLAUDE.md file
pugyy/dw-harness · examples/demo/v1_project/CLAUDE.md
git:20261116.a2b83fa · audit A · 7 stars
dw-backfill SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-backfill/SKILL.md · 历史回填预演:目标环境、分区范围、幂等策略、检查点与扫描估算, 预演阶段只读不落盘。适用于需要重刷历史分区时。
git:20261116.93752dd · audit A · 7 stars
dw-bootstrap SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-bootstrap/SKILL.md · 初始化/迁移 dw-harness 到当前项目(写 AGENTS.md、rules、harness.json,合并 settings.json)。仅在用户明确要求安装或升级 harness 时使用。
git:20261116.82a397b · audit A · 7 stars
dw-check SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-check/SKILL.md · 发布前统一验收:跑 dw check 汇总 lint/契约/DDL/DQC/对账证据, 输出四态(PASS/FAIL/UNVERIFIED/N-A)报告。适用于合并/上线前最后关口。
git:20261116.8587e14 · audit A · 7 stars
dw-contract SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-contract/SKILL.md · 表契约操作:校验、编译、与基线 diff、记录破坏性变更的迁移决定。 适用于新增/修改字段口径、金额单位变更、与基线比对时。
git:20261116.8587e14 · audit A · 7 stars
dw-data-comparison SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-data-comparison/SKILL.md · Step 5/8 数据比对:新旧表/上下游键级对账,产出可复跑的对账证据, 只回收差异摘要。适用于自测通过后与基线数据核对。
git:20261116.93752dd · audit A · 7 stars
dw-dqc SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-dqc/SKILL.md · Step 8/8 SLA/DQC:从表契约生成稳定 ID 的 DQC 规则配置并校验漂移。 适用于任务上线前的质量规则配置。
git:20261116.82a397b · audit A · 7 stars
dw-next SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-next/SKILL.md · 从已验证的交付物推断八步流程进度并给出下一步。适用于会话开始、 compact 之后、或不确定当前做到哪一步时。
git:20261116.8587e14 · audit A · 7 stars
dw-performance-optimization SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-performance-optimization/SKILL.md · Step 7/8 性能优化:分析 ETL SQL 的分区裁剪、JOIN 策略、数据倾斜与 扫描预算,输出带证据级别的优化建议。适用于任务上线前或超时排查。
git:20261116.8587e14 · audit A · 7 stars
dw-requirement-analysis SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-requirement-analysis/SKILL.md · Step 1/8 数仓需求分析:解读 PRD、梳理字段口径草稿、探索上游表结构、 输出待确认问题清单。适用于接到新数仓需求需要结构化拆解时。
git:20261116.8587e14 · audit A · 7 stars
dw-review SKILL.md skill
pugyy/dw-harness · plugins/dw-harness/skills/dw-review/SKILL.md · 上线前 SQL/契约评审清单:字段口径比对、注释三段式、生命周期、 分区策略、金额单位一致性。适用于提 PR 前自查或人肉评审辅助。
git:20261116.93752dd · audit A · 7 stars

Every file in pugyy/dw-harness

Other files named dw-etl

dw-etl SKILL.md skill
pugyy/dw-harness · template/.claude/skills/dw-etl/SKILL.md · Step 3/8 数仓 ETL 开发:生成 MaxCompute 建表 DDL、INSERT SQL, 并由 hook 做写后规范反馈。适用于契约定稿后开始写表和任务 SQL。
git:20261116.8587e14 · audit A · 7 stars
dw-etl SKILL.md skill
pugyy/dw-harness · src/skills/dw-etl/SKILL.md · Step 3/8 数仓 ETL 开发:生成 MaxCompute 建表 DDL、INSERT SQL, 并由 hook 做写后规范反馈。适用于契约定稿后开始写表和任务 SQL。
git:20261116.2a40ad6 · audit A · 7 stars

Browse by kind, by grade A, or by owner.