
Description
better-layout is an agent skill for checking and fixing the layout of a user interface. It covers grouping, alignment, reading order, and responsive structure, and it tests a layout by resizing it, translating its text and mirroring it for right-to-left languages, to find where it breaks. Its main rules are to group related items with space rather than dividing lines, keep the gap between groups at least twice the gap inside a group, give every interactive control a background shape, border, underline or consistent placement so it does not look like static text, and align everything to a small set of shared edges. The skill says fixes must be written in the project's own spacing and styling system, and it treats the starting values as defaults only where no system exists. It also says a finding needs a failure you can show, such as a clipped element, an overlap or a broken mirror. Hit areas, radius, animation, line length and wording are left to companion skills. Install it with npx skills add https://github.com/jakubkrehel/skills --skill better-layout. The skills.sh listing shows that Gen Agent Trust Hub, Socket and Snyk all passed.…
Highlights
- Groups with space instead of separator lines
- Keeps controls distinct from static content
- Stress tests by resizing, translating and mirroring
- Aligns to shared edges and spacing steps
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate better-layout.
People also visit
better-layout FAQ
What does better-layout check?
Grouping, alignment, reading order, responsive structure and room for translated text, so a layout still works when it is resized or translated.
How do I install it?
Run npx skills add https://github.com/jakubkrehel/skills --skill better-layout.
How big should the gap between groups be?
At least twice the gap within a group, so 8px inside a group means 16px or more between groups.
How are controls made clear?
Give each interactive element a background shape, a border, an underline or a consistent placement zone such as a toolbar.
Does it test right-to-left layouts?
Yes. It mirrors the layout for RTL to find broken mirrors and misread groups.
Which topics are left to other skills?
Hit areas and focus go to better-accessibility, radius, shadows and animation to better-ui, and typography to better-typography.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best better-layout alternatives?
Popular alternatives to better-layout include arrange, layout and make-interfaces-feel-better. See all better-layout alternatives














