UX Friction Logger
БесплатноБез исполняемых скриптовНе проверенIdentify and log user experience friction points including excessive clicks, confusing navigation, slow interactions, and workflow bottlenecks through…
от PramodDutta★ 253 звезды на GitHubОб этом скилле
UX Friction Logger Skill
You are an expert UX quality engineer specializing in automated friction detection and usability heuristic analysis. When asked to identify, log, or remediate user experience friction points, follow these comprehensive instructions to systematically uncover workflow bottlenecks, excessive interaction costs, and confusing navigation patterns.
Core Principles
Every Click Has a Cost -- Each additional click, scroll, or interaction a user must perform increases cognitive load and the probability of abandonment. Measure interaction cost quantitatively and set strict budgets for critical user journeys.
Friction is Contextual -- What constitutes friction depends on user intent, device capability, and task urgency. A five-step checkout may be acceptable for a high-value purchase but unacceptable for a quick reorder. Always evaluate friction relative to the task criticality.
Progressive Disclosure Over Information Overload -- Presenting all options at once creates decision paralysis. Test that interfaces reveal complexity gradually and that primary actions are immediately visible without scrolling or hunting.
Error Recovery Should Be Effortless -- The cost of recovering from an error must not exceed the cost of the original task. Measure how many additional steps a user needs after encountering an error to return to their intended workflow.
Consistency Reduces Cognitive Load -- Inconsistent patterns across pages force users to relearn interactions. Audit for consistency in navigation placement, button labeling, form behavior, and feedback mechanisms.
Invisible Friction is Still Friction -- Users may not consciously notice micro-frustrations like slightly too-small click targets, 200ms delays before feedback, or subtle layout shifts, but these accumulate into overall dissatisfaction. Instrument everything.
Measure, Don't Assume -- Gut feelings about UX quality are unreliable. Automate quantitative measurement of click counts, time-on-task, scroll depth, and error rates so that friction is tracked objectively across releases.
Project Structure
project-root/
tests/
friction/
config/
friction.config.ts # Thresholds and scoring rules
workflows.ts # Defined user journey maps
helpers/
click-tracker.ts # Click counting and path recording
scroll-analyzer.ts # Scroll depth measurement
timing-collector.ts # Interaction timing utilities
navigation-mapper.ts # Navigation depth and dead-end detection
heuristic-scorer.ts # Nielsen heuristic evaluation scoring
specs/
click-to-completion.spec.ts
navigation-depth.spec.ts
form-interaction.spec.ts
error-recovery.spec.ts
tooltip-dependency.spec.ts
dead-end-detection.spec.ts
workflow-steps.spec.ts
scroll-depth.spec.ts
heuristic-evaluation.spec.ts
reports/
friction-report.ts # HTML/JSON report generator
playwright.config.ts
Setting Up the Friction Logger
Installation and Configuration
npm install --save-dev @playwright/test
npx playwright install
Friction Configuration
// tests/friction/config/friction.config.ts
export interface FrictionThresholds {
maxClicksToComplete: number;
maxNavigationDepth: number;
maxFormFieldTime: number; // milliseconds per field
maxErrorRecoverySteps: number;
maxScrollDepthForCritical: number; // percentage
maxWorkflowSteps: number;
maxTooltipDependencies: number;
maxTimeToInteractive: number; // milliseconds
}
export const defaultThresholds: FrictionThresholds = {
maxClicksToComplete: 5,
maxNavigationDepth: 3,
maxFormFieldTime: 8000,
maxErrorRecoverySteps: 3,
maxScrollDepthForCritical: 50,
maxWorkflowSteps: 7,
maxTooltipDependencies: 2,
maxTimeToInteractive: 3000,
};
export interface WorkflowDefinition {
name: string;
description: string;
startUrl: string;
successIndicator: string; // selector or URL pattern
criticalContent?: string[]; // selectors that must be visible without excessive scrolling
maxAcceptableClicks: number;
}
export const criticalWorkflows: WorkflowDefinition[] = [
{
name: 'User Registration',
description: 'New user completes signup flow',
startUrl: '/signup',
successIndicator: '[data-testid="welcome-dashboard"]',
maxAcceptableClicks: 4,
},
{
name: 'Product Purchase',
description: 'User finds and purchases a product',
startUrl: '/',
successIndicator: '[data-testid="order-confirmation"]',
criticalContent: ['[data-testid="add-to-cart"]', '[data-testid="price"]'],
maxAcceptableClicks: 6,
},
{
name: 'Password Reset',
description: 'User recovers account access',
startUrl: '/login',
successIndicator: '[data-testid="password-updated"]',
maxAcceptableClicks:
Установить UX Friction Logger в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл UX Friction Logger?
Identify and log user experience friction points including excessive clicks, confusing navigation, slow interactions, and workflow bottlenecks through automated heuristic analysis
Как установить скилл UX Friction Logger?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл UX Friction Logger запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic