AGENTS.mdA

AGENTS.md from omdsh-dev/dsh-genui is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add omdsh-dev/dsh-genui/AGENTS.md@git:20261029.1afc716

Pins 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

The exact contents, by fingerprint
mdr add omdsh-dev/dsh-genui/AGENTS.md@sha256:810a05001e31a579

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q46xb4lj3jghkcze.svg)](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.

versioncommittedcommitsizeaudit
git:20261029.1afc716 latest2026-10-29 1afc716 2,520 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

genui SKILL.md skill
omdsh-dev/dsh-genui · SKILL.md · Render structured interactive UI inline through the dsh-ui fence. Use for key points, emphasis, comparisons, flows…
git:20261030.9126e43 · audit A · 832 stars

Every file in omdsh-dev/dsh-genui

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261101.d684125 · audit A · 417,919 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 309,852 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 293,827 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 198,353 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 182,080 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 139,879 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261027.a50cf58 · audit A · 138,879 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 116,476 stars

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