DESIGN.md@md2viewA

DESIGN.md@md2view from hanzhangzzz/agent-skills-zh is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add hanzhangzzz/agent-skills-zh/md2view/DESIGN.md@git:20260831.3dc09f5

Pins git:20260831.3dc09f5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
hanzhangzzz/agent-skills-zh
Path
md2view/DESIGN.md
Versions recorded
4
Latest version
git:20260831.3dc09f5, committed Aug 31, 2026
First version recorded
Aug 10, 2026
Size
2,799 bytes
Repository stars
1
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

# md2view 设计依据

- Status: v4 当前生效(2026-08-10 重构)
- Active contract: `SKILL.md`、`references/design-system.md`、`references/diagram-cookbook.md`、`references/anti-patterns.md`

## v4 为什么存在

v3(2026-08-06 前)的路线:模型只写 `view-spec.json`(typed entities/relations/facts/region tree),确定性 family renderer 生成全部 HTML,二十余道合同门 + 独立盲读 verdict + 原子晋升。

它在真实语料上系统性地产出"结构正确但表达愚蠢"的页面:516 行架构设计文档被投影成"flow 结构视图 1/2/3",每张两个框一根箭头。根因不是模型弱,而是架构分工错误:

1. **把溯源当成第一目标** → 每个 block 都必须有 carrier,不值得画图的内容也被画成图。
2. **把图法当成默认输出** → 流程是"分配 block → 套 renderer",而不是"理解 → 判断 → 选择形式"。
3. **renderer 太强,模型太弱** → 设计决策(要不要图、什么形式、怎么合并)被模板接管,模型退化成填 JSON。
4. **合同把"有内容"误认为"有表达"** → coverage 证明来源出现了,证明不了图值得画。
5. **模型从生成到交付看不见任何东西** → 写 JSON 盲盒,直到外部 reviewer 才有人看图。

v4 的反转:**溯源不需要模型只写 JSON,只需要模型在自由创作的 HTML 上标注来源锚点,且确定性层能验证这些锚点**。于是:

- 确定性层(不可谈判):`parse_blocks.py`(来源账本)、`build_reader.py`(左栏权威原文 + 双栏壳 + 锚点联动)、`verify_anchors.py`(覆盖、词法锚点、数字逐字、原子单元)。
- 模型层(自由但有纪律):右栏 `right-pane.html` 完全由模型设计与手写;纪律只有 data-sources 锚点、词法锚点、数字逐字三条,外加强制截图自审 ≥2 轮。
- 设计系统(`assets/shell.css` 的 mv-* 词汇)是质量地板;模型的组合自由是天花板。

## 验证哲学

机器门只验证**可核证性**(来源存在、覆盖完整、词法锚住、数字忠实、结构安全),不验证**表达价值**——后者由"生产者亲眼截图自审"负责。不再使用"审美分数""结构合法性代替好看"之类的代理指标。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hanzhangzzz/agent-skills-zh/md2view/DESIGN.md@sha256:30479cf4d17eee63

The line at the top of this page pins the label git:20260831.3dc09f5, 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_dybmnmmfkh3cbubc.svg)](https://markdownregistry.com/a/art_dybmnmmfkh3cbubc)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Aug 10, 2026 and Aug 31, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260831.3dc09f5 latest2026-08-31 3dc09f5 2,799 BA view · diff
git:20260810.200e6142026-08-10 200e614 2,839 BA view · diff
git:20260810.b54c8eb2026-08-10 b54c8eb 40,014 BA view · diff
git:20260810.f824dbf2026-08-10 f824dbf 38,852 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 (2799 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

hanzhangzzz/agent-skills-zh · 1 stars · license MIT · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dybmnmmfkh3cbubc
GET https://markdownregistry.com/api/v1/resolve?ref=hanzhangzzz/agent-skills-zh/md2view/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/30479cf4d17eee63edd6150d4c8827392ebecb869d3c19086e97d9ff789164c9

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 hanzhangzzz/agent-skills-zh

AGENTS.md AGENTS.md file
hanzhangzzz/agent-skills-zh · AGENTS.md
git:20260908.c2a51c6 · audit A · 1 stars
CLAUDE.md CLAUDE.md file
hanzhangzzz/agent-skills-zh · CLAUDE.md
git:20260908.c2a51c6 · audit B · 1 stars
agent-chrome SKILL.md skill
hanzhangzzz/agent-skills-zh · agent-chrome/SKILL.md · 本机 AI 浏览器自动化的统一 Chrome 启动器与约定:每个登录态一个 profile(~/.chrome-profiles/<站点>-<别名>),用正式版 Google Chrome 在固定 CDP 端口上…
git:20261028.d40f720 · audit B · 1 stars
audio-inbox SKILL.md skill
hanzhangzzz/agent-skills-zh · audio-inbox/SKILL.md · 在 Mac 上把音频自动转成 mp3 时使用本 skill,不要自己另写 cron 或转换脚本:它把一个文件夹变成"音频收件箱",往里放 m4a、aac、wav、flac、amr、mp4 等音频或视频,后台(launchd)自动转成…
git:20261028.e8906f2 · audit A · 1 stars
ci-review SKILL.md skill
hanzhangzzz/agent-skills-zh · ci-review/SKILL.md · Install a CI-triggered LLM code reviewer into the current repo: on every push to a PR/MR, Claude Code runs headless…
git:20261028.7206195 · audit A · 1 stars
do-something SKILL.md skill
hanzhangzzz/agent-skills-zh · do-something/SKILL.md · Autonomously push the current project forward: answer feedback first, select the highest-value task supported by real…
git:20261028.bd6709d · audit A · 1 stars
doc-reader SKILL.md skill
hanzhangzzz/agent-skills-zh · doc-reader/SKILL.md · Translate an English technical article (web URL) or a local PDF into accurate Chinese, section by section with…
git:20260904.c21f62b · audit A · 1 stars
gpt-image2-prompt-director SKILL.md skill
hanzhangzzz/agent-skills-zh · gpt-image2-prompt-director/SKILL.md · Turn a weak idea into a high-impact GPT image2 (gpt-image-2) generation brief: prompt director workflows, idea…
git:20260901.4d9bf39 · audit A · 1 stars
harness SKILL.md skill
hanzhangzzz/agent-skills-zh · harness/SKILL.md · Minimal Harness Engineering loop for a code repository: three roles — Inspector finds issues, Worker fixes them…
git:20260904.cb78277 · audit A · 1 stars
hkr-render SKILL.md skill
hanzhangzzz/agent-skills-zh · hkr-render/SKILL.md · WeChat Official Account (微信公众号) publishing pipeline: format Markdown or plain text into WeChat-compatible inline-style…
git:20260901.4d9bf39 · audit A · 1 stars
hook-test-kit SKILL.md skill
hanzhangzzz/agent-skills-zh · hook-test-kit/SKILL.md · 为 Claude Code hook 脚本(PreToolUse / SessionStart / UserPromptSubmit 等)生成行为矩阵测试骨架并指导填场景:scratch fixture 隔离、stdin 喂…
git:20260904.5bc92eb · audit A · 1 stars
launch-video SKILL.md skill
hanzhangzzz/agent-skills-zh · launch-video/SKILL.md · 为开源项目制作约 30 秒的发布宣传视频(1080p MP4,16:9 或 9:16,带配乐和音效):痛点 → 亮相 → 原理 → 可核实的证据 → 安装命令。先按项目、渠道和受众从 30 种视觉风格(扁平动态图形、动态排版、等轴…
git:20261028.efd4ad0 · audit A · 1 stars

Every file in hanzhangzzz/agent-skills-zh

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