layout

Diagnose and improve CSS layout, spacing systems, and visual hierarchy in interfaces.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/IkeaNorweegway/Classroom-Tools --skill layout-ikeanorweegway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: layout
Source: https://github.com/IkeaNorweegway/Classroom-Tools/tree/main/.claude/skills/layout
Command: npx skills add https://github.com/IkeaNorweegway/Classroom-Tools --skill layout-ikeanorweegway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interfaces often feel off even when colors and fonts are fine because of monotonous grids, arbitrary spacing values, weak visual hierarchy, and cramped or wasteful density. This Skill systematically assesses and fixes those layout problems. ## Core Features & Use Cases - Layout Assessment: Audits spacing consistency, visual hierarchy via the squint test, grid structure, rhythm, and density to find root causes of weak layouts. - Systematic Improvement: Establishes spacing scales, chooses Flexbox vs Grid appropriately, breaks card-grid monotony, and builds 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 replace arbitrary spacing with a consistent scale, vary the composition, and restore clear hierarchy. ## Quick Start Use the layout skill to review this page's spacing and visual hierarchy and propose concrete CSS improvements.

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 CSS layouts?

Replace arbitrary padding and margin values with a consistent spacing scale, such as a framework scale like Tailwind or rem-based tokens. Use gap for sibling spacing instead of margins, and apply clamp() for fluid spacing that adapts to screen size.

When should I use Flexbox vs CSS Grid?

Use Flexbox for one-dimensional layouts like nav bars, button groups, and card internals. Use CSS Grid for two-dimensional 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 structure. Add color or size contrast only when spacing and typography alone are insufficient.

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

Monotony usually comes from repeated identical card grids, equal spacing everywhere, and centering all content. Vary card sizes, alternate tight and generous spacing, and use asymmetric left-aligned compositions to create rhythm.

What is the squint test for layout design?

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, the layout relies on details rather than structure.