AGENTS.mdA
AGENTS.md from omdsh-dev/dsh-genui is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add omdsh-dev/dsh-genui/AGENTS.md@git:20261029.1afc716Pins git:20261029.1afc716 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- omdsh-dev/dsh-genui
- Path
AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261029.1afc716, committed Oct 29, 2026
- Size
- 2,520 bytes
- Repository stars
- 832
- 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
# dsh-genui 协作守则
面向在本仓库里改东西的 agent。只写会被反复违反、且有具体代价的规则;风格偏好不进来。
## 汇报改动:默认用 `compare`
只要回答里要呈现**同一处界面的前后差异**,就用 `compare` 节点,不要并排两张 markdown 图片、也不要表格:
````
```dsh-ui
{"title":"改了什么","items":[{"type":"compare","mode":"side","height":360,
"before":{"src":"/api/file?path=<绝对路径,percent-encoded>","label":"改动前","caption":"…"},
"after":{"src":"/api/file?path=<绝对路径,percent-encoded>","label":"改动后","caption":"…"}}]}
```
````
- 本机截图走宿主已鉴权的 `/api/file?path=` 路由,不用起服务、不用搬文件。
- 为什么不是两张图:读者得自己推理"哪边是改前";`compare` 的标签常显,还能拖动分割线看细节。
- 规则失效过一次(当天写进 SKILL,第一次汇报就没用),所以放在这个每次都会加载的位置。
- 没有截图时用文字讲清楚,不要用表格凑出一张"看起来有结构"的回答。
## 视觉改动:没渲染过就不算完成
- 视觉/布局/交互改动必须在真实浏览器里看过再声称完成。本地有固定管线:
`.e2e-artifacts/pw/`(`playwright-core`)+ `.e2e-artifacts/.browsers/`(chromium),`PLAYWRIGHT_BROWSERS_PATH` 指过去即可截图。
- 导出页(standalone artifact)没有宿主 `--dsw-*` token:判断颜色/表面/字体时必须把宿主 token 一起注入,否则看到的是兜底色(过去因此误判过 `diagram` 是"白板")。
- 断言要随行为变化说明**新规则是什么**,不要只把期望值改成实际值。
## 新增节点:一份清单
`spec.ts`(类型 + union)→ `genui-runtime/schema.ts`(字段 + 嵌套记录)→ `guard.ts`(repair + 校验)→ `blocks/render-node.tsx`(dispatch)→ 组件 + CSS module → `i18n/{en,zh}.ts`(键集必须一致)→ `SKILL.md` → 测试(渲染 + 交互 + guard)。
…Read the whole file at its exact version.
How to install
mdr add omdsh-dev/dsh-genui/AGENTS.md@sha256:810a05001e31a579The line at the top of this page pins the label git:20261029.1afc716, 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_q46xb4lj3jghkcze)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 29, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2520 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 prompt-injection phrasing
- pass: No curl or wget piped into 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
omdsh-dev/dsh-genui · 832 stars · license MIT · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_q46xb4lj3jghkcze GET https://markdownregistry.com/api/v1/resolve?ref=omdsh-dev/dsh-genui/AGENTS.md GET https://markdownregistry.com/api/v1/blob/810a05001e31a579f8cc2ac1dab22c9424c3a2a94ac162c0b055c5b8432031ba
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 omdsh-dev/dsh-genui
Every file in omdsh-dev/dsh-genui