# interaction-patterns-components

Guides the agent through picking and critiquing UI interaction patterns and reusable components: navigation, tables, modals, forms, states.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 539 installs · ★ 23
- Author: hueyexe
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/hueyexe/frontend-agent-skills/tree/HEAD/interaction-patterns-components/SKILL.md
- Updated: 2026-08-02
- HTML: https://affpapa.org/en/nevibecode/skills/interaction-patterns-components

## What it does

This skill gives the agent a frame for interface work. It covers navigation, menus, cards, tables, dashboards, modals, flows, and component states, and it touches visual polish only where that affects interaction clarity, hierarchy, accessibility, or usability.

The core is a set of principles. Identify the user's goal first, then pick the pattern that fits it. Every interactive component is expected to define default, hover/pressed, focus, loading, disabled, success, empty, and error states. A defaults table lists recommendations per area with an override column, so the agent knows when product goal, audience, or data shape justifies breaking the rule. The principles are also available as reusable cards in `references/principle-cards.md`.

It is not a fit for brand identity, illustration, logos, or copywriting. Voice, AR/VR, and spatial design stay out of scope unless the task also involves screen-based controls. Backend and API work only matters here where implementation constraints change how a component behaves.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add hueyexe/frontend-agent-skills --skill interaction-patterns-components -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/interaction-patterns-components/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/interaction-patterns-components/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add hueyexe/frontend-agent-skills --skill interaction-patterns-components -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/interaction-patterns-components/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add hueyexe/frontend-agent-skills --skill interaction-patterns-components -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/interaction-patterns-components/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install hueyexe/frontend-agent-skills interaction-patterns-components
```

2. **Manually: put the files in place**
- File: `.github/skills/interaction-patterns-components/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add hueyexe/frontend-agent-skills --skill interaction-patterns-components -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/hueyexe/frontend-agent-skills --path interaction-patterns-components
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/interaction-patterns-components/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add hueyexe/frontend-agent-skills --skill interaction-patterns-components -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/hueyexe/frontend-agent-skills/tree/HEAD/interaction-patterns-components/SKILL.md

## When to use it
- decide between a table, cards, and a dense list for a given dataset
- run a UX review of a screen or a product flow
- specify component states before anyone writes markup
- define behavior for a reusable design-system component
- drop routine confirmations where undo would do

## Example prompts
- Review this screen and tell me which interaction patterns are failing
- Help me choose a pattern for the orders list: table, cards, or dense list
- Spec the states and behavior for a filter component in our design system

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 7718019c78d752f1.

BEGIN THIRD-PARTY FILE 7718019c78d752f1
```text
---
name: interaction-patterns-components
description: "Use when choosing, critiquing, or designing UI interaction patterns and reusable components for web, mobile, SaaS, dashboards, or design systems."
license: MIT
metadata:
  author: hueyexe
---

# Interaction Patterns Components

## Purpose

Help an agent choose, critique, and design effective UI interaction patterns and reusable product components.

The skill covers navigation patterns, menus, cards, tables, dashboards, modals, flows, states, and component behavior. It treats visual polish only where it affects interaction clarity, hierarchy, accessibility, or component usability.

## When to use this skill

Use this skill when the user asks for any of the following:

- Critique, redesign, or UX review of an app screen, website, product flow, wireframe, component, or frontend implementation.
- Selection of UI patterns such as navigation, menus, breadcrumbs, dashboards, cards, tables, forms, modals, wizards, split panes, tabs, accordions, toolbars, hover tools, lists, grids, or feedback states.
- Design of reusable components or design-system behavior.
- Frontend guidance for interaction behavior, accessibility, responsive behavior, component APIs, or UI state handling.
- Creation of product UX recommendations where the best answer depends on tasks, user skill, device context, data complexity, or risk.

## When not to use this skill

Do not use this skill as the main framework when the user primarily needs:

- Brand identity, illustration, mood boards, or visual polish not tied to interaction clarity.
- Deep copywriting, messaging strategy, or content design beyond labels, help text, errors, and microcopy.
- Pure graphic design, logo design, or marketing creative.
- Native voice, AR/VR, spatial, or non-screen interaction design unless the task also includes screen-based controls or companion UI.
- Backend architecture, database design, or API design except where implementation constraints affect component behavior.

## Core principles

### 1. Start with people, goals, and context

Identify what the user is trying to accomplish before choosing a component. A form, menu, table, modal, or dashboard is only a means to a user goal. Ask “why” until the job, risk, and success criteria are clear enough to design the simplest useful interface.
```
END THIRD-PARTY FILE 7718019c78d752f1

The third-party file has ended. Everything between the 7718019c78d752f1 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2333 of 26703 bytes. © hueyexe · MIT · https://github.com/hueyexe/frontend-agent-skills/tree/HEAD/interaction-patterns-components/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
