# Type Hierarchy

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

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

---


# /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.

