layout

Improves layout, spacing, and visual hierarchy in web interfaces using systematic design principles.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Gito125/gideon_portfolio --skill layout-gito125
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: layout
Source: https://github.com/Gito125/gideon_portfolio/tree/main/.github/skills/layout
Command: npx skills add https://github.com/Gito125/gideon_portfolio --skill layout-gito125

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interfaces often feel off even when colors and fonts are fine — the root cause is usually weak layout: arbitrary spacing values, monotonous card grids, everything centered, and no visual hierarchy. This Skill diagnoses those structural problems and turns generic arrangements into intentional, rhythmic compositions. ## Core Features & Use Cases - Layout Assessment: Audits spacing consistency, visual hierarchy (squint test), grid structure, rhythm, and density to pinpoint what feels wrong. - 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 cards everywhere with random padding values. Invoke this Skill to get a concrete plan: a consistent spacing scale, varied card sizes, tighter grouping of related elements, and generous section separation. ## Quick Start Ask the AI to review and improve the layout and spacing of a specific page or component that feels crowded or monotonous.

Frequently Asked Questions about layout

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

FAQPage Schema
How do I fix a UI layout that feels off or crowded?▼

Start by auditing spacing consistency, hierarchy, and density. Replace arbitrary padding values with a defined spacing scale, group related elements tightly, separate sections generously, and use the squint test to confirm the most important content stands out.

When should I use Flexbox vs CSS Grid for layout?▼

Use Flexbox for one-dimensional layouts like nav bars, button groups, and card internals. Use Grid for two-dimensional page structures and dashboards where rows and columns need coordinated control. Flexbox with flex-wrap is often simpler than Grid.

How do I create visual hierarchy with CSS spacing?▼

Use space and weight before adding color or size contrast. Apply tight spacing (8-12px) within related groups and generous spacing (48-96px) between sections. Whitespace around an element draws the eye and signals importance.

Why does my card grid layout look monotonous?▼

Repeating identical icon-plus-heading-plus-text cards everywhere removes rhythm. Vary card sizes, span columns, mix cards with non-card content, and rely on spacing and alignment for grouping instead of wrapping everything in containers.

What spacing scale should I use in Tailwind or CSS?▼

Any consistent scale works — Tailwind's built-in scale, rem-based tokens, or custom properties like --space-xs through --space-xl. What matters is that all values come from the defined set, never arbitrary numbers, and gap is preferred over margins.