ux-antipatterns

Detect frontend UX anti-patterns in code reviews and UI features.

13|3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/cassiozen/UX-antipatterns --skill ux-antipatterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ux-antipatterns
Source: https://github.com/cassiozen/UX-antipatterns/tree/main
Command: npx skills add https://github.com/cassiozen/UX-antipatterns --skill ux-antipatterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Detects and prevents the frontend UX anti-patterns that frustrate users with layout shifts, missing feedback, lost input, racing states, or focus theft during reviews and implementations.

Core Features & Use Cases

  • Axiomatic guidance: The skill surfaces its six core axioms plus 13 detailed anti-pattern categories from references/antipatterns.md, mapping symptoms to harm and fixes.
  • Workflow orchestration: Agents are instructed to load the reference heuristics, scan the code, group findings by category, cite specific file:line incidents, and explain harm plus concrete remediation steps.
  • Use case: Use this skill when reviewing PRs, auditing new UI features, or refactoring components/forms so each commit aligns with UX best practices.

Quick Start

Ask the agent to scan the frontend code for layout, feedback, and accessibility anti-patterns using the heuristics before merging.

Frequently Asked Questions about ux-antipatterns

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

FAQPage Schema
How do I detect frontend UX anti-patterns during a code review?

To detect frontend UX anti-patterns during a code review, scan the UI code for layout shifts, missing feedback, lost input, racing states, and focus theft using established heuristics. Group findings by category, cite specific file incidents, and recommend concrete remediation steps before merging.

What are common frontend UX anti-patterns that frustrate users?

Common frontend UX anti-patterns that frustrate users include layout shifts, missing feedback, lost input, racing states, and focus theft. These issues typically occur in components, pages, forms, and interactive flows when accessibility and UX heuristics are not applied during implementation.

Can I audit new UI features for accessibility and UX issues before merging?

Yes, you can audit new UI features for accessibility and UX issues before merging by applying reference heuristics to the code. This process maps symptoms to harm explanations and provides concrete fixes, ensuring components, pages, forms, and interactive flows align with best practices.

How do I provide pull request feedback for frontend UX issues?

To provide pull request feedback for frontend UX issues, load reference heuristics, scan the code, group findings by anti-pattern categories, and cite specific file and line incidents. Explain the harm caused by each issue and recommend concrete fixes to prevent user frustration.

What's the best way to prevent racing states and focus theft in web forms?

The best way to prevent racing states and focus theft in web forms is to evaluate the interactive flows against established anti-pattern categories. Map the identified symptoms to their specific user harm and implement the concrete remediation steps provided by the heuristics.