interaction-design
Skill249 starsChanged 6 months agoMITView on GitHub
Use when designing states, transitions, animations, error handling, loading patterns, feedback, or any behaviour that responds to user action — ensures interactions are perceivable, operable, and inclusive
11 other projects use a version of this.
Adopted by
Most recently taken up by
- mnttnm/claude-skillstheir own version, first seen Sep 30, 2026
- enes9103/my-claude-agents-skillstheir own version, first seen Sep 28, 2026
- yogvidwankhede/vishwakarmatheir own version, first seen Sep 26, 2026
- HACK-WU/skillstheir own version, first seen Sep 23, 2026
- Gaurav890/everything-agentic-engineeringtheir own version, first seen Sep 13, 2026
- HugoLopes45/design-skillstheir own version, first seen Aug 26, 2026
Used with
Projects with it also use code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- cuellarfr/design-skills★ 94same name
- rastian/interaction-design-skills★ 18same name
- ai4brands-design/claude-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
- HACK-WU/skills★ 2same name
- Gaurav890/everything-agentic-engineering★ 1same name
- HugoLopes45/design-skills★ 1same name
- yogvidwankhede/vishwakarma★ 1same name
- dtsong/agentic-council★ 0same name
- enes9103/my-claude-agents-skills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessible-contentSkill
- adaptive-interfacesSkill
- cognitive-accessibilitySkill
- design-debateSkill
- design-debt-trackerSkill
- design-discoverySkill
- design-expressSkill
- design-handoffSkill
- design-librarySkill
- design-mdSkill
- design-memorySkill
- designpowers-critiqueSkill
- design-retrospectiveSkill
- design-reviewSkill
- design-stateSkill
- design-strategySkill
- design-system-alignmentSkill
- design-tasteSkill
- figma-bridgeSkill
- heuristic-evaluationSkill
- inclusive-personasSkill
- inspiration-scoutingSkill
- motion-choreographySkill
- research-planningSkill
- responsive-patternsSkill
- synthetic-user-testingSkill
- taste-feedbackSkill
- taste-reportSkill
- token-architectureSkill
- ui-compositionSkill
- usability-testingSkill
- using-designpowersSkill
- verification-before-shippingSkill
- voice-and-toneSkill
- writing-design-plansSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Every user action deserves a response.
- Distinctive: line 42
Must be perceivable without relying on colour alone
- Distinctive: line 88
Keep durations short: 150-300ms for micro-interactions, 300-500ms for transitions
- Distinctive: line 89
Avoid parallax, auto-playing video, flashing content (3 flashes per second maximum per WCAG)
- Distinctive: line 94
If the design includes gesture interactions:
- Distinctive: line 95
Every gesture must have a non-gesture alternative (button, keyboard shortcut)
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Interaction Design
Interactions are promises. Every button says "click me and something will happen." Every loading spinner says "wait, it is coming." This skill ensures those promises are kept for everyone, regardless of how they interact with the interface.
When to Use
- Designing component states (default, hover, active, focus, disabled, error)
- Creating transitions or animations
- Handling errors, empty states, or edge cases
- Designing loading and progress patterns
- Defining feedback mechanisms (success, warning, error confirmations)
- Designing gesture or touch interactions
Process
Step 1: Map All States
For every interactive element, define:
| State | Visual | Screen Reader | Keyboard | Touch |
| Default | [appearance] | [announcement] | [behaviour] | [behaviour] |
| Hover | [appearance] | n/a | n/a | n/a |
| Focus | [appearance + focus ring] | [announcement] | [how to reach] | n/a |
| Active/Pressed | [appearance] | [announcement] | [trigger key] | [gesture] |
| Disabled | [appearance, not just greyed] | [announcement + reason] | [skip in tab order?] | [behaviour] |
| Error | [appearance + message] | [announcement + guidance] | [focus moved?] | [behaviour] |
| Loading | [appearance] | [live region update] | [interaction blocked?] | [behaviour] |
| Success | [appearance] | [announcement] | [next focus target] | [behaviour] |
Step 2: Design Feedback Patterns
Every user action deserves a response. Map the feedback:
Immediate feedback (< 100ms):
- Visual state change on interaction (button press, toggle flip)
- Must be perceivable without relying on colour alone
Short wait feedback (100ms - 1s):
- Loading indicator or skeleton screen
- ARIA live region announcement: "Loading..."
Long wait feedback (> 1s):
- Progress indicator with estimated time or progress percentage
- Ability to cancel or navigate away
- ARIA live region updates at intervals
Completion feedback:
- Clear success or error state
- Screen reader announcement of outcome
- Logical next focus target
Step 3: Error Handling
Errors are not edge cases — they are guaranteed states. Design for them:
- Prevention first — inline validation, clear constraints, sensible defaults
- Clear identification — what went wrong, in plain language
- Specific guidance — what the person should do next
- Accessible delivery — errors announced to screen readers, focus moved to the error, not just a colour change
- Recovery path — preserve user input, allow correction without starting over
Error message format: [What happened] + [What to do about it]
- Yes: "That email address is already registered. Try signing in instead, or use a different email."
- No: "Error: invalid input"
Step 4: Animation and Motion
Animations serve a purpose or they serve nobody:
When to animate:
- To show a relationship between elements (a panel sliding in from its trigger)
- To maintain spatial orientation (a page transition showing direction)
- To provide feedback (a subtle bounce on a successful action)
When NOT to animate:
- Decoration without function
- Anything that delays the user from completing their task
- Anything that loops indefinitely
Inclusive motion:
- Respect
prefers-reduced-motion— always provide a reduced or no-motion alternative - Keep durations short: 150-300ms for micro-interactions, 300-500ms for transitions
- Avoid parallax, auto-playing video, flashing content (3 flashes per second maximum per WCAG)
- Provide pause/stop controls for any animation longer than 5 seconds
Step 5: Gesture and Input Design
If the design includes gesture interactions:
- Every gesture must have a non-gesture alternative (button, keyboard shortcut)
- Swipe actions must be discoverable without trial-and-error
- Drag-and-drop must have a keyboard-accessible alternative
- Touch targets: 44x44px minimum, with adequate spacing between targets
Step 6: Document the Interaction Spec
For each interaction, document:
- Trigger (what initiates the interaction)
- Behaviour (what happens, step by step)
- States (all states the element passes through)
- Feedback (what the user perceives at each stage)
- Accessibility (screen reader announcements, keyboard behaviour, motion reduction)
Integration
- Called by:
writing-design-plans(as part of plan execution) - Pairs with:
ui-composition(visual states),cognitive-accessibility(interaction complexity),accessible-content(error messages) - Reviewed by:
designpowers-critique
Red Flags
| Flag | Response |
| Component with only default and hover states | Map ALL states including focus, error, loading, disabled |
| Animation without prefers-reduced-motion support | Add motion reduction. This is not optional |
| Error state that only changes colour | Add text, icon, and screen reader announcement |
| Gesture without alternative input method | Add keyboard and/or button alternative |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

