layout

Assess and improve UI layout, spacing systems, and visual hierarchy in interface designs.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/joaopaulotr/PesquiseMaisHealth --skill layout-joaopaulotr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: layout
Source: https://github.com/joaopaulotr/PesquiseMaisHealth/tree/main/.agents/skills/layout
Command: npx skills add https://github.com/joaopaulotr/PesquiseMaisHealth --skill layout-joaopaulotr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interfaces often feel off due to monotonous grids, arbitrary spacing values, weak visual hierarchy, and crowded or overly sparse layouts, even when colors and fonts are fine. ## Core Features & Use Cases - Layout Assessment: Diagnose spacing consistency, visual hierarchy with the squint test, grid structure, rhythm, and density problems. - Systematic Improvement: Establish spacing scales, choose Flexbox vs Grid appropriately, break card grid monotony, and manage depth with semantic z-index and shadow scales. - Use Case: A dashboard page uses identical icon-plus-heading card grids everywhere with random padding values. Use this Skill to restructure it with a consistent spacing scale, varied section rhythm, and clear hierarchy. ## Quick Start Review the layout of my dashboard page and improve its spacing, hierarchy, and visual rhythm.

Frequently Asked Questions about layout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix inconsistent spacing in my UI layout?

Adopt a consistent spacing scale such as a framework scale like Tailwind, rem-based tokens, or a custom system, and stop using arbitrary values. Use gap for sibling spacing instead of margins and apply clamp() for fluid spacing on larger screens.

When should I use CSS Grid vs Flexbox for layout?

Use Flexbox for 1D layouts like nav bars, button groups, and card internals, and Grid for 2D layouts like page structure and dashboards where rows and columns need coordinated control. Flexbox with flex-wrap is often simpler than Grid.

How do I create visual hierarchy without adding more colors?

Use space and weight first: generous whitespace around an element draws the eye, and tight grouping with generous section separation creates clear groupings. Add color or size contrast only when simpler means are insufficient.

Why does my interface feel monotonous even with good colors and fonts?

Monotony usually comes from identical card grids repeated everywhere, equal spacing with no rhythm, and everything centered. Vary card sizes, alternate tight and generous spacing, and use asymmetric left-aligned compositions.

What is the squint test for visual hierarchy?

The squint test means blurring your view of the page to check whether the most important element, secondary elements, and content groupings are still identifiable. If hierarchy disappears when blurred, spacing and weight need adjustment.