Back to skills
SKILL.md
Ui Typography Specialist
ASecurityArchitects and governs typographic hierarchies, fluid type scales, optical line lengths (45ch <= W <= 75ch), line-height proportional ratios, font loading optimization, and tabular numerical alignment. Enforces 'text-wrap: balance' on headings, eliminates orphan words, and prevents typographic cognitive fatigue.
- 7 stars
- 0 votes
- 0 copies
- 3 views
- Added November 9, 2026
Security analysis
100/100npx -y skills add Harmitx7/tribunal-kit --skill ui-typography-specialist --agent claude-codeAre you the author of Ui Typography Specialist?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-ui-typography-specialist)---
name: ui-typography-specialist
description: "Architects and governs typographic hierarchies, fluid type scales, optical line lengths (45ch <= W <= 75ch), line-height proportional ratios, font loading optimization, and tabular numerical alignment. Enforces 'text-wrap: balance' on headings, eliminates orphan words, and prevents typographic cognitive fatigue."
version: 1.0.0
last-updated: 2026-10-30
skills:
- better-typography
- typeset
- better-ui
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
- .agent/scripts/lint_runner.js
- .agent/scripts/verify_all.js
inputs:
typographyConfig: 'object'
contentSamples: 'array'
outputs:
typeScaleCss: 'string'
readabilityReport: 'object'
lineLengthAudit: 'object'
trigger:
- 'typography-specialist'
- 'type-scale'
- 'font-engineering'
- 'line-length-audit'
---
# UI Typography Specialist — Fluid Scales & Reading Ergonomics
## Mandatory Pre-Flight Context Inspection
Before modifying or validating typography in components, inspect these 5 critical parameters:
1. **Reading Measure Invariant**: Enforce maximum line length between 45 and 75 characters (`max-w-[65ch]`) on prose and body text to prevent visual scanning fatigue.
2. **Proportional Line-Height**: Apply inverse scaling to line-height: tight line-heights on display headings (`leading-[1.1]`), comfortable line-heights on body text (`leading-[1.6]`).
3. **Tabular Numerals on Data**: Enforce `font-mono tabular-nums` on all metrics, counters, currency values, and table cells to guarantee column alignment without jitter.
4. **Heading Balance & Widows**: Apply `text-wrap: balance` to page and card titles to prevent ugly single-word dangling orphans (widows).
5. **Fluid Modular Scale**: Utilize mathematical modular type scales (e.g. Major Second 1.125 for dense apps, Major Third 1.25 for editorial) calculated via CSS `clamp()`.
## Activation Boundaries
- **Activate when:** Establishing font scales, adjusting line heights, fixing awkward word wrapping, styling data-heavy dashboards, or auditing reading ergonomics.
- **DO NOT activate when:** Tuning server database latency or configuring CI/CD deploy pipelines.
## 🔁 Multi-Pass Typography Protocol
| Pass | Phase | Core Action | Observable Target |
| :--------- | :--------------------------- | :----------------------------------------------------------------------------- | :----------------------- |
| **Pass 1** | **Type Scale Formulation** | Define 8-step modular scale (caption, body-sm, body, h4, h3, h2, h1, display). | Modular Scale Tokens |
| **Pass 2** | **Fluid Clamp Generation** | Calculate responsive clamp curves using `generateFluidClamp()`. | Fluid Type Scale CSS |
| **Pass 3** | **Measure & Wrapping Audit** | Apply `max-w-[65ch]` to paragraphs and `text-wrap: balance` to headings. | Balanced Reading Measure |
| **Pass 4** | **Tabular Alignment Pass** | Audit data tables and statistics cards for `tabular-nums` class binding. | Jitter-Free Numerals |
| **Pass 5** | **Contrast & Verification** | Verify body text achieves $\Delta L \ge 0.45$ against container backgrounds. | Certified Typography |
---
## 🛠️ Technical Architecture & Typography Recipes
### 1. Optical Line-Length & Heading Balance Recipe
```html
<!-- Ergonomically balanced typography block -->
<section className="flex flex-col gap-3 max-w-[65ch]">
<h2
className="text-2xl font-bold tracking-tight text-[var(--text-primary)] leading-[1.2] [text-wrap:balance]"
>
Autonomous Reliability Engineering for High-Throughput Distributed Microservices
</h2>
<p className="text-sm font-normal text-[var(--text-muted)] leading-[1.6]">
Tribunal-Kit establishes authoritative behavioral invariant verification, eliminating
non-deterministic model hallucinations before production deployment.
</p>
</section>
```
### 2. Tabular Numeral Alignment in Financial / Data Tables
```html
<td className="px-4 py-2 font-mono text-xs tabular-nums text-right text-[var(--text-primary)]">
$14,290.50
</td>
```
---
## 🏛️ Tribunal Verification & Guardrails
### 🛑 Verification-Before-Completion (VBC) Protocol
1. Verify paragraph blocks use `max-w-[45ch]` to `max-w-[75ch]` constraints.
2. Confirm all numerical table cells and metrics feature `tabular-nums`.
3. Validate all major heading elements utilize `text-wrap: balance`.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.