Better Layout

Make layouts hold up when resized, translated, or mirrored.

By

Jakub Krehel

Price

Free

Better Layout is an agent skill by Jakub Krehel that sets grouping, alignment, spacing, and responsive structure, then stress tests it by resizing it, translating it, and mirroring it for right-to-left languages.

What it does

  • Groups with space before lines, with at least twice the gap between groups as within one.

  • Puts everything on a small set of shared alignment edges.

  • Writes direction-dependent layout with logical properties, so it mirrors for right-to-left languages.

  • Orders content by importance and keeps one primary action per view.

  • Plans for growth and clipping, like longer translated strings.

When to use it

Reach for it when a layout feels cluttered, or breaks once it's resized, translated, or mirrored.

How to get it

The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. It leaves hit areas to Better Accessibility and radius and shadows to Better UI. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Better Layout

Make layouts hold up when resized, translated, or mirrored.

By

Jakub Krehel

Price

Free

Better Layout is an agent skill by Jakub Krehel that sets grouping, alignment, spacing, and responsive structure, then stress tests it by resizing it, translating it, and mirroring it for right-to-left languages.

What it does

  • Groups with space before lines, with at least twice the gap between groups as within one.

  • Puts everything on a small set of shared alignment edges.

  • Writes direction-dependent layout with logical properties, so it mirrors for right-to-left languages.

  • Orders content by importance and keeps one primary action per view.

  • Plans for growth and clipping, like longer translated strings.

When to use it

Reach for it when a layout feels cluttered, or breaks once it's resized, translated, or mirrored.

How to get it

The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. It leaves hit areas to Better Accessibility and radius and shadows to Better UI. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Better Layout

Make layouts hold up when resized, translated, or mirrored.

By

Jakub Krehel

Price

Free

Better Layout is an agent skill by Jakub Krehel that sets grouping, alignment, spacing, and responsive structure, then stress tests it by resizing it, translating it, and mirroring it for right-to-left languages.

What it does

  • Groups with space before lines, with at least twice the gap between groups as within one.

  • Puts everything on a small set of shared alignment edges.

  • Writes direction-dependent layout with logical properties, so it mirrors for right-to-left languages.

  • Orders content by importance and keeps one primary action per view.

  • Plans for growth and clipping, like longer translated strings.

When to use it

Reach for it when a layout feels cluttered, or breaks once it's resized, translated, or mirrored.

How to get it

The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. It leaves hit areas to Better Accessibility and radius and shadows to Better UI. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.