DESIGN.md@tools/readme_artA

DESIGN.md@tools/readme_art from daha1216/dsh-adult-tension is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add daha1216/dsh-adult-tension/tools/readme_art/DESIGN.md@git:20261012.ecb73f7

Pins git:20261012.ecb73f7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
daha1216/dsh-adult-tension
Path
tools/readme_art/DESIGN.md
Versions recorded
7
Latest version
git:20261012.ecb73f7, committed Oct 12, 2026
First version recorded
Oct 3, 2026
Size
10,816 bytes
Repository stars
315
License
none declared

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

# README 图片:设计规范与制作流程

本目录生成仓库首页 `README.md` 用到的 8 张图,输出到 `.github/readme-lofi/`。这里记录风格规范、各张图的版式、动效、文案规矩和改图流程,供以后改图时对照。

这些是开发工具,不进 Skill 发布包;运行时仍然只用 Python 标准库。

## 1. 文件

| 文件 | 作用 |
|---|---|
| `source/bedroom.webp` | 用户提供的像素风黄昏卧室图(2000×778),所有图的素材来源 |
| `readme_overlay.py` | 生成首图 `hero.svg`:原图 + 标题 + 像素标语 + 动效 + 卖点条 + 三栏特性 |
| `overlay_fx.py` | 首图的动效图层(楼灯、霓虹、闹钟、屏幕、浮尘、音符)和标题、标语的时间轴 |
| `pxtext.py` | 像素中文字:用系统字体按 1 位点阵渲染,再合并成 SVG 方块路径 |
| `readme_px_room.py` | 早期手绘卧室首图的脚本。现在只借用其中的卖点条和三栏特性代码(`readme_overlay.py` 截取并执行),单独运行时输出到 `reports/tmp/readme_art/`,不会覆盖正式图 |
| `lofi_set.py` | 生成其余的图:5 张分区横幅、软木板世界墙 `worlds.svg`、磁带架 `inventory.svg`、世界库合图 `world-library.svg`、架构图 `architecture.svg` |
| `pixkit.py` | 像素画布、抖动、渐变、SVG 外壳等公共工具 |

`lofi_set.py` 里的 `v_proof`、`v_why` 等函数是旧版手绘横幅插画,现在的横幅改用原图局部,这些函数已不调用。

## 2. 重新生成

需要 Python 3.10+ 和 Pillow(只在开发机上用),字体用 Windows 自带的微软雅黑粗体 `msyhbd.ttc`。

```bash
export PYTHONPYCACHEPREFIX=.pycache PYTHONIOENCODING=utf-8
python tools/readme_art/readme_overlay.py
python tools/readme_art/lofi_set.py
```

两个脚本的输出是确定的(随机数都用固定种子)。改脚本之前先跑一遍,用 `git status .github/readme-lofi` 确认没有差异,再动手改。

## 3. 总体原则
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add daha1216/dsh-adult-tension/tools/readme_art/DESIGN.md@sha256:205e7f79fe5eb404

The line at the top of this page pins the label git:20261012.ecb73f7, 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_anoqztgoa2re4bdq.svg)](https://markdownregistry.com/a/art_anoqztgoa2re4bdq)

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

Versions

The registry has recorded 7 versions of this file, between Oct 3, 2026 and Oct 12, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261012.ecb73f7 latest2026-10-12 ecb73f7 10,816 BA view · diff
git:20261012.142489a2026-10-12 142489a 10,816 BA view · diff
git:20261004.c8152ac2026-10-04 c8152ac 10,442 BA view · diff
git:20261004.72334c22026-10-04 72334c2 10,479 BA view · diff
git:20261004.e0f965c2026-10-04 e0f965c 10,480 BA view · diff
git:20261003.0d3905a2026-10-03 0d3905a 9,371 BA view · diff
git:20261003.de2d4a12026-10-03 de2d4a1 8,888 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 (10816 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

daha1216/dsh-adult-tension · 315 stars · license none declared · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_anoqztgoa2re4bdq
GET https://markdownregistry.com/api/v1/resolve?ref=daha1216/dsh-adult-tension/tools/readme_art/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/205e7f79fe5eb404282a8db4ec833a35ce7da9ef29995c6e1402dc32bf77d2b5

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 daha1216/dsh-adult-tension

AGENTS.md AGENTS.md file
daha1216/dsh-adult-tension · AGENTS.md
git:20260927.ed811cd · audit B · 315 stars
CLAUDE.md CLAUDE.md file
daha1216/dsh-adult-tension · CLAUDE.md
git:20260927.ed811cd · audit B · 315 stars
adult-tension SKILL.md skill
daha1216/dsh-adult-tension · skill/adult-tension/SKILL.md · Run a Chinese interactive story for adults with a local engine that keeps characters, time, events, boundaries, and…
git:20261022.26641eb · audit A · 315 stars
AGENTS.md@spec AGENTS.md file
daha1216/dsh-adult-tension · spec/AGENTS.md
git:20260927.ed811cd · audit A · 315 stars

Every file in daha1216/dsh-adult-tension

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