audit-typography

📁 dthompson-jti/safety-check-app-concept 📅 Today
1
总安装量
1
周安装量
#76847
全站排名
安装命令
npx skills add https://github.com/dthompson-jti/safety-check-app-concept --skill audit-typography

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

Audit Typography

Review typography consistency and usability.

When to Use

  • After adding new text elements
  • Checking readability
  • Ensuring token adherence

Approach

Step 1: Project Invariants (Required)

Before auditing, check docs/knowledge-base/ for project-specific constraints:

  • SPEC-CSS.md — typography token mandates
  • RULES-UI.md — typography rules (e.g., weight limits, font prohibitions)
  • Flag any violation of documented invariants as Critical priority.

Step 2: Focus Areas

  • Font Sizes: Consistent use of var(--font-size-*) tokens
  • Font Weights: Appropriate use of var(--font-weight-*) tokens
  • Line Height: Readable line heights
  • Hierarchy: Clear visual hierarchy (H1 > H2 > H3 > body)
  • Number Sets: Lining figures for UI, oldstyle for body (if applicable)

Checklist

  • All font sizes use tokens
  • Font weights follow hierarchy guidelines
  • Line heights appropriate for content type
  • Headings have clear visual distinction
  • No hardcoded font values

Output

Findings report with specific file:line citations.