ui-spacing-and-cushioning

Normalize UI spacing by inferring project scales and aligning padding, margins, and gaps.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/tippyentertainment/skills --skill ui-spacing-and-cushioning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-spacing-and-cushioning
Source: https://github.com/tippyentertainment/skills/tree/main/skills/ui-spacing-and-cushioning
Command: npx skills add https://github.com/tippyentertainment/skills --skill ui-spacing-and-cushioning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Normalize spacing, padding, and whitespace across web UI while preserving visual hierarchy and aesthetics. Detects each project’s spacing patterns or tokens, cleans up ad‑hoc gaps, and fixes cramped vs. blown‑out sections across frameworks (React, Next.js, Vue, Svelte, plain HTML/CSS, Tailwind, shadcn/ui, MUI, Chakra, etc.).

Core Features & Use Cases

  • Infer and align to the project’s spacing system (tokens, scales, or patterns).
  • Remove inconsistent padding, margins, and gaps that cause cramped or blown‑out layouts.
  • Fix misaligned elements and uneven “cushioning” between related UI blocks.
  • Preserve or improve visual hierarchy and readability while cleaning whitespace.
  • Keep the site aesthetically pleasing and on‑brand, not just mechanically uniform.

Quick Start

Scan the project for spacing inconsistencies and apply project-aligned padding and margins.

Frequently Asked Questions about ui-spacing-and-cushioning

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

FAQPage Schema
How do I normalize inconsistent CSS padding and margins across my React project?

To normalize inconsistent CSS padding and margins across a React project, you can scan the codebase to infer the existing design tokens or spacing scale. The tool then aligns all ad-hoc gaps and uneven cushioning to that project-specific scale while preserving visual hierarchy.

Does this spacing normalizer work with Tailwind and Vue components?

Yes, this spacing normalizer works with Tailwind and Vue components, alongside Next.js, Svelte, Solid, Astro, and plain HTML/CSS. It detects each framework's specific spacing patterns and cleans up cramped or blown-out layouts without breaking existing design systems.

What's the best way to fix cramped UI dashboard layouts without breaking accessibility?

The best way to fix cramped UI dashboard layouts without breaking accessibility is to align padding, margins, and gaps to an inferred design scale. This enforces visual hierarchy and whitespace consistency while explicitly avoiding semantic or accessibility changes to the codebase.

How does the tool handle spacing in projects with existing design tokens?

When handling spacing in projects with existing design tokens, the tool infers and respects the established spacing system. It aligns ad-hoc gaps and uneven cushioning between UI blocks to those tokens, ensuring the site remains aesthetically pleasing and on-brand rather than mechanically uniform.

Can I clean up misaligned form spacing in a Svelte codebase automatically?

Yes, you can clean up misaligned form spacing in a Svelte codebase automatically. The tool scans for inconsistent padding and margins across forms and grids, aligning the whitespace to the project's inferred spacing scale to improve readability and visual hierarchy.