typeset by pbakaus/impeccable
npx skills add https://github.com/pbakaus/impeccable --skill typeset评估并改进那些感觉通用、不一致或结构不佳的排版——将默认外观的文本转变为经过精心设计的字体。
调用 /frontend-design —— 它包含设计原则、反模式以及上下文收集协议。在继续之前请遵循该协议——如果尚不存在设计上下文,则必须先运行 /teach-impeccable。
分析当前排版中哪些地方薄弱或通用:
* 我们是否使用了隐形的默认字体?(Inter、Roboto、Arial、Open Sans、系统默认字体)
* 字体是否符合品牌个性?(一个活泼的品牌不应使用企业风格的字体)
* 字体族是否过多?(超过2-3种几乎总是会造成混乱)
2. 层级结构:
* 能否一眼区分标题、正文和说明文字?
* 字体大小是否过于接近?(14px、15px、16px = 模糊的层级)
* 字重对比是否足够强烈?(Medium 与 Regular 几乎看不出区别)
3. 尺寸与比例:
* 是否存在一致的字体比例,还是尺寸随意设定?
* 正文文本是否满足最低可读性要求?(16px+)
* 尺寸策略是否适合上下文?(应用 UI 使用固定的 `rem` 比例;营销/内容页面的标题使用流体的 `clamp()`)
4. 可读性:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
* 行长是否舒适?(45-75个字符为理想长度)
* 行高是否适合字体和上下文?
* 文本与背景之间的对比度是否足够?
5. 一致性:
* 相同的元素在整个设计中是否以相同的方式设置样式?
* 字重使用是否一致?(同一角色的文本,不要在一个部分用粗体,在另一个部分用半粗体)
* 字间距是经过精心设计的还是处处使用默认值?
关键:目标不是让文本“更花哨”——而是让它更清晰、更易读、更有设计感。好的排版是隐形的;糟糕的排版则令人分心。
请查阅前端设计技能中的排版参考,以获取关于比例、配对和加载策略的详细指导。
制定一个系统性的计划:
如果需要更换字体:
font-display: swap,并匹配后备字体的度量标准)构建清晰的字体比例:
rem 的固定字体比例,可选择在1-2个断点处进行调整。流体尺寸会破坏密集、基于容器的布局所需的空间可预测性clamp(min, preferred, max) 实现流体尺寸。保持正文文本固定ch 单位在文本容器上设置 max-width(max-width: 65ch)tabular-numsletter-spacing:小型大写字母和大写字母略微宽松,大型展示文本使用默认或紧凑间距--text-body、--text-heading),而不是值名称(--font-16)font-kerning: normal,并在适当情况下考虑使用 OpenType 特性切勿:
user-scalable=no)px 作为字体尺寸单位——使用 rem 以尊重用户设置请记住:排版是界面设计的基础——它承载了大部分信息。做好排版是你能做出的最高杠杆率的改进。
每周安装量
13.2K
代码仓库
GitHub 星标数
13.4K
首次出现
10 天前
安全审计
安装于
codex13.1K
opencode13.0K
github-copilot13.0K
gemini-cli13.0K
cursor12.9K
kimi-cli12.9K
Assess and improve typography that feels generic, inconsistent, or poorly structured — turning default-looking text into intentional, well-crafted type.
Invoke /frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no design context exists yet, you MUST run /teach-impeccable first.
Analyze what's weak or generic about the current type:
Font choices :
Hierarchy :
Sizing & scale:
rem scales for app UIs; fluid clamp() for marketing/content page headings)Readability :
Consistency :
CRITICAL : The goal isn't to make text "fancier" — it's to make it clearer, more readable, and more intentional. Good typography is invisible; bad typography is distracting.
Consult the typography reference from the frontend-design skill for detailed guidance on scales, pairing, and loading strategies.
Create a systematic plan:
If fonts need replacing:
font-display: swap, metric-matched fallbacks)Build a clear type scale:
rem-based type scale, optionally adjusted at 1-2 breakpoints. Fluid sizing undermines the spatial predictability that dense, container-based layouts needclamp(min, preferred, max) for headings and display text. Keep body text fixedmax-width on text containers using ch units (max-width: 65ch)tabular-nums for data tables and numbers that should alignletter-spacing: slightly open for small caps and uppercase, default or tight for large display text--text-body, --text-heading), not value names (--font-16)font-kerning: normal and consider OpenType features where appropriateNEVER :
user-scalable=no)px for font sizes — use rem to respect user settingsRemember: Typography is the foundation of interface design — it carries the majority of information. Getting it right is the highest-leverage improvement you can make.
Weekly Installs
13.2K
Repository
GitHub Stars
13.4K
First Seen
10 days ago
Security Audits
Gen Agent Trust HubPassSocketWarnSnykPass
Installed on
codex13.1K
opencode13.0K
github-copilot13.0K
gemini-cli13.0K
cursor12.9K
kimi-cli12.9K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装
SVG Logo Designer - AI 驱动的专业矢量标识设计工具,生成可缩放品牌标识
1,200 周安装