layout

Diagnose UI spacing issues and prescribe layout strategies with Flex or Grid.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/julianromli/dikara-portfolio --skill layout-julianromli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: layout
Source: https://github.com/julianromli/dikara-portfolio/tree/main/.cursor/skills/skills/layout
Command: npx skills add https://github.com/julianromli/dikara-portfolio --skill layout-julianromli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interfaces that feel "off" often suffer from inconsistent spacing, monotonous grids, weak hierarchy, and poor rhythm. This Skill helps diagnose those spatial issues and prescribes concrete layout strategies so pages read clearly, feel intentional, and guide attention effectively.

Core Features & Use Cases

  • Assessment checklist: Evaluate spacing consistency, grid structure, visual hierarchy, rhythm, and density using the squint test and explicit criteria.
  • Actionable plan: Recommend a spacing system, layout tools (Flex vs Grid), responsive spacing rules (clamp), and rhythm decisions to break monotony.
  • Implementation guidance: Advise on token naming, gap usage, elevation/z-index scales, and when to avoid cards or default patterns.
  • Use Case: Turn a repetitive project grid or cramped dashboard into a composed, varied layout by defining a spacing scale, adjusting card spans, and introducing asymmetric compositions.

Quick Start

Use the layout skill to analyze the provided page, list the top 5 layout issues, and propose a spacing system plus specific fixes for hierarchy and responsiveness.

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 and weak visual hierarchy in my UI layout?

Fix UI layout visual hierarchy by diagnosing spatial issues with a squint test, then enforcing a consistent spacing scale and choosing appropriate Flex or Grid structures. This resolves arbitrary spacing and establishes clear, rhythmic page composition.

What is the best way to establish a responsive spacing system for dashboards and marketing pages?

Establish a responsive spacing system by applying fluid spacing rules using clamp, defining explicit spacing tokens, and verifying rhythm to break density monotony. This ensures dashboards and marketing pages adapt cleanly without feeling cramped.

How do I choose between Flex and Grid for component layouts and card grids?

Choose between Flex and Grid by evaluating your layout structure during the assessment checklist, selecting Flex for linear component layouts and Grid for multidimensional card grids to enforce consistent gaps and improve visual hierarchy.

Why does my admin interface layout feel off despite using standard components?

Your admin interface layout feels off due to monotonous grids, repetitive card patterns, and arbitrary gaps. Diagnose these issues using hierarchy validation and apply a varied composition with a defined spacing scale to guide attention effectively.

When should I avoid default card patterns in a project grid layout?

Avoid default card patterns in a project grid layout when the design suffers from monotonous rhythm and weak hierarchy. Introduce asymmetric compositions, adjust card spans, and apply elevation scales to create a more intentional spatial structure.