DESIGN.mdA

DESIGN.md from wyh201816/taichu is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add wyh201816/taichu/DESIGN.md@git:20260905.e14599e

Pins git:20260905.e14599e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
wyh201816/taichu
Path
DESIGN.md
Versions recorded
5
Latest version
git:20260905.e14599e, committed Sep 5, 2026
First version recorded
Jul 18, 2026
Size
19,529 bytes
Repository stars
2
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

# 太初前端设计说明

> 更新日期:2026-09-05
> 强制适用范围:太初前端视觉系统、页面布局、组件设计、交互动效、Tailwind token、shadcn/ui 二次封装和所有用户可见前端文案。

本文档是太初前端设计的强制规则源。涉及 `web/` 下页面、组件、样式、交互、动效、前端文案或视觉方案的创建、修改、评审和讨论时,必须先读取并遵循本文档。不得把本文档仅作为可选参考。

本文档只定义前端视觉与交互规则,不改变太初的产品边界:太初仍然是面向单本玄幻小说的个人 AI 写作助手,不支持多小说管理、多租户后台或通用内容平台形态。

## 1. 当前设计方向

太初当前默认前端风格为“Langbase 午夜极光控制台风格”:炭灰控制台画布、深色导航条、克制的灰阶层级、白色胶囊按钮、Geist Sans UI 字体、Geist Mono 技术读数,以及只作为装饰出现的极光渐变条。

界面应像一个午夜开发者控制台,但服务对象仍是中文玄幻小说作者。视觉重点是安静、结构清楚、边界精确、长期可读,而不是营销页、赛博霓虹或游戏化 HUD。

核心判断如下:

- 页面默认背景使用 `#232324` 炭灰控制台画布,不使用纯黑作为页面背景。
- 顶部导航使用更深的 `#0e0e10`,作为稳定的横向锚点。
- 主要文字使用接近白色的 `#fafafa`,次级说明使用 `#a1a1aa`。
- 页面层级通过留白、对齐、深浅表面、圆角容器和 4px 网格建立,不使用分割线组织内容。
- 主按钮使用白底黑字胶囊形,不使用彩色按钮。
- 极光渐变只作为少量装饰条、背景线索或 AI 状态氛围,不作为按钮、文字、边框、图标或功能状态颜色。
- 卡片使用 12px 圆角,输入框和小标签使用 4px 圆角,按钮使用全圆角。
- 页面信息结构、组件功能、路由和工作流不得因风格变化而改变。
- 所有用户可见文案必须为中文。内部组件名、token 名、接口名和文件路径可以保留英文,但不得直接暴露为界面文案。

### 1.1 信息密度与功能显隐

太初界面默认是“高密度、低干扰”的写作工作台,不是展示型产品页,也不是把每个功能都摊开的后台系统。所有前端页面必须优先减少视觉占地和认知噪音,让作者先看到当前真正要处理的内容。

强制规则:

- 信息不能臃肿。默认只展示当前任务所需的标题、状态、少量摘要和关键操作;解释、说明、长内容、原始数据和低频信息必须延后到详情、折叠区、抽屉、弹层或二级页面。
- 功能不能全部显性铺开。高频主操作可以常驻,低频操作必须收进更多菜单、行内悬浮操作、详情面板或上下文操作区,不得把每个功能都做成醒目的按钮。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wyh201816/taichu/DESIGN.md@sha256:d1ce2d26f6059144

The line at the top of this page pins the label git:20260905.e14599e, 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_kemrguehgst4qdhc.svg)](https://markdownregistry.com/a/art_kemrguehgst4qdhc)

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

Versions

The registry has recorded 5 versions of this file, between Jul 18, 2026 and Sep 5, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
git:20260905.e14599e latest2026-09-05 e14599e 19,529 BA view · diff
git:20260822.bd492a72026-08-22 bd492a7 18,887 BA view · diff
git:20260816.0462e002026-08-16 0462e00 18,914 BA view · diff
git:20260720.2ce88b02026-07-20 2ce88b0 18,146 BA view · diff
git:20260718.a7624242026-07-18 a762424 15,509 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 (19529 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

wyh201816/taichu · 2 stars · license MIT · pushed 2026-11-06 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_kemrguehgst4qdhc
GET https://markdownregistry.com/api/v1/resolve?ref=wyh201816/taichu/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/d1ce2d26f6059144ccd3fb78f67518bbea4a2695b3f8cb053ce3bb51d460abe6

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 wyh201816/taichu

taichu-acceptance-brief SKILL.md skill
wyh201816/taichu · .agents/skills/taichu-acceptance-brief/SKILL.md · 为太初任务包生成中文验收摘要。Use when 用户要求总结本次任务、整理给 GPT Pro 的验收材料、说明实现了哪些功能、说明网页怎么验证、生成手动验收步骤或复盘执行结果。
git:20260627.14df11f · audit A · 2 stars
taichu-git-publish SKILL.md skill
wyh201816/taichu · .agents/skills/taichu-git-publish/SKILL.md · 将太初当前任务的已验证变更提交并推送到远程仓库。仅当用户明确要求提交、推送或发布当前变更时使用,不因任务实现完成而自动触发。
git:20260710.44dade2 · audit A · 2 stars
taichu-task-package-execution SKILL.md skill
wyh201816/taichu · .agents/skills/taichu-task-package-execution/SKILL.md · 按 GPT Pro 产出的太初开发任务包执行代码变更。Use when 用户粘贴任务包、要求 Codex 执行任务、实现任务包、修复任务包问题、继续下一个开发任务,且不需要 Codex 重新做需求讨论或 PRD 拆解。
git:20260710.44dade2 · audit A · 2 stars
taichu-ui-components SKILL.md skill
wyh201816/taichu · .agents/skills/taichu-ui-components/SKILL.md · 太初前端 UI 组件准入与复用规则。Use when Codex is implementing, modifying, reviewing, or automatically executing any frontend work…
git:20260710.44dade2 · audit A · 2 stars
AGENTS.md AGENTS.md file
wyh201816/taichu · AGENTS.md
git:20260909.5eed9f7 · audit B · 2 stars

Every file in wyh201816/taichu

Other files named DESIGN.md

DESIGN.md DESIGN.md file
garrytan/gstack · DESIGN.md
git:20261104.2ff2d3b · audit A · 140,694 stars
DESIGN.md DESIGN.md file
paperclipai/paperclip · DESIGN.md
git:20261105.56517dd · audit A · 111,624 stars
DESIGN.md DESIGN.md file
pbakaus/impeccable · DESIGN.md · Neo kinpaku system. Two brand anchors, kinpaku gold and verdigris patina, sit on dark warm-black lacquer. Restraint in…
git:20260721.d7d1027 · audit A · 106,186 stars
DESIGN.md DESIGN.md file
tt-a1i/archify · DESIGN.md · A precise, vivid technical instrument for trustworthy interactive architecture maps.
git:20260817.a0bc059 · audit A · 94,561 stars
DESIGN.md DESIGN.md file
heygen-com/hyperframes · DESIGN.md
git:20260408.fe9cd30 · audit A · 80,701 stars
DESIGN.md DESIGN.md file
cherryhq/cherry-studio · DESIGN.md
git:20261102.a500029 · audit A · 53,286 stars
DESIGN.md DESIGN.md file
garrytan/gbrain · DESIGN.md
git:20260519.3a0e111 · audit A · 31,587 stars
DESIGN.md DESIGN.md file
different-ai/openwork · DESIGN.md
git:20261105.74b7c70 · audit A · 24,407 stars

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