Layout Overflow Guard

Mechanically detect text overlap, overflow, truncation, and horizontal page scroll in any HTML page or web artifact — before shipping it. Purely geometric: renders headlessly and measures tight glyph-level bounding boxes from Range.getClientRects(), then flags text-vs-text collisions, clipped/ ellipsis-truncated elements, text escaping its container, and body horizontal scroll. No LLM, no vision. Use whenever you produce or edit a UI, Artifact, HTML page, dashboard, chart, or component, and ALWAYS before declaring visual work done. Triggers: "overflow", "truncation", "text overlap", "clipped", "collision", "check layout", "does the UI fit", "before I ship this page".

curiositech Updated 271 repo stars

File contents

curiositech/port-daddy commit 31de7ec1d6

Frequently asked questions

npx get-skill add curiositech/layout-overflow-guard