pugyy/dw-harness
A Claude Code engineering template for reliable data warehouse AI development./面向数仓 AI 开发的 Claude Code 工程化模板:hooks、skills、subagents 与八步标准流程。
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit pugyy/dw-harness/template/.claude ./rig-dw-harness # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit pugyy/dw-harness/template/.claude/skills/dw-data-comparison .claude/skills/dw-data-comparison $ npx degit pugyy/dw-harness/template/.claude/skills/dw-dqc .claude/skills/dw-dqc $ npx degit pugyy/dw-harness/template/.claude/skills/dw-etl .claude/skills/dw-etl $ npx degit pugyy/dw-harness/template/.claude/skills/dw-performance-optimization .claude/skills/dw-performance-optimization $ npx degit pugyy/dw-harness/template/.claude/skills/dw-requirement-analysis .claude/skills/dw-requirement-analysis $ npx degit pugyy/dw-harness/template/.claude/skills/dw-self-test .claude/skills/dw-self-test $ npx degit pugyy/dw-harness/template/.claude/skills/dw-sr .claude/skills/dw-sr $ npx degit pugyy/dw-harness/template/.claude/skills/dw-technical-design .claude/skills/dw-technical-design
$ curl -fsSL --create-dirs -o .claude/agents/data-comparator.md https://raw.githubusercontent.com/pugyy/dw-harness/main/template/.claude/agents/data-comparator/data-comparator.md $ curl -fsSL --create-dirs -o .claude/agents/data-quality-checker.md https://raw.githubusercontent.com/pugyy/dw-harness/main/template/.claude/agents/data-quality-checker/data-quality-checker.md $ curl -fsSL --create-dirs -o .claude/agents/dw-explorer.md https://raw.githubusercontent.com/pugyy/dw-harness/main/template/.claude/agents/dw-explorer/dw-explorer.md $ curl -fsSL --create-dirs -o .claude/agents/sql-validator.md https://raw.githubusercontent.com/pugyy/dw-harness/main/template/.claude/agents/sql-validator/sql-validator.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python .claude/hooks/block_dangerous_ddl.py"
}
]
}
]
}
} Skills (8)
dw-data-comparisondw-dqcdw-etldw-performance-optimizationdw-requirement-analysisdw-self-testdw-srdw-technical-design
Subagents (4)
| data-comparator model: opus | > |
| data-quality-checker model: opus | > |
| dw-explorer model: opus | > |
| sql-validator model: opus | > |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| PostToolUse | Write|Edit|MultiEdit | python .claude/hooks/validate_sql.py |
| PreToolUse | Bash | python .claude/hooks/block_dangerous_ddl.py |
| SessionStart | compact | python .claude/hooks/inject_context.py |
| Stop | * | 检查数仓规范执行结果:是否所有 SQL 文件都通过了规范检查?待确认问题清单是否完整? |
Similar rigs
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok ·
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok ·
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok ·
asklokesh/loki-mode
Autonomous software factory. Give it a GitHub issue, a spec or a one-line task; get back a pull request with a signed receipt anyone can re-check offline. Runs on your machine with your own keys: Claude, Codex, OpenCode.
Automator 8.2k tok ·