ui-design-principles

Enforce UI design principles for spacing, color, typography, and WCAG 2.1 AA accessibility.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/vincent119/ai-rules-kit --skill ui-design-principles-vincent119
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-design-principles
Source: https://github.com/vincent119/ai-rules-kit/tree/main/skills/ui-design-principles
Command: npx skills add https://github.com/vincent119/ai-rules-kit --skill ui-design-principles-vincent119

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a concise framework of UI design principles to ensure consistent layouts, accessible color schemes, and scalable typography across products.

Core Features & Use Cases

  • Spacing system based on a 4px scale to harmonize component gaps.
  • Color hierarchy and typography guidelines for readability and visual consistency.
  • Responsive breakpoints and WCAG 2.1 AA accessibility guidance for inclusive design.
  • Use Case: standardizing design tokens and UI components across teams.

Quick Start

Audit a screen against the principles and apply spacing, color, typography, and accessibility rules to improve consistency.

Frequently Asked Questions about ui-design-principles

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

FAQPage Schema
What is a 4px spacing system in UI design?

A 4px spacing system is a baseline grid framework that harmonizes component gaps and layout margins. It standardizes UI spacing values to ensure visual consistency and predictable rhythm across product dashboards, forms, and component libraries.

How do I ensure my UI design meets WCAG 2.1 AA accessibility standards?

To meet WCAG 2.1 AA accessibility standards, apply the framework's color hierarchy and typography guidelines. This ensures sufficient contrast ratios and readable text scaling across both Light and Dark modes for inclusive product design.

How do I standardize UI design tokens for dashboards and forms?

Standardize UI design tokens by auditing your screen against defined principles, then applying the 4px spacing scale, color hierarchy, and typography rules. This enforces visual consistency across product UI components like dashboards and forms.

Does this UI design principles framework support responsive breakpoints?

Yes, the UI design principles framework supports responsive breakpoints. It provides specific guidance for applying responsive design rules alongside color and spacing standards to maintain consistent layouts across different screen sizes.

Can I use these UI design principles for both Light and Dark modes?

Yes, you can use these UI design principles for both Light and Dark modes. The framework explicitly defines color hierarchy and accessibility guidelines to ensure WCAG 2.1 AA compliance and readability across both themes.

Why does my UI typography lack visual consistency across components?

Your UI typography lacks consistency because it lacks a scalable typography framework. Applying standardized typography guidelines and design tokens harmonizes text styles, ensuring readable and visually consistent product interfaces.