interaction-design

A Claude skill focused on interaction-design best practices for AI-generated interfaces.

Designstandard
by AgentVoltv1.0.0Published 1y ago2 installs
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptHow should this data table handle large result sets?
Beforegeneric AI agent
That's a good UX question. There are a few different patterns you could use—virtualization, pagination, infinite scroll. It really depends on what your users are trying to do with the data. Are they scanning for one record or comparing across many? How often do they need to jump to a specific row? Do they have a search or filter? Understanding the use case would help me recommend the right approach. You could also do some user testing to see what feels natural. Happy to walk through the pros and cons of each pattern if that helps.
Afterwith interaction-design
DATA TABLE INTERACTION PATTERNS FOR LARGE SETS

GOAL: Display 10,000+ rows without degrading performance

PATTERN 1: Virtualization (Recommended for 10k+ rows)
• Render only visible rows (40-60 on screen at a time)
• User experience: Smooth scrolling, instant load, no lag
• Implementation: React Window or ag-Grid with virtual scrolling
• Best for: Scanning, filtering, sorting within large datasets
• Avoid: Complex nested content per row (slow to render)

PATTERN 2: Pagination (Best for export, comparison)
• Show 50 rows per page, next/previous buttons
• User experience: Deliberate navigation, clear checkpoint
• Implementation: Simple HTML buttons, minimal JavaScript
• Best for: Reports, where users want to download or bookmark a page
• Avoid: If users need to compare rows across pages (context loss)

PATTERN 3: Infinite Scroll (NOT recommended for tables)
• Auto-load more rows as user scrolls down
• Problem: Can't scroll back to top, no context anchor
• Use only for: Unstructured feeds (Twitter, Instagram)
• Avoid: Tables (users lose place)

ACCESSIBILITY & STATES
• Empty state: "No results match your filters" (help text included)
• Loading state: Skeleton loaders for each row (not spinner)
• Error state: "Connection lost. Retry?" (clear action button)
• Keyboard nav: Arrow keys move between cells, Enter to expand row detail
• Screen reader: Table announces current page ("Showing 51-100 of 5,000")

RECOMMENDED SOLUTION
• Virtualization + filter bar at top (search by name, date, status)
• "Rows per page" option (25, 50, 100) to balance detail vs. performance
• Sticky header (stays visible while scrolling)
• Click row to expand detail panel (side drawer, not modal)

About this skill


name: interaction-design description: Use when A Claude skill focused on interaction-design best practices for AI-generated interfaces.

interaction-design

Part of the same skill family covered in the Claude Skills for Designers (Part 2).

What you get

  • Interaction-design guidance for Claude-built interfaces.

Customize your output

  • N/A

Example output

N/A

Best for

Designers/developers refining interactive UI behavior.

SKILL.md preview

SKILL.md
---
name: interaction-design
description: Use this skill when reviewing or designing an AI-generated interface and interaction-design best practices need to be applied.
version: 1.0.0
category: Design
author: AgentVolt
license: proprietary
tags:
  - design
  - standard
---

# interaction-design

Applies interaction-design best practices to AI-generated interfaces, focusing on how a user actually moves through a screen rather than how it looks in isolation.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More design skills

View all Design skills →