alignment

Enforce shared alignment axes across UI elements and responsive breakpoints.

6|3|Updated May 3, 2026
One-click install
npx skills add https://github.com/HDeibler/universal-design-principles --skill alignment-hdeibler
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alignment
Source: https://github.com/HDeibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/alignment
Command: npx skills add https://github.com/HDeibler/universal-design-principles --skill alignment-hdeibler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Alignment prevents your UI or design from feeling “off” by ensuring elements share common axes (edges, centers, baselines) so the eye reads the page as an intentional system.

Core Features & Use Cases

  • Establish shared alignment axes across related elements in layouts, forms, tables, headers, and cards to reduce visual drift.
  • Choose the right alignment for content types (e.g., left/center decisions for text, right alignment with tabular numerals for numbers, baseline alignment for type).
  • Use grids and optical tweaks so mathematically-correct alignment also looks visually correct for curved or pointed elements.

Quick Start

Use the alignment skill when you notice a layout, form, or table looks “disorderly,” and ask it to identify which edges or baselines should share an axis and what specific alignment choices to apply.

Frequently Asked Questions about alignment

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

FAQPage Schema
Why does my UI layout feel disorderly even when elements are mathematically aligned?▼

UI layout feels disorderly when elements lack shared alignment axes or ignore optical adjustments. Mathematically correct alignment can still look visually off for curved or pointed elements, requiring optical tweaks to ensure the eye reads the page as an intentional system.

How do I fix visual drift across multiple elements in forms and data tables?▼

Fix visual drift in forms and data tables by mapping candidate alignment axes like edges, centers, and baselines. Select content-appropriate alignment rules, such as right alignment with tabular numerals for numbers, to enforce shared axes across elements.

What's the best way to choose alignment rules for different content types?▼

Choose alignment rules based on content type: left alignment for body text, center alignment for headers, right alignment with tabular numerals for numbers, and baseline alignment for typography. This ensures content-appropriate visual hierarchy and reduces misalignment.

Can I use grid systems to audit alignment across responsive breakpoints?▼

Yes, grid systems can audit alignment across responsive breakpoints. The process involves mapping candidate grid lines and selecting content-appropriate alignment rules to flag common anti-patterns like centered body text and micro-misalignment at each breakpoint.

What are common alignment anti-patterns I should flag during a layout audit?▼

Common alignment anti-patterns to flag include centered body text, micro-misalignment between related elements, and failure to use tabular numerals for numerical data. These issues prevent elements from sharing common axes and make the layout feel unintentional.

Do I need a specific framework to establish shared alignment axes for cards and headers?▼

No specific framework is required to establish shared alignment axes for cards and headers. The process involves mapping edges, centers, and baselines across related elements, then applying grid systems and optical tweaks to reduce visual drift.