chinese-typography SKILL.md skillA

chinese-typography from sanhuang520-ship-it/awesome-chinese-ai-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography@git:20260812.8dc2f6e

Pins git:20260812.8dc2f6e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sanhuang520-ship-it/awesome-chinese-ai-tools
Path
skills/chinese-typography/SKILL.md
Versions recorded
2
Latest version
git:20260812.8dc2f6e, committed Aug 12, 2026
First version recorded
Aug 5, 2026
Size
6,862 bytes
Repository stars
11
License
MIT

中文排版规范助手。当用户要"排版""中文网页样式""文章排版""公众号排版""PDF/Word 排版""字体怎么选""中英混排""为什么我的中文网页很丑"时使用。处理中英间距、标点、行高、字体栈、CJK 断行等中文特有问题,输出可直接用的 CSS 或排版建议。.

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

# 中文排版助手

**中文网页丑,八成不是设计问题,是排版问题。**

大部分模板是按西文设计的,直接拿来放中文,会同时踩到十几个坑:行高不够、中英挤在一起、标点占位不对、断行断在不该断的地方。

## 什么时候用

网页/文章/公众号/PDF/Word/PPT 的中文排版,选字体,中英混排,修"说不上哪里丑"的中文页面。

## 第一步:确认载体

不同载体规则差别大:

| 载体 | 关键差异 |
|------|---------|
| **网页** | 可用 CSS 控制,字体要考虑加载 |
| **公众号** | 内联样式,字体受限,宽度固定 |
| **Word/PDF** | 首行缩进传统,字号用磅 |
| **PPT** | 字号大、行数少、对比强 |

## 中文排版的 10 条核心规则

### 1. 中英文之间加空格(盘古之白)

```
❌ 我用Python写了一个爬虫
✅ 我用 Python 写了一个爬虫
```

**数字同理**:`3 个苹果`、`iPhone 15 Pro`

例外:**标点旁边不加**——`使用 Python,然后……`(逗号前不加)

### 2. 行高要比西文大

中文字符方正饱满,行高不够会挤成一团。

```css
line-height: 1.75;   /* 正文,1.6-1.8 都可以 */
line-height: 1.35;   /* 大标题可以紧一些 */
```

> 西文常用的 1.4-1.5 放中文会显得压抑。

### 3. 字体栈要写对

```css
font-family:
  -apple-system, BlinkMacSystemFont,   /* 苹方 / SF */
  "Segoe UI", Roboto,                   /* 西文优先 */
  "PingFang SC", "Hiragino Sans GB",    /* 苹果中文 */
  "Microsoft YaHei", "微软雅黑",         /* Windows */
  "Source Han Sans SC", "Noto Sans CJK SC",  /* 思源 */
  sans-serif;
```

**顺序原则**:西文字体放前面,中文字体放后面。这样英文用西文字体渲染,中文自动 fallback,混排更好看。

**衬线(正文长阅读 / 文艺感)**:
```css
font-family: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
```

### 4. 标点:全角还是半角

| 场景 | 用法 |
|------|------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography@sha256:4921354464bf33e5

The line at the top of this page pins the label git:20260812.8dc2f6e, 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_aeab5igwdzpvnzqb.svg)](https://markdownregistry.com/a/art_aeab5igwdzpvnzqb)

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

Versions

The registry has recorded 2 versions of this file, between Aug 5, 2026 and Aug 12, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260812.8dc2f6e latest2026-08-12 8dc2f6e 6,862 BA view · diff
git:20260805.c83bf502026-08-05 c83bf50 6,764 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6862 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

sanhuang520-ship-it/awesome-chinese-ai-tools · 11 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_aeab5igwdzpvnzqb
GET https://markdownregistry.com/api/v1/resolve?ref=sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography
GET https://markdownregistry.com/api/v1/blob/4921354464bf33e54dc33430f513b9b52fca7e89489c2874fccc1605b4717caf

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sanhuang520-ship-it/awesome-chinese-ai-tools

DESIGN.md DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · DESIGN.md
git:20260812.f828705 · audit A · 11 stars
llms.txt llms.txt file
sanhuang520-ship-it/awesome-chinese-ai-tools · llms.txt
git:20260914.683ae36 · audit A · 11 stars
ai-learning-coach SKILL.md skill
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/ai-learning-coach/SKILL.md · 用 AI 系统学习任何东西的教练。当用户要"学 XX""怎么入门""帮我制定学习计划""我想搞懂 XX""考证/备考""复习"时使用。不是直接讲答案,而是带着走完整的学习循环:定目标→输入→主动回忆→输出→纠错→间隔复习→项目交付。
git:20260812.8dc2f6e · audit A · 11 stars
book-digest-cn SKILL.md skill
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/book-digest-cn/SKILL.md · 中文拆书与读书笔记助手。当用户要"拆书""读书笔记""这本书讲什么""帮我读这本书""做读书卡片""写书评""整理一本书的框架"时使用。重点是把书变成能用的东西,不是复述目录。
git:20260812.8dc2f6e · audit A · 11 stars
bookkeeping-cn SKILL.md skill
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/bookkeeping-cn/SKILL.md · 中文记账与账目整理助手。当用户要"记账""整理流水""做收支表""对账""分类消费""做预算""看看钱花哪了"时使用。只做数据整理与呈现,不提供税务筹划或投资建议。
git:20260812.8dc2f6e · audit A · 11 stars
chinese-design-md SKILL.md skill
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/SKILL.md · 中式 DESIGN.md 设计系统。当用户要"中国风网页""国风页面""中式设计系统""给项目定个中式风格""DESIGN.md""让 AI 按设计规范生成界面""中文网页排版规范"时使用。提供 8 套可直接丢进项目根目录的…
git:20260812.8dc2f6e · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/azurite DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/azurite/DESIGN.md · 石青与石绿的矿物色,取自《千里江山图》的色彩体系。装饰性强,适合文旅、展览、需要「贵气」的场景。 Azurite and malachite mineral pigments, drawn from the color system of…
v1 · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/bamboo DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/bamboo/DESIGN.md · 竹青与素白,清爽。适合健康、教育、环保、任何想显得「干净有生气」的场景。 Bamboo green and plain white. Fresh and clean.
v1 · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/dunhuang DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/dunhuang/DESIGN.md · 土红、石青、土黄,带斑驳的壁画质感。最有故事感的一套,适合文化 IP、展览、叙事型页面。 Earthy ochre, azurite and clay yellow with weathered mural texture. The…
v1 · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/ink DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/ink/DESIGN.md · 宣纸的米白、墨的层次、大量留白。最克制的一套,适合长文阅读、文化类内容、需要「安静」的界面。 Rice-paper off-white, graded ink tones, generous emptiness. The most…
v1 · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/neo DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/neo/DESIGN.md · 木色与暖灰,低饱和,线条简洁。最百搭的一套,适合家居、生活方式、品牌官网。 Wood tones and warm greys, low saturation, clean lines. The most versatile set.
v1 · audit A · 11 stars
DESIGN.md@skills/chinese-design-md/design-md/night DESIGN.md file
sanhuang520-ship-it/awesome-chinese-ai-tools · skills/chinese-design-md/design-md/night/DESIGN.md · 深色底配暖金,唯一一套深色主题。适合影音、夜间模式、高端活动、需要「戏剧感」的页面。 Dark ground with warm gold — the only dark theme in this set. Cinematic and…
v1 · audit A · 11 stars

Every file in sanhuang520-ship-it/awesome-chinese-ai-tools

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