mcpField
I
interaction-design

interaction-design

github.com/aj-geddesDesign & UI374507 installsUpdated 34w ago
Repository

About interaction-design

An interaction-design skill for shaping user flows, feedback, animations, and accessible interface behavior. It includes reference guides for animation, error handling, and accessibility.

Key features

  1. 01User flow and touchpoint design
  2. 02Animation and transition guidance
  3. 03Error and loading states
  4. 04Microinteraction patterns
  5. 05Accessibility recommendations

Use cases

  1. 01Designing mobile interaction patterns
  2. 02Improving usability and feedback
  3. 03Defining reversible animations
  4. 04Testing keyboard and screen-reader access

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill interaction-design

After installing, type/interaction-designin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
accessibility-in-interactions.md
animation-transition-design.md
error-handling-feedback.md
templates/
component-template.tsx

Details

From the project README

Interaction Design

Table of Contents

Overview

Interaction design focuses on how users engage with systems, creating intuitive and delightful experiences through feedback and responsiveness.

When to Use

  • Designing user flows and touchpoints
  • Creating animations and transitions
  • Defining error and loading states
  • Building microinteractions
  • Improving usability and feedback
  • Mobile interaction patterns

Quick Start

Minimal working example:

Common Interaction Patterns:

Swipe:
  Use: Mobile lists, carousels
  Feedback: Visual sliding, momentum
  Accessibility: Keyboard alternative (arrows)

Tap & Hold:
  Use: Context menus, drag prep
  Feedback: Visual feedback after delay
  Duration: ~500ms before trigger

Pinch & Zoom:
  Use: Image viewing, maps
  Feedback: Smooth zoom animation
  Boundaries: Set min/max zoom levels

Drag & Drop:
  Use: Reordering, moving items
  Feedback: Visual during drag, drop confirmation
  Fallback: Alternative method (buttons)

Double Tap:
  Use: Zoom, favorite, select
  Feedback: Immediate visual response
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Animation & Transition DesignAnimation & Transition Design
Error Handling & FeedbackError Handling & Feedback
Accessibility in InteractionsAccessibility in Interactions

Best Practices

✅ DO
  • Keep animations under 400ms
  • Provide clear visual feedback
  • Use animations to guide attention
  • Respect motion preferences
  • Make interactions reversible
  • Test with keyboard and screen readers
  • Provide multiple interaction methods
  • Design for touch and mouse
  • Use appropriate easing curves
  • Document interaction behavior
❌ DON'T
  • Animate for decoration only
  • Use animations longer than 500ms
  • Ignore motion-sensitive users
  • Remove focus indicators
  • Trap users in modals
  • Use confusing animations
  • Animate everything
  • Ignore loading states
  • Forget error states
  • Skip accessibility testing

Comments

Markdown supported