# Forge Type

> Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.

- Skill: `dragoon0x/forge-type` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dragoon0x/forge-type`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dragoon0x/forge-type/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: dragoon0x (https://skillmd.com/u/dragoon0x)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dragoon0x/forge-type

---


# /forge-type — Regenerate Type Scale

Recompute the type scale:

Given base (e.g., 16px) and ratio (e.g., 1.250):
- xs: base / ratio² (rounded)
- sm: base / ratio
- base: base
- md: base × ratio
- lg: base × ratio²
- xl: base × ratio³
- 2xl: base × ratio⁴
- 3xl: base × ratio⁵

Output: CSS custom properties and suggested usage per step.

