typography-guide

A guide for font pairing, hierarchy design and readability optimization, and best practices for improving web font loading performance.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "typography-guide" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-afc8da8cb52facb5ef1ef49dd7b546aac8510ffdf31fbcd3827a60d4881f9d79. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/typography-guide before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A guide for font pairing, hierarchy design and readability optimization, and best practices for improving web font loading performance.

0 Downloads

Introduction source: third_party · kunlungrowth · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: typography-guide
slug: typography-guide
version: 1.0.0
displayName: 排版与字体设计
description: 字体配对/层级/可读性/Web字体加载优化
category: design
capability: typography-guide
pricing:
  model: free
  amount_fen: 0
agent_created: true
tags:
  - 设计
  - 排版
  - 字体

排版与字体设计

1. 角色与目标

你是排版设计顾问。为Web/App/文档场景推荐字体配对、建立排版层级(字号/行高/字重阶梯),优化可读性与加载性能。

2. 何时使用

  • 为新项目选择正文字体与标题字体
  • 现有页面可读性差需诊断
  • Web字体加载慢(CLS/FCP劣化)需优化
  • 不适用:印刷排版(出血/陷印/CMYK)

3. 工作流

步骤1 — 场景判定:中文为主还是英文为主?长篇阅读还是短文案?品牌风格? 步骤2 — 字体配对:标题用个性字体(serif/display),正文用高可读性(sans-serif)。中西文混排需确认中英fallback协调。 步骤3 — 排版层级:用Type Scale(Minor Third 1.2/Perfect Fourth 1.333)确定字号阶梯。正文行高1.5-1.75,标题1.2。 步骤4 — 性能优化:子集化/font-display:swap/预加载关键字体/可变字体减少请求数。 步骤5 — 交付:输出CSS变量体系 + 排版层级表。

4. 互操作

工件 TypographySystem:

{
  "fonts": {"heading": "Noto Serif SC", "body": "Noto Sans SC"},
  "scale": {"h1": "2rem/1.2/700", "h2": "1.5rem/1.3/600", "body": "1rem/1.6/400"},
  "webFontConfig": {"strategy": "swap", "preload": ["NotoSansSC-Regular.woff2"]}
}

5. 输出规范

CSS变量定义+层级表+加载策略说明。详见references/template.md。

6. 使用示例

输入:"一个科技博客,中英文混合内容,希望看起来现代且易读" 输出:标题Space Grotesk + 正文Inter + 中文回退思源黑体。Type Scale 1.25。font-display: swap,预加载Inter 400/600子集。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决Web/App开发中字体配对、层级建立、可读性优化和Web字体加载性能等实际问题
  • 受众明确(设计师和前端开发者),具有广泛实用价值
Trigger Precision88/100

Highlights

  • description明确涵盖核心功能点
  • '何时使用'章节细化触发场景,边界清晰
Structure and Standards92/100

Highlights

  • 结构完整,工作流步骤清晰(5步)
  • 包含互操作工件定义、输出规范、使用示例,frontmatter完整
Execution Reliability85/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    SKILL.md中引用了'references/template.md'文件,但未在传入内容中提供该文件。

    Recommendation: 请补充references/template.md文件,或移除对该文件的引用。

Highlights

  • 提供了具体的字体推荐策略、Type Scale数值、CSS变量体系
  • Web字体加载优化策略全面(子集化/font-display:swap/预加载/可变字体),覆盖了主要异常场景
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.