AGENTS.md@templateA
AGENTS.md@template from pugyy/dw-harness is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add pugyy/dw-harness/template/AGENTS.md@git:20261116.93752ddPins git:20261116.93752dd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 16 of 16 checks passed
- Kind
- AGENTS.md file
- Repository
- pugyy/dw-harness
- Path
template/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20261116.93752dd, committed Nov 16, 2026
- First version recorded
- Nov 16, 2026
- Size
- 2,360 bytes
- Repository stars
- 7
- License
- MIT
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
# dw-harness 数仓工程规范(AGENTS.md) 本文件是跨工具共享的规范入口(Claude Code 通过 CLAUDE.md 的 `@AGENTS.md` 引用; Codex / Cursor / ZCode 等可直接读取)。项目个性信息在 CLAUDE.md 与 contract 中。 ## 硬规则(hook 强制,违反会被拦) - 禁止 `SELECT *` / `t.*`,必须显式列字段(`COUNT(*)` 不受限) - `INSERT (OVERWRITE)` 必须声明目标 `PARTITION`;StarRocks 按项目配置降级为告警 - `UPDATE` / `DELETE` 必须带 `WHERE` - 分区字段统一 `partition_dt STRING`(yyyyMMdd),不叫 `dt` - 金额字段 `DECIMAL(20,4)`,禁止 `DOUBLE`;币种与单位在契约中分开声明 - 受保护对象(`.claude/dw/harness.json` 的 `protected_objects`)禁止写入性操作 - 生产环境(`DW_HARNESS_PROD=1`)破坏性操作一律拒绝,走正式发布入口 ## 八步工作流(MaxCompute → StarRocks 主线) > 命令前缀:插件模式为 `/dw-harness:dw-*`(如 `/dw-harness:dw-etl`); > 复制模板模式保留裸名 `/dw-etl`。下文以裸名书写。 1. `/dw-requirement-analysis` 需求分析 → 需求摘要 + 字段口径草稿 + 待确认清单 2. `/dw-technical-design` 技术设计 → OneData 建模 + 契约 contract.yaml 定稿 3. `/dw-etl` ETL 开发 → `ddl_[表].sql` + `insert_[表].sql`(+ `ddl_sr_[表].sql`) 4. `/dw-self-test` 自测 → 23 项检查报告(fork + 专用 agent 隔离运行) 5. `/dw-data-comparison` 数据比对 → `dw reconcile` 键级对账证据 6. `/dw-sr` SR 导入 → SR DDL + 风险分析 7. `/dw-performance-optimization` 性能优化 → 计划/静态判断说明 8. `/dw-dqc` SLA/DQC → `dw dqc gen` 稳定 ID 规则 进度由 `/dw-next` 从已验证交付物推断,不依赖会话记忆。 ## 确定性命令(模型解释结果,不放行) - 校验:`dw lint <files>` …
Read the whole file at its exact version.
How to install
mdr add pugyy/dw-harness/template/AGENTS.md@sha256:f6086f8b5cbd69f1The line at the top of this page pins the label git:20261116.93752dd, 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.
[](https://markdownregistry.com/a/art_y5s6vcgpvcrcjpge)
2 badge image fetches in 30 days. What the badge shows.
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry
Then ask it: what changed in pugyy/dw-harness/template/AGENTS.md 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 AGENTS.md from somewhere else? Ask it: where did my AGENTS.md 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 2 versions of this file, all committed on Nov 16, 2026.
Watch this file (sign in, one email per new version)
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261116.93752dd latest | 2026-11-16 | 93752dd | 2,360 B | A | view · diff |
| git:20261116.8587e14 | 2026-11-16 | 8587e14 | 2,189 B | A | view |
Installed this file, say at AGENTS.md? Drop it here to learn which saved version you have and what changed since. Your browser works out its SHA-256 fingerprint and sends only that; the file itself never leaves your computer.
Or paste its contents
Your agent can run this same check on the agent markdown files you have installed, up to 50 in one ask. Add the registry once:
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry
Then ask it to check the files you have installed. No key and no account.
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
- pass: Size between 200 bytes and 200 KB (2360 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
pugyy/dw-harness · 7 stars · license MIT · pushed 2026-11-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_y5s6vcgpvcrcjpge GET https://markdownregistry.com/api/v1/resolve?ref=pugyy/dw-harness/template/AGENTS.md GET https://markdownregistry.com/api/v1/blob/f6086f8b5cbd69f1a29e28d138d21e360a98238d42b56be5ef9969a55e7cbd98 GET https://markdownregistry.com/api/v1/list?kind=agents
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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.
More from pugyy/dw-harness
Every file in pugyy/dw-harness