SKILL

better-layout

Sets grouping, alignment, reading order, responsive structure and room for translated text, so a layout holds up when it is resized, translated or mirrored.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original text

Topics in the source

  • Layout
  • Group with space, not lines
  • Keep controls distinct from content
  • Align to shared edges
  • Logical properties for anything that mirrors
  • Order by importance
  • One primary action per view
  • Hint at hidden content

This skill sets grouping, alignment, spacing and responsive structure. It then stress-tests that structure by resizing it, translating it and mirroring it for RTL. Write every fix in the project's styling system. The numbers below apply only where the project has no spacing scale or density system; otherwise use its tokens. A finding needs a failure you can show, such as a clip, an overlap, a broken mirror or a misread group. A value that differs from these starting points is not one. Hit areas and focus behavior belong to better-accessibility. Radius, shadows and animation belong to better-ui. Line length, text spacing and truncation mechanics belong to better-typography. The words themselves belong to better-writing. Space groups first, background shapes second, separator lines last and only where space alone can't carry the structure. The gap between groups is at least 2× the gap within one, so 8px inside a group means 16px or more between groups. Recipes are in grouping-and-alignment.md. Give every interactive element a background shape, a border, an underline or a consistent placement zone such as a toolbar. A control styled like the static text beside it does not read as a co

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
jakubkrehel/skills
Source file
skills/better-layout/SKILL.md
Fixed revision
8b254eb75dadf3615a6abce87aed28e1b6e4d77c
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Jakub Krehel Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T14:00:45.040Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.