chinese-typography

chinese-typography is a skill for Claude Code, Codex from sanhuang520-ship-it/awesome-chinese-ai-tools. It costs 94 tokens per session (2,163 once invoked), scanned A, original, MIT.

A Chinese typography guide for websites, articles, social-media posts, PDFs, Word documents, and presentations. It explains spacing, fonts, line height, punctuation, and line breaking for Chinese text.

In plain words
What is it for?
Use it to choose Chinese font stacks, write CSS, improve mixed Chinese-English text, set readable line spacing, and format Chinese content across different document types.
Why use it?
It helps fix common problems such as cramped lines, poor Chinese-English spacing, unsuitable fonts, and awkward breaks caused by applying Western layout rules to Chinese text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose Chinese font stacks, write CSS, improve mixed Chinese-English text, set readable line spacing, and format Chinese content across different document types.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sanhuang520-ship-it/awesome-chinese-ai-tools --skill chinese-typography
Clone the repo
git clone --depth 1 https://github.com/sanhuang520-ship-it/awesome-chinese-ai-tools

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chinese-typography

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography/github.svg)](https://agentmods.dev/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography)
Your own site
<a href="https://agentmods.dev/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography"><img src="https://agentmods.dev/badge/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chinese-typography

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography"><img src="https://agentmods.dev/badge/skills/sanhuang520-ship-it/awesome-chinese-ai-tools/chinese-typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.02163
Opus 5 $0.00047 $0.01081
Sonnet 5 $0.00019 $0.00433
Haiku 4.5 $0.00009 $0.00216

Measured 12d ago against content hash 4921354464bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

chinese-typography scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/chinese-typography/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

中文排版助手

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

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

什么时候用

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

第一步:确认载体

不同载体规则差别大:

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

中文排版的 10 条核心规则

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

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

数字同理3 个苹果iPhone 15 Pro

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

2. 行高要比西文大

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

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

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

3. 字体栈要写对

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,混排更好看。

衬线(正文长阅读 / 文艺感)

font-family: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;

4. 标点:全角还是半角

场景 用法
中文句子 全角:,。?!:;""''
英文句子 半角:, . ? ! : ; " '
中文句中的英文 英文内部用半角,句子结束用全角句号

括号:中文内容用全角(),英文内容用半角 ()

省略号:中文用 ……(六点),不是 ...

破折号:中文用 ——(两个),不是 --

5. 引号

  • 简体大陆规范:""''
  • 港台 / 文艺排版:「」『』

统一即可,不要混用。

6. CJK 断行控制

word-break: normal;        /* 不要用 break-all,会把英文单词拦腰截断 */
overflow-wrap: anywhere;   /* 超长 URL 才需要 */
line-break: strict;        /* 严格避头尾(标点不出现在行首)*/

避头尾规则。,、;:?!)》」 不能出现在行首;(《「 不能出现在行尾。

7. 段落:缩进还是间距

载体 推荐
网页 段间距margin-bottom: 1.5em),不缩进
印刷 / Word / PDF 首行缩进 2 字符text-indent: 2em

⚠️ 不要同时用——又缩进又空行是排版新手最常见的错误。

8. 着重强调

中文不用下划线,也慎用斜体(中文没有真正的斜体,会被拉斜变形)。

/* 着重号(中文传统做法)*/
em {
  font-style: normal;
  text-emphasis: dot;
  text-emphasis-position: under right;
}

Read the full file on GitHub · 215 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 215 lines · 94 tokens per session scan A 4921354464bf

Subscribe to this mod's changes

chinese-typography is a skill published in the GitHub repository sanhuang520-ship-it/awesome-chinese-ai-tools (10 stars, last pushed 8d ago), licensed MIT. It adds 94 tokens to every session and 2,163 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build landing pages, websites, dashboards, web components, or any frontend UI. Generates creative, polished code that avoids generic AI aesthetics.

tobihagemann/turbo · 48 tokens

prototype

Build a self-contained local prototype at .turbo/prototypes/ .html, drive it, and hand it to the user to settle unknowns that prose cannot answer. Use when the user asks to "prototype this", "build a prototype", "mock this up", "show me what it would look like", "let me try the interaction first", or when a decision…

tobihagemann/turbo · 88 tokens

user-experience

Apply a UX lens to a user-facing change: whether it serves the user's real goal and whether the path through it holds together, using the Understanding, Bridging, and Flowing contexts. Use when scoping, planning, or assessing any change that affects what a user sees or does. Loaded as a lens during planning and…

tobihagemann/turbo · 71 tokens

flowchart-creator

Create HTML flowcharts and process diagrams with decision trees, color-coded stages, arrows, and swimlanes. Use when users request flowcharts, process diagrams, workflow visualizations, or decision trees.

mhattingpete/claude-skills-marketplace · 45 tokens

global-toolbar-controls

Quick global settings — currency, language, region, units — belong in a persistent, low-profile location such as a header toolbar or footer. These controls are frequent but not primary, so they use small typography and stay out of the main content hierarchy. Use when designing global selectors, locale switchers, or…

dembrandt/dembrandt-skills · 75 tokens