interaction-design

Design and validate interactive UI elements with state matrices and accessibility compliance.

1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/yogvidwankhede/vishwakarma --skill interaction-design-yogvidwankhede
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: interaction-design
Source: https://github.com/yogvidwankhede/vishwakarma/tree/main/.claude/skills/interaction-design
Command: npx skills add https://github.com/yogvidwankhede/vishwakarma --skill interaction-design-yogvidwankhede

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the common failure of AI-generated interfaces to account for the full lifecycle of user interaction, preventing undifferentiated, broken, or inaccessible UI components.

Core Features & Use Cases

  • State Matrix Enforcement: Ensures every interactive element handles all states including hover, focus-visible, loading, and error.
  • Accessibility Compliance: Enforces WCAG 2.2 standards for focus indicators, contrast, and screen-reader announcements.
  • Use Case: When building a complex form, use this skill to ensure that validation, loading states, and error recovery are handled gracefully without losing user data or breaking keyboard navigation.

Quick Start

Use the interaction-design skill to audit the current component for state completeness and accessibility compliance.

Frequently Asked Questions about interaction-design

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

FAQPage Schema
How do I design accessible UI states for complex forms?

To design accessible UI states for complex forms, enforce a strict state matrix covering hover, focus-visible, loading, and error conditions. This ensures validation, loading states, and error recovery maintain data integrity and keyboard navigation parity.

What is a state matrix for interactive UI elements?

A state matrix for interactive UI elements is a framework enforcing that every component handles hover, focus-visible, loading, and error states. It ensures production-grade interface reliability by maintaining feedback latency thresholds and strict error recovery patterns.

How do I ensure WCAG 2.2 compliance for focus indicators and screen readers?

Ensure WCAG 2.2 compliance for focus indicators and screen readers by enforcing strict contrast rules and screen-reader announcements across interactive elements. This framework validates focus-visible states to maintain accessible, state-aware components.

How to handle error recovery in async actions without losing user data?

Handle error recovery in async actions without losing user data by applying strict error recovery patterns. This framework ensures interactive elements validate inputs gracefully and maintain state awareness across keyboard, touch, and pointer inputs during failures.

Does this interaction design framework support touch and pointer input parity?

Yes, this interaction design framework supports touch and pointer input parity. It requires adherence to strict state matrix definitions ensuring accessible, state-aware components maintain equal functionality across keyboard, touch, and pointer input methods.

When do I need to audit UI components for state completeness and accessibility?

Audit UI components for state completeness and accessibility when building complex forms, async actions, or destructive operations. This prevents broken interfaces by validating that all interactive elements meet WCAG 2.2 standards and handle full interaction lifecycles.