Dw Harness — Data skill for Claude Code
Claude Code plugin + CLI for data warehouse AI: SQL lint, table contracts, key-level reconciliation, acceptance evidence.
How to install Dw Harness
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pugyy/dw-harness and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dw Harness does
Claude Code plugin + CLI for data warehouse AI: SQL lint, table contracts, key-level reconciliation, acceptance evidence. MaxCompute/ODPS, StarRocks, Hive, Spark, OneData, MCP, Python.
Alternatives in Data
- Azure Document Intelligence .net — Document text, table, and data extraction 1.8k ★
- Token Dashboard — See where Claude Code is burning tokens - turn raw JSONL transcripts into local cost analytics, hotspot views 669 ★
- Wiki All — Run the full llmwiki pipeline end-to-end: build → graph → export all → lint 375 ★
README
dw-harness
[中文](#中文) | [English](#english)
[](LICENSE)  [](https://github.com/pugyy/dw-harness/actions/workflows/tests.yml) [](https://github.com/pugyy/dw-harness/releases) [](https://github.com/pugyy/dw-harness#install)
中文
**数仓 AI 编程:装得上、管得住、说得清、跑得回。**
**面向 MaxCompute / StarRocks 数仓的 Claude Code 插件 + CLI:SQL 校验、表契约、键级对账、验收证据。**
简介
dw-harness 是面向数仓团队的 Claude Code 插件与 CLI。它把表契约、SQL 规范、危险操作守卫、键级对账和四态验收报告做成可安装、可配置、可验证的工程层,主线是 MaxCompute → StarRocks,流程沿用 OneData 八步。
适合使用 Claude Code 的数仓/数据平台团队,尤其是已经在 MaxCompute、StarRocks、Hive 或 Spark 上做 ETL,并希望把 AI 产出纳入 review 和 CI 的团队。它不替代调度系统、元数据平台或 BI 工具,也不是一个只做 SQL 格式化的插件。
**当前状态**:v2.0.0 已发布;123 个测试和 6/6 CI 矩阵通过;真实 MaxCompute/StarRocks/DataWorks 适配器未连生产实例,`plugin-validate` 需要 secret 手动触发。未验证项和复现步骤见 [docs/e2e-demo.md](docs/e2e-demo.md)。
目录
版本历史
| 版本 | 日期 | 说明 |
|---|---|---|
| v1.0.0 | 2026-05-23 | 初始版本:复制模板、五层防线、3 个 Hook、8 个 Skill、4 个 Subagent |
| v2.0.0 | 2026-11-16 | Evidence Gate:插件 + CLI、表契约、四态验收、键级对账、证据链 |
v1.0.0 — 2026-05-23 — 初始版本
首个公开版本,以复制 `.claude` 模板的方式提供一套数仓 AI 开发规范:
- 概念上的五层:
CLAUDE.md、Auto Memory(由 Claude Code 提供)、Hooks、Subagents、Skills - 3 个 Hook:
validate_sql.py(写后 SQL 规范检查)、block_dangerous_ddl.py(Bash 危险 DDL 拦截)、inject_context.py(设计为 compact 后重注入;v1 因事件名写错实际未生效,v2 修复) - 8 个 Skill:需求分析、技术设计、
Related Skills
Ashareapi Dsh Plugin
A股数据 API 官方 DeepSeek Harness 插件 —— 桌面端 / Web UI 输个包名即装,24 个 A股工具(行情 / K线 / 财务 / 资金 / 龙虎榜 / 板块 / 因子选股),免费工具无需 K
Maxcompute Semantic
Agent-agnostic semantic skill for MaxCompute SQL — CLI + bare SKILL.md bundle
SAFactory Hive Mind
SAFactory is a meta-agent system that automatically generates perfect Single File Agents (SFAs) from real user
Fable Sentinel
CLI for keeping Claude Fable 5 prompts, skills, and API traffic in shape — lint anti-patterns, canary silent d
LinkedIn Ads Claude Skills
12 Claude Skills for LinkedIn Ads: wasted spend, demographics leaks, CPL-vs-CRM reconciliation, fatigue, biddi
Dq
Hunt silent data failures — grain/fan-out, freshness, reconciliation, absence-vs-zero, broken SCDs
Related Agents
De Snowflake Expert
Expert Snowflake developer for cloud data warehouse design, query optimization, and data loading. Use for Snow
BI Source Analyst
Read-only reviewer of the data layer. Maps every table to its source (SQL, cube, files), checks it against doc
Data Eng Reviewer
Data-engineering expert for the code-review panel. Spawned when the diff touches SQL, dbt models or schema .ym