Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gui-design-principles

БесплатноБез исполняемых скриптовНе проверен

Comprehensive design principles and best practices for creating beautiful, functional GUI applications including dashboards, web apps, and mobile apps

bejranondaот bejranonda★ 28 звёзд на GitHub6 установок в других каталогах

Об этом скилле

Overview

This skill provides essential design principles, patterns, and guidelines for developing high-quality graphical user interfaces. It encompasses visual design, user experience, accessibility, and modern UI/UX best practices across web, desktop, and mobile platforms.

Design Foundations

Core Design Principles

Visual Hierarchy

  • Establish clear information hierarchy with size, weight, and spacing
  • Use contrast to guide attention to important elements
  • Implement progressive disclosure for complex interfaces
  • Follow the "F-Pattern" and "Z-Pattern" for natural eye movement

Color Theory

  • Use limited color palettes (3-5 primary colors maximum)
  • Ensure sufficient contrast ratios (WCAG AA: 4.5:1, AAA: 7:1)
  • Implement consistent color meanings across the interface
  • Use color purposefully for branding, actions, and feedback

Typography

  • Choose readable fonts optimized for screens
  • Establish clear type scale (h1-h6, body, small, caption)
  • Maintain consistent line spacing (1.4-1.6 for body text)
  • Limit font families to 2-3 maximum for consistency

Spacing & Layout

  • Use consistent spacing units (4px, 8px, 16px grid system)
  • Implement proper visual rhythm with consistent margins/padding
  • Ensure adequate touch targets (44px minimum for mobile)
  • Use white space strategically to reduce cognitive load

Responsive Design Principles

Mobile-First Approach

  • Design for smallest screen first, then enhance for larger screens
  • Use flexible grids and layouts that adapt to screen size
  • Optimize touch interactions for mobile devices
  • Consider content prioritization for different screen sizes

Breakpoint Strategy

  • Mobile: 320px - 768px
  • Tablet: 768px - 1024px
  • Desktop: 1024px - 1440px
  • Large Desktop: 1440px+

Flexible Components

  • Use relative units (%, rem, em, vh, vw)
  • Implement fluid typography with clamp() function
  • Create adaptive layouts with CSS Grid and Flexbox
  • Design components that work across all screen sizes

UI Component Design

Button Design

  • Primary Actions: High contrast, clear call-to-action
  • Secondary Actions: Subtle styling, less emphasis
  • Danger Actions: Red color scheme, clear warnings
  • Disabled States: Clear visual feedback, reduced opacity
  • Loading States: Progress indicators, disabled during action

Form Design

  • Input Fields: Clear labels, helpful placeholders, validation states
  • Error Handling: Inline error messages, clear error indicators
  • Success States: Confirmation messages, positive feedback
  • Accessibility: Proper labels, ARIA attributes, keyboard navigation

Navigation Design

  • Consistent Placement: Same location across all pages
  • Clear Labels: Descriptive, concise navigation labels
  • Visual States: Active, hover, and visited states
  • Breadcrumb Navigation: For hierarchical content

Card & Container Design

  • Consistent Spacing: Uniform padding and margins
  • Visual Separation: Borders, shadows, or background colors
  • Content Hierarchy: Clear title, subtitle, body structure
  • Interactive Elements: Hover states and transitions

Modern Design Systems

Design Tokens

/* Color Tokens */
--color-primary: #3b82f6;
--color-secondary: #64748b;
--color-success: #10b981;
--color-warning: #f59e0b;
--color-danger: #ef4444;
--color-background: #ffffff;
--color-surface: #f8fafc;
--color-text: #1e293b;
--color-text-muted: #64748b;

/* Spacing Tokens */
--space-xs: 4px;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 24px;
--space-xl: 32px;
--space-2xl: 48px;

/* Typography Tokens */
--font-size-xs: 12px;
--font-size-sm: 14px;
--font-size-base: 16px;
--font-size-lg: 18px;
--font-size-xl: 20px;
--font-size-2xl: 24px;
--font-size-3xl: 30px;

/* Shadow Tokens */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

Component Library Structure

  • Base Components: Button, Input, Card, Modal
  • Layout Components: Grid, Container, Sidebar, Header
  • Navigation Components: Menu, Breadcrumb, Tabs, Pagination
  • Feedback Components: Alert, Toast, Spinner, Progress
  • Data Display: Table, List, Badge, Avatar

Dashboard Design Best Practices

Data Visualization

  • Chart Selection: Choose appropriate chart types for data
    • Line charts: Trends over time
    • Bar charts: Comparisons between categories
    • Pie charts: Parts of a whole (max 5-7 segments)
    • Scatter plots: Correlations and distributions
  • Color Usage: Use color consistently and meaningfully
  • Accessibility: Provide patterns and textures in addition to color
  • Interactivity: Tooltips, zoom, filter capabilities

Layout Patterns

  • Header: Clear title, key metrics, primary actions
  • Sidebar: Navigation, filters, secondary information
  • Main Content: Primary data visualization and insights
  • Footer: Summary, export options, help links

Real

Полный SKILL.md на GitHub

Установить gui-design-principles в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл gui-design-principles?

Comprehensive design principles and best practices for creating beautiful, functional GUI applications including dashboards, web apps, and mobile apps

Как установить скилл gui-design-principles?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gui-design-principles запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gui-design-principles с