# Type Hierarchy

> Enforce proper heading and body text hierarchy. Verify h1 > h2 > h3 progression, size ratios, and weight differentiation.

- Skill: `dragoon0x/type-hierarchy-2` (Agent Skill)
- Install (CLI): `npx get-skill add dragoon0x/type-hierarchy-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dragoon0x/type-hierarchy-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dragoon0x (https://skillmd.com/u/dragoon0x)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/dragoon0x/type-hierarchy-2

---


# /type-hierarchy — Type Hierarchy Enforcement

Check the heading hierarchy:
1. Is there exactly one h1?
2. Do heading levels follow order (h1 > h2 > h3, no skipping)?
3. Does each level have a distinct font-size from the type scale?
4. Is there weight differentiation (not all the same weight)?
5. Are heading margins consistent?
6. Is the ratio between levels consistent?

Fix violations by mapping headings to the type scale.

