DESIGN.md@skills/lunheng-article-pipeline/referencesA
DESIGN.md@skills/lunheng-article-pipeline/references from zuoyunlai/lunheng-article-pipeline-dsh is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add zuoyunlai/lunheng-article-pipeline-dsh/skills/lunheng-article-pipeline/references/DESIGN.md@git:20261020.f78bc4dPins git:20261020.f78bc4d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- DESIGN.md file
- Repository
- zuoyunlai/lunheng-article-pipeline-dsh
- Path
skills/lunheng-article-pipeline/references/DESIGN.md- Versions recorded
- 20
- Latest version
- git:20261020.f78bc4d, committed Oct 20, 2026
- First version recorded
- Oct 12, 2026
- Size
- 15,311 bytes
- Repository stars
- 20
- 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
# DESIGN.md — 论衡插件界面设计基准 > 版本:v19.27.2|**读者**:改 `lib/client.js`(浏览器半边)的维护者/子代理。**本文件不进任何运行期读清单**(流水线角色不读)。 > **为什么需要它**:客户端的样式约定此前**只活在代码注释里**(散在 `lib/client.js` 的 `T()` / `S` 与若干「v18.9x 修复」注解中)。注释会被重写、会被漏读;而 `lib/client.js` 是**单文件 + 零构建链**的形态,没有组件库或 lint 兜底——约定一旦失守就是**静默的视觉退化**(暗色下看不见、图表全黑、文字与底色同色)。本文件把这些约定收成**唯一真源**,并在 §9 列出机械消费者(写错会红)。 > **边界(如实声明)**:本文件**只是约定**,不是自动执行体。真正拦住越界的是 §9 的机检;本文件的作用是让「为什么这样写」在改代码之前就能查到。 ## 一、适用范围 `lib/client.js` 的全部 UI(运行面板 + 开工台),以及任何后续新增的客户端半边。**不适用**于产物文档(`run/<项目>/` 下的 Markdown/SVG——那里归 `references/_shared/format-export.md` 与图件模板管)。 ## 二、色彩:只用 DSH 语义 token 1. **唯一取色方式**:`T(name, fallback)` → `var(--dsw-alias-x, <浅色兜底>)`。**每个 token 必须带兜底值**(单参调用一律拒),宿主未定义时退化成旧观感,而不是变成不可读。 2. **禁颜色字面量**:除 `T()` 的兜底参数外,源码里不得出现 `#rgb/#rrggbb/#rrggbbaa`。 3. **禁主题选择器**:不得写 `@media (prefers-color-scheme: …)`、不得在样式里编码 `dark:` 分支。明暗归 `ui-theme`(由 `ui-layout` 把解析后的快照应用到文档),组件**随主题自动切换、零 JS 分支**。 …
Read the whole file at its exact version.
How to install
mdr add zuoyunlai/lunheng-article-pipeline-dsh/skills/lunheng-article-pipeline/references/DESIGN.md@sha256:029f1e2b6ca84fc1The line at the top of this page pins the label git:20261020.f78bc4d, 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_zfzh5f7h5ptjc4ex)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 20 versions of this file, between Oct 12, 2026 and Oct 20, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.f78bc4d latest | 2026-10-20 | f78bc4d | 15,311 B | A | view · diff |
| git:20261020.956f2eb | 2026-10-20 | 956f2eb | 15,311 B | A | view · diff |
| git:20261020.034c1e2 | 2026-10-20 | 034c1e2 | 15,311 B | A | view · diff |
| git:20261020.62322b0 | 2026-10-20 | 62322b0 | 15,311 B | A | view · diff |
| git:20261020.75f44a3 | 2026-10-20 | 75f44a3 | 15,311 B | A | view · diff |
| git:20261018.e0c01a9 | 2026-10-18 | e0c01a9 | 15,311 B | A | view · diff |
| git:20261018.f37488c | 2026-10-18 | f37488c | 15,311 B | A | view · diff |
| git:20261018.b5c5d98 | 2026-10-18 | b5c5d98 | 15,311 B | A | view · diff |
| git:20261018.39ed051 | 2026-10-18 | 39ed051 | 15,311 B | A | view · diff |
| git:20261018.15b2139 | 2026-10-18 | 15b2139 | 15,311 B | A | view · diff |
| git:20261015.ad81ce8 | 2026-10-15 | ad81ce8 | 15,310 B | A | view · diff |
| git:20261015.058c204 | 2026-10-15 | 058c204 | 15,310 B | A | view · diff |
| git:20261014.31bdc2e | 2026-10-14 | 31bdc2e | 15,319 B | A | view · diff |
| git:20261014.0aa281c | 2026-10-14 | 0aa281c | 15,319 B | A | view · diff |
| git:20261014.5247164 | 2026-10-14 | 5247164 | 15,319 B | A | view · diff |
| git:20261012.f5eda91 | 2026-10-12 | f5eda91 | 15,320 B | A | view · diff |
| git:20261012.12a2387 | 2026-10-12 | 12a2387 | 15,320 B | A | view · diff |
| git:20261012.b2b5e73 | 2026-10-12 | b2b5e73 | 15,319 B | A | view · diff |
| git:20261012.0616c49 | 2026-10-12 | 0616c49 | 15,319 B | A | view · diff |
| git:20261012.1ecba38 | 2026-10-12 | 1ecba38 | 15,319 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (15311 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
zuoyunlai/lunheng-article-pipeline-dsh · 20 stars · license MIT · pushed 2026-10-21 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_zfzh5f7h5ptjc4ex GET https://markdownregistry.com/api/v1/resolve?ref=zuoyunlai/lunheng-article-pipeline-dsh/skills/lunheng-article-pipeline/references/DESIGN.md GET https://markdownregistry.com/api/v1/blob/029f1e2b6ca84fc1591f0740d2066f8931d263329760cc3866662d4b1043ed87
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: what DESIGN.md is and how agents use it · which agent file does what.