Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Structures layouts via grouping, alignment, reading order and progressive disclosure, then tests resizing, translation and RTL mirroring.
65% 91%+26 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 15 of 23 without it.
3 of 3 safety checks passed
109 agent runs
Position, spacing and alignment carry hierarchy before a word is read. This skill builds that structure and stress-tests it: resize it, translate it, mirror it for RTL.
Write every fix in the project's styling system. The numbers below are starting points for interfaces with no established density system, and where one applies, use it as written rather than a familiar-looking substitute. Keep deliberate platform chrome, compact professional tools and project tokens where they still pass the stress tests.
Hit areas and focus behavior belong to better-accessibility. Radius, shadows and animation belong to better-ui. Line length and text spacing belong to better-typography.
Space groups first, background shapes second, separator lines last and only where space alone can't carry the structure. The gap between groups must be at least 2× the gap within one (8px intra-group to 16px+ inter-group), or the grouping reads as noise. Alignment edges and importance ordering are in grouping-and-alignment.md.
Give every interactive element a background shape, a border, or a consistent placement zone. A control styled like the static text beside it does not read as a control.
Pick alignment edges and stick to them; every stray edge reads as noise. Use one project spacing step per level of subordination, where 16px is a useful default.
Use logical properties for direction-dependent layout: padding-inline-start, margin-inline-end. Reserve physical left and right for genuinely physical geometry.
The most important content sits near the top and the leading edge. Reading order flows top-to-bottom, leading-to-trailing. Think in leading and trailing, not left and right.
Progressive disclosure needs a visible affordance. Use the project's established cue, or let the next item peek 16–32px past the scroll edge, or show a disclosure control. Content hidden with zero cue may as well not exist.
Without an established density system, start with 12px between adjacent bordered or filled controls and 24px around borderless text- and icon-only ones. Compact layouts may use less, as long as better-accessibility hit areas don't overlap and the controls stay distinct. Layout margins and breakpoint recipes are in spacing-and-adaptivity.md.
In content layouts, keep full-width buttons inside the layout margins with a visible radius, starting near 16px inline on mobile. Edge-to-edge actions work when they follow established platform chrome, account for safe areas and stay distinguishable from system UI.
Preview what this skill puts in front of your model, and check which requests trigger it. No model call, no sign-up.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.