スキル一覧に戻る
jagreehal

ui-design-principles

by jagreehal

0🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: ui-design-principles description: "Design system principles for distinctive, implementation-ready interfaces. Context before design, show don't tell, every state documented." version: 1.0.0

UI Design Principles

Create distinctive, implementation-ready interfaces.

Core Principle

Design with distinctive identity. Generic Bootstrap-looking interfaces fail to communicate brand or product differentiation.

Critical Rules

RuleEnforcement
Context before designResearch product, users, market first
Show, don't tellVisual artifacts, not written descriptions
Implementation-readyEvery state documented, developers unblocked
Diverse explorationOpposite ends of spectrums, not color variations

Discovery Requirements

Never Skip Discovery

Before designing, answer:

QuestionWhy
What type of product?E-commerce ≠ SaaS ≠ dev tools
Who are the users?Demographics, technical level, accessibility
What's the strategic goal?Trust? Innovation? Speed?
What constraints exist?Brand guidelines, accessibility, technical

Context Research

WRONG - Jump to design
"Here's a login page design with blue buttons"

CORRECT - Context first
Product: Developer tool (CLI companion)
Users: Developers, technical, keyboard-heavy workflows
Competitors: [screenshots with notes on patterns]
Strategic goal: Professional trust, technical credibility
Constraints: WCAG AA, dark mode preference in user research

Based on context, exploring 3 directions...

Visual Direction Exploration

What "Completely Diverse" Means

Explore opposite ends of design spectrums:

SpectrumEnd AEnd B
EraFuturisticRetro
ShapeGeometric/SharpOrganic/Round
ColorVibrant/SaturatedMuted/Desaturated
WeightBold/High contrastElegant/Subtle
DensityMinimal/SparseExpressive/Rich
TonePlayfulSerious
SpacingTight/DenseSpacious/Airy
ModeLightDark

WRONG - Not Diverse

Direction A: Blue accent, rounded corners, light mode
Direction B: Green accent, rounded corners, light mode
Direction C: Purple accent, rounded corners, light mode

Problem: Only varying color.

CORRECT - Completely Diverse

Direction A: Futuristic
- Sharp geometric edges
- Vibrant accent colors
- High contrast
- Minimal, data-dense

Direction B: Professional Classic
- Subtle rounded corners
- Muted, sophisticated palette
- Generous whitespace
- Traditional hierarchy

Direction C: Technical/Terminal
- Monospace typography
- Dark mode default
- High information density
- Developer-familiar patterns

Implementation-Ready Design

Every State Documented

StateMust Define
DefaultBase appearance
HoverDesktop interaction
FocusKeyboard navigation (MUST be visible)
Active/PressedClick/tap feedback
DisabledUnavailable state
LoadingAsync operations
ErrorValidation failures
EmptyNo data state

WRONG - Missing States

Button design shows only default appearance
Form shows only filled state
List shows only populated state

CORRECT - Complete Specification

Button states:
- Default: bg-blue-600 text-white
- Hover: bg-blue-700
- Focus: ring-2 ring-blue-400 ring-offset-2
- Active: bg-blue-800
- Disabled: bg-gray-300 text-gray-500 cursor-not-allowed
- Loading: spinner icon, pointer-events-none

Form field states:
- Empty: placeholder visible, border-gray-300
- Filled: value visible, border-gray-300
- Focus: border-blue-500, ring
- Error: border-red-500, error message below
- Disabled: bg-gray-100, cursor-not-allowed

Design System Tokens

Required Token Categories

CategoryExamples
ColorsPrimary, secondary, semantic (error, success)
TypographyScale, weights, line heights
SpacingConsistent scale (4, 8, 12, 16, 24, 32, 48)
BordersRadius scale, widths
ShadowsElevation levels
MotionDuration, easing curves

Token Example

:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-error: #dc2626;
  --color-success: #16a34a;

  /* Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;

  /* Borders */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

Accessibility Requirements

Non-Negotiable

RequirementStandard
Text contrast4.5:1 for normal, 3:1 for large text
Interactive contrast3:1 for UI components
Focus visibleAlways visible focus indicator
Keyboard navigationAll interactions keyboard accessible
Color independenceNever rely on color alone

WRONG - Color Only

Error state: Red border only
Success state: Green checkmark only

CORRECT - Multiple Indicators

Error state: Red border + error icon + error message text
Success state: Green checkmark + "Saved successfully" text

Component Checklist

For every component, define:

  • All interactive states (hover, focus, active, disabled)
  • All data states (empty, loading, error, populated)
  • Responsive behavior
  • Accessibility requirements
  • Spacing (internal and external)
  • Typography specifications
  • Color specifications (light and dark mode if applicable)

Integration

SkillRelationship
design-principlesApply software design to UI patterns
documentation-standardsDocument design decisions
data-visualizationChart and graph design

Anti-Patterns

Anti-PatternWhy It's Wrong
Generic Bootstrap lookNo distinctive identity
"Diverse" = color variationsNot exploring design space
Missing statesBlocks developers
Color-only encodingAccessibility failure
Skipping discoveryContext drives appropriate design
Written descriptions onlyShow, don't tell
"Figure it out in dev"Design should answer questions
AI-generated lookPurple gradients, generic fonts

Quick Reference

Before presenting design:

  • Did I research context first?
  • Are my directions genuinely diverse?
  • Are all states documented?
  • Is accessibility built in?
  • Can developers implement without questions?
  • Did I show visual artifacts, not just descriptions?

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です