AgentSkillsCN

ux-psychology

在构建 UI 组件、表单、定价页面、引导流程、结账体验、模态框,或任何面向用户的界面时,应用用户体验心理学原理。适用于设计 CTA、实现进度指示器、创建加载状态、提升用户参与度,或从心理学角度审视 UI 的有效性时使用。

SKILL.md
--- frontmatter
name: ux-psychology
description: Apply UX psychology principles when building UI components, forms, pricing pages, onboarding flows, checkout experiences, modals, or any user-facing interface. Use when designing CTAs, implementing progress indicators, creating loading states, improving user engagement, or reviewing UI for psychological effectiveness.
user-invocable: true

UX Psychology Frontend Development Guide

Apply these 46 UX psychology principles to predict user behavior and design more effective interfaces. This skill provides actionable guidelines with code examples for frontend implementation.

Quick Reference

CategoryKey ConceptsWhen to Use
CognitionCognitive Load, Selective Attention, Banner BlindnessForms, information-dense pages
BiasesAnchor, Confirmation, Expectation, FamiliarityPricing, comparisons, navigation
BehavioralNudge, Default, Decoy, Framing, PrimingConversions, sign-ups, purchases
ValueLoss Aversion, Scarcity, Endowment, Sunk CostRetention, urgency, personalization
EngagementGamification, Variable Reward, Goal Gradient, ZeigarnikProgress tracking, habit formation
ExperiencePeak-End Rule, User Delight, Labor IllusionLoading states, completion flows
UI DesignDoherty Threshold, Progressive Disclosure, Visual HierarchyPerformance, layout, navigation
SocialSocial Proof, Halo EffectTrust building, credibility
CautionReactance, Decision Fatigue, Intentional FrictionAvoiding dark patterns
ResearchHawthorne Effect, Survey Bias, Empathy GapUser testing, research design

Core Principles Summary

Reduce Friction

  • Split complex forms into steps (Cognitive Load)
  • Use skeleton UI for loads over 400ms (Doherty Threshold)
  • Set smart defaults (Default Bias)
  • Limit choices to reduce fatigue (Decision Fatigue)

Guide Behavior

  • Show original price before discount (Anchor Effect)
  • Frame positively: "90% success" not "10% failure" (Framing)
  • Use progress bars near completion (Goal Gradient)
  • Ask satisfaction before reviews (Priming)

Create Value

  • Show what users lose on cancel (Loss Aversion)
  • Display limited stock/time (Scarcity)
  • Personalize the experience (Endowment Effect)
  • Celebrate completions (Peak-End Rule)

Build Trust

  • Show reviews, user counts, logos (Social Proof)
  • Provide value before asking for payment (Reactance)
  • Add confirmation for destructive actions (Intentional Friction)

Implementation Checklist

See checklist.md for a complete checklist to review your UI against these principles.

Detailed References

Each concept file contains:

  • Definition and psychological basis
  • Implementation guidelines
  • Code examples (JSX/CSS)
  • Common patterns

Browse by category:

Source

Based on Shokasonjuku Inc. UX Psychology Concepts