gnurio/refactoring-ui-plugin/02-apply-typography-scale
Claude Code and agent skill by gnurio/refactoring-ui-plugin
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Create clear typographic hierarchy using hand-crafted font sizes, weights, and colors
Install
npx vskill@latest install gnurio/refactoring-ui-plugin/02-apply-typography-scaleSKILL.md
The same SKILL.md was published earlier as gnurio/refactoring-ui-plugin/02-apply-typography-scale.
Skill: Apply Typography Scale
Purpose
Create clear typographic hierarchy using a hand-crafted set of font sizes, weights, and colors.
Core Rules
- Hand-crafted, not mathematical — Avoid modular scales with fractional pixels
- Use px or rem, never em — Prevents compounding issues
- Minimum 25% jumps — 16px → 20px (25%), not 16px → 18px (12.5%)
- Two weights only — 400/500 normal, 600/700 bold
- Never < 400 for UI — Too hard to read at small sizes
Recommended Scales
Marketing Page
Application/Dense UI
Line-Height Rules
Inverse proportion to size:
- Small text (12-14px): 1.6-1.7 (needs help finding next line)
- Body text (16px): 1.5-1.6
- Large headlines (30px+): 1-1.2 (needs less help)
Line Length
- Optimal: 45-75 characters per line
- Max-width: 20-35em for paragraphs
- Wide paragraphs: Increase line-height to 1.8-2.0
Decision Criteria
PASS
- Scale uses a small set of intentional sizes with clear jumps between roles
- Type hierarchy combines size, weight, line-height, and color
- Body text remains readable across marketing, app, and content contexts
- Line length and line-height fit the reading context
FAIL
- Scale relies on tiny increments that do not create hierarchy
- Font weights are too light for UI text
- Long-form text lines are too wide or cramped
emsizing compounds unpredictably in nested elements
Common Failure Modes
| Failure | Example | Fix | |
|---|---|---|---|
| Em units | 1.25em parent, 0.875em child = 17.5px | Use px or rem | |
| Micro-steps | 16px, 18px, 20px | 16px, 20px, 28px | |
| Weight 300 | Light body text | Minimum 400 | |
| Long lines | 100+ characters | Constrain to 35em | |
| Uniform line-height | 1.5 for all | Vary by size |
Examples
See examples/typography-scale/ for scale implementations.
References
references/hand-crafted-scales.mdreferences/avoid-em-units.mdreferences/line-height-proportion.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/02-apply-typography-scale/SKILL.md
Popularity
- Repository stars
- 433
- Repository forks
- 16
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gnurio/refactoring-ui-plugin/02-apply-typography-scale)