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.

Install it, pinned
mdr add zuoyunlai/lunheng-article-pipeline-dsh/skills/lunheng-article-pipeline/references/DESIGN.md@git:20261020.f78bc4d

Pins 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

The exact contents, by fingerprint
mdr add zuoyunlai/lunheng-article-pipeline-dsh/skills/lunheng-article-pipeline/references/DESIGN.md@sha256:029f1e2b6ca84fc1

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

Badge

mdr badge

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

versioncommittedcommitsizeaudit
git:20261020.f78bc4d latest2026-10-20 f78bc4d 15,311 BA view · diff
git:20261020.956f2eb2026-10-20 956f2eb 15,311 BA view · diff
git:20261020.034c1e22026-10-20 034c1e2 15,311 BA view · diff
git:20261020.62322b02026-10-20 62322b0 15,311 BA view · diff
git:20261020.75f44a32026-10-20 75f44a3 15,311 BA view · diff
git:20261018.e0c01a92026-10-18 e0c01a9 15,311 BA view · diff
git:20261018.f37488c2026-10-18 f37488c 15,311 BA view · diff
git:20261018.b5c5d982026-10-18 b5c5d98 15,311 BA view · diff
git:20261018.39ed0512026-10-18 39ed051 15,311 BA view · diff
git:20261018.15b21392026-10-18 15b2139 15,311 BA view · diff
git:20261015.ad81ce82026-10-15 ad81ce8 15,310 BA view · diff
git:20261015.058c2042026-10-15 058c204 15,310 BA view · diff
git:20261014.31bdc2e2026-10-14 31bdc2e 15,319 BA view · diff
git:20261014.0aa281c2026-10-14 0aa281c 15,319 BA view · diff
git:20261014.52471642026-10-14 5247164 15,319 BA view · diff
git:20261012.f5eda912026-10-12 f5eda91 15,320 BA view · diff
git:20261012.12a23872026-10-12 12a2387 15,320 BA view · diff
git:20261012.b2b5e732026-10-12 b2b5e73 15,319 BA view · diff
git:20261012.0616c492026-10-12 0616c49 15,319 BA view · diff
git:20261012.1ecba382026-10-12 1ecba38 15,319 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 (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

GitHub

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.

More from zuoyunlai/lunheng-article-pipeline-dsh

AGENTS.md AGENTS.md file
zuoyunlai/lunheng-article-pipeline-dsh · AGENTS.md
git:20261009.7f0ff4d · audit A · 20 stars
AGENTS.md@skills/lunheng-article-pipeline AGENTS.md file
zuoyunlai/lunheng-article-pipeline-dsh · skills/lunheng-article-pipeline/AGENTS.md
git:20261020.f78bc4d · audit A · 20 stars
lunheng-article-pipeline SKILL.md skill
zuoyunlai/lunheng-article-pipeline-dsh · skills/lunheng-article-pipeline/SKILL.md · 论衡 v19.27.2:DSH 原生多 Agent 深度长文流水线(学术论文/商业评论/行业分析/公众号)。9 个独立角色 T1-T9 + 主控;三角验证 + M 门 + G 审计 + 修订回环双轨 + 期刊匹配 + auto_cite…
v19.27.2 · audit A · 20 stars
lunheng-commands SKILL.md skill
zuoyunlai/lunheng-article-pipeline-dsh · skills/lunheng-commands/SKILL.md · lunheng-commands v1.0.3 是论衡 v19.27.2 **内嵌子技能**——11 个 /lunheng 斜杠命令 UX(薄壳 wrapper,不引入新角色 / 新 M 门)。-status --pending =…
v1.0.3 · audit A · 20 stars

Every file in zuoyunlai/lunheng-article-pipeline-dsh

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