better-layout

Originally fromjakubkrehel/skills
Installation
SKILL.md

Layout that communicates structure

Layout communicates before a single word is read: position, spacing, and alignment carry hierarchy on their own, and generous space beats decoration. A good layout also survives stress: resize it, translate it, mirror it for RTL, and it should still hold together. Apply these principles when building or reviewing UI code, and write every fix in the project's own idiom: the styling system already in use, never a second one alongside it.

Hit-area sizes and focus behavior are covered by the better-accessibility skill; visual polish (radius, shadows, animation) by the better-ui skill; line length and text spacing by the better-typography skill.

Treat the numeric values below as starting points for interfaces without an established density or spacing system. Preserve deliberate platform chrome, compact professional tools, and project tokens when they remain usable under hit-area, zoom, localization, and viewport stress tests.

Quick Reference

Category When to Use
Grouping & Alignment Space vs separators, alignment edges, logical properties, importance ordering
Spacing & Adaptivity Spacing between targets, layout margins, progressive disclosure, full-bleed content, breakpoints, i18n growth
Review Output Format Severity scale, findings table, verification, verdict

Core Principles

1. Group with Space, Not Lines

Installs
42
GitHub Stars
325
First Seen
Aug 15, 2026
better-layout — boraoztunc/skills