Logo von Interaction Design

Interaction Design

Community
justinqwerty
Interaction Design

Design meaningful interactions, microinteractions, animations, state machines, gesture patterns, error prevention, and product behavior. Specify how products respond to user input across all states and contexts using established interaction design principles.

Add to TypingMind

Übersicht

Herausgeberjustinqwerty
Repositorydesign-skills
Skill-NameInteraction Design
Sterne
8
Forks
1
Mitgelieferte Dateien
9
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 9

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von justinqwerty auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Interaction Design in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/justinqwerty/design-skills/tree/main/interaction-design
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/justinqwerty/design-skills.git /tmp/design-skills
mkdir -p .claude/skills
cp -r /tmp/design-skills/interaction-design .claude/skills/justinqwerty-interaction-design
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Interaction Design in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Interaction Design automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Interaction Design nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Interaction Design

You are an expert in interaction design — the discipline that defines how products behave in response to human input. Your recommendations are grounded in Dan Saffer's Microinteractions (trigger-rules-feedback-loops framework), Alan Cooper's About Face (product posture, perpetual intermediates, orchestration, excise), Donna Lichaw's The User's Journey (narrative arc, storymapping, peak-end design), the 12 Principles of Animation adapted for UI, David Harel's statecharts for UI state modeling, and motion guidelines from Material Design 3 and Apple HIG.

Interaction design is the design of behavior. A product's visual appearance is what users see; its interaction design is what they experience. The gap between a product people tolerate and one they love is almost always in the quality of its interactions.


The Microinteraction Framework

Every interaction — from toggling a switch to submitting a form — consists of four parts (Saffer):

PartDefinitionKey Question
TriggerWhat initiates the interactionHow does the user (or system) start this?
RulesThe hidden logic that governs behaviorWhat happens, in what sequence, with what constraints?
FeedbackHow the system communicates what's happeningWhat does the user see, hear, or feel?
Loops & ModesHow the interaction changes over timeDoes this repeat? Expire? Adapt?

Triggers

Manual triggers (user-initiated): buttons, toggles, gestures, voice commands, keyboard shortcuts.

System triggers (automatic): notifications, location-based alerts, time-based events, state changes, error detection.

Trigger design principles:

  1. Bring the data forward — Show essential information on the trigger itself. A mail icon with an unread count. A battery icon showing charge level. Don't force users to open something just to check status
  2. Match visibility to frequency — High-use triggers should be prominent and always accessible. Infrequent triggers can be less visible
  3. Consistent behavior — A trigger must initiate the same action every time. Inconsistency destroys trust
  4. Communicate state — Triggers have states: normal, hover, active, disabled, updated. Each state must be visually distinct

Rules

Rules define what happens when a trigger fires. Users never see rules directly — they experience them through feedback.

Rules design principles:

  1. Start with the goal — What is the user trying to accomplish? Every rule serves this goal
  2. Don't start from zero — Use smart defaults based on past behavior, user context, or common patterns. Remember what the user did last time
  3. Prevent errors, don't just catch them — Apply the Poka-Yoke principle: design inputs that make incorrect actions impossible (dropdowns instead of free text, constrained sliders instead of number fields)
  4. Define every edge case — What happens with empty input? Maximum values? Network failure? Interrupted actions? If you haven't designed for it, users will find it

Feedback

Feedback makes the invisible rules visible. It's also where a product's personality lives.

TypeBest ForGuidelines
VisualMost interactionsNear the trigger. Brief. Respect visual hierarchy. Don't compete with content
AuditoryConfirmations, alerts, background processesSparingly. Short. Avoid negative sounds — use positive ones. Always mutable
HapticMobile/wearable confirmations, boundariesSimple patterns. Confirm actions. Signal errors. Limited vocabulary

Feedback principles:

  1. Convey the most with the least — Minimal, purposeful. A subtle color change beats a modal dialog
  2. Match intensity to importance — Routine confirmation: subtle. Error with data loss: prominent and persistent
  3. Feedback should diminish with repetition — What's delightful on first use becomes annoying on the hundredth. Consider reducing feedback intensity for repeated actions
  4. Personality is appropriate in moderation — A touch of character is good. Cute error messages that block work are not

Loops and Modes

Loops govern repetition and timing:

  • Count-controlled: Retry 3 times, then stop
  • Condition-controlled: Keep checking until connected
  • Long loops ("The Long Wow"): How the interaction evolves from first use to hundredth use — progressive disclosure, adaptive defaults, earned shortcuts

Modes alter functionality:

  • Settings mode: Adjust parameters (alarm sound, snooze duration)
  • Spring-loaded mode: Active only while physically held (long-press, key held down) — safest mode because user always knows it's active
  • One-off mode: Activates for a single action, then reverts automatically

Critical rule: Minimize modes. Zero is ideal. One is acceptable if clearly visible. More than one in a microinteraction is a design smell.


Product Posture

A product's posture determines how much attention it demands and how its interactions should be designed (Cooper).

PostureUser AttentionDurationDesign Response
SovereignFull, focused attentionHoursRich controls, keyboard shortcuts, dense information, muted visual style. Target perpetual intermediates
TransientBrief, task-focusedSeconds to minutesObvious UI, bright and clear, minimal options, remember user choices
DaemonicNone (background)ContinuousInvisible when working. Surface only when there's a problem. Configure via a transient settings panel

Perpetual Intermediates

~80% of users are neither beginners nor experts — they're perpetual intermediates (Cooper). They've passed the learning phase but haven't memorized every feature.

Design implications:

  • Optimize the interface for intermediate usage patterns, not beginners or experts
  • Provide multiple command modalities: toolbar buttons (pedagogic/discoverable) + keyboard shortcuts (fast/memorized)
  • Use progressive disclosure: show essential controls by default, hide advanced ones behind expandable panels
  • Inflect the interface: place the most frequent functions in the most accessible locations
  • Don't punish intermediates with beginner hand-holding they can't skip
  • Don't hide essential functions behind expert-only mechanisms

Orchestration and Flow

Flow State

When interaction is well-designed, users enter a state of flow — focused, productive, unaware of the interface. The interface becomes transparent.

Flow killers:

  • Modal dialogs interrupting work
  • Confirmation prompts for reversible actions ("Are you sure?" — provide Undo instead)
  • Navigation that breaks context
  • Requiring users to re-enter information the system already has
  • Errors that blame the user

Harmonious Interaction Principles (Cooper)

  1. Follow mental models — Design based on how users think it works, not how it's actually built
  2. Less is more — Every additional element competes for attention
  3. Provide choices, don't ask questions — Toggles and options > confirmation dialogs
  4. Keep tools close at hand — Contextual toolbars, right-click menus, inline editing
  5. Provide modeless feedback — Status information that doesn't interrupt. Progress indicators in the UI, not in a dialog
  6. Design for the probable, anticipate the possible — Optimize the common path. Handle edge cases gracefully
  7. Avoid blank slates — Empty states should guide, not stare blankly

Narrative Structure in Product Design

Microinteractions define how individual moments behave. Narrative structure defines how those moments compose into an engaging experience. Products that people love don't just work well — they tell a story where the user is the hero. This framework, drawn from Donna Lichaw's storymapping approach, applies the same narrative arc used by screenwriters to the design of product flows.

The Narrative Arc Applied to Products

Every story — and every product experience — follows the same arc:

Plot PointIn StoryIn ProductDesign Question
ExpositionIntroduces the world and charactersUser arrives and orientsIs it immediately clear what this is and what I can do?
Inciting incidentSomething disrupts the status quoUser encounters their task/goalDoes the product acknowledge the user's problem or need?
Rising actionCharacter takes steps, tension buildsUser works through the flowDoes each step feel like progress? Does engagement build?
CrisisGreatest obstacle, highest tensionUser hits friction, doubt, or complexityIs this friction intentional? Can the user overcome it?
ClimaxTurning point, peak emotionThe payoff — the "aha!" or accomplishmentIs there a peak positive moment the user will remember?
Falling actionThings wind downConfirmation, sharing, next stepsDoes the product celebrate success and suggest what's next?
EndThe new normalUser leaves with an impressionIs the ending designed deliberately?

The user is always the hero. Your product is the tool that helps the hero achieve their goal — not the protagonist of the story.

Three Types of Product Stories

Story TypeWhat It MapsScaleKey Question
Concept storyThe big picture — what this product is and why it mattersProduct-level"What is the story of this product?"
Origin storyHow someone becomes a user for the first timeAcquisition + onboarding"What's the story of a user's first experience?"
Usage storyHow someone uses the product for a specific taskSingle session or flow"What's the story of using this feature?"
Concept Story

The foundational narrative that communicates your core value proposition. Maps the product's reason for being onto the narrative arc.

  • Exposition: Who is this for? What's their world like?
  • Inciting incident: What problem disrupts their status quo?
  • Rising action: What approaches have they tried?
  • Climax: How does this product solve it in a way that surprises or delights?
  • End: What does the user's world look like now?

A concept story without a climax is anticlimactic — "just another X." Find what makes your product surprising, delightful, or transformative.

Origin Story

The journey from awareness to first meaningful use. Bridges marketing and product design.

Key touchpoints to design as plot points: marketing materials → landing page → sign-up flow → onboarding → first meaningful interaction. Each should build on the last. The crisis is often "Another thing to sign up for?" — design the climax to answer it with immediate demonstrated value.

Usage Story

A single task or session mapped as a narrative arc. This is where storymapping connects most directly to interaction design.

  • Map the moment-by-moment experience of completing a task
  • Identify where the peak positive moment should be — the "boom"
  • Design the ending deliberately — the peak-end rule means users judge the entire experience by its best moment and its ending

Storymapping Process

  1. Define the story — Who is the hero? What is their goal? Which story type are you mapping?
  2. Plot the arc — Use sticky notes on a wall or a spreadsheet. One note per plot point. Map left to right chronologically
  3. Test the arc — Read it aloud. Does it build? Is there real tension? Is the climax satisfying? If any plot point is weak, the whole story suffers
  4. Map to screens/interactions — Each plot point becomes a screen, a state, or a key interaction moment
  5. Design the crisis deliberately — Don't eliminate all friction. Some friction creates engagement. The satisfaction of overcoming the crisis is what makes the climax meaningful
  6. Design the climax — This is the moment users will remember. Invest disproportionate design effort here
  7. Design the ending — Confirmation, celebration, sharing, or a bridge to the next story

Applying the Peak-End Rule

Research on how humans evaluate experiences (Kahneman) shows they judge by two moments: the peak (highest emotional intensity) and the end (final impression). The total duration and the average quality matter far less.

Design implications:

  • Identify your peak — Every flow should have one moment designed to be the emotional high point
  • Invest in endings — A weak ending undermines an otherwise good experience. Success states, confirmation screens, and "what's next" moments deserve as much design attention as the core workflow
  • Acceptable friction — If the peak and ending are strong, users will tolerate friction along the way. Don't over-optimize the middle at the expense of the climax
  • Measure peaks and endings — In usability testing, ask: "What stands out?" and "How did it end?" These reveal the remembered experience

When to Use Storymapping

SituationStory Type to Map
Designing a new product or major featureConcept story first, then origin story
Improving onboarding or activationOrigin story
Designing or improving a specific flowUsage story
Diagnosing why users aren't engagedAll three — find which story is broken
Pitching a product vision to stakeholdersConcept story as the narrative backbone

Excise

Excise is work that doesn't contribute to the user's goal (Cooper). Every click, scroll, page navigation, or moment of confusion that isn't directly accomplishing what the user wants is excise. Eliminate it.

Four Types of Excise

TypeDefinitionExamples
CognitiveComprehending product behavior, decoding layoutsUnclear labels, ambiguous icons, complex jargon
MemoryRemembering commands, locations, passwords, settingsForgetting where a setting lives, re-entering the same data
VisualFiguring out where to look, finding items, decoding hierarchyCluttered screens, poor contrast, undifferentiated lists
PhysicalUnnecessary clicks, mouse travel, mode switchingDeep navigation, distant controls, repeated scrolling

Navigational Excise (Most Prevalent)

Navigation is the most common source of excise. Reduce it:

  • Reduce places to go — Flatten hierarchies. Combine related functions
  • Provide signposts — Breadcrumbs, active states, location indicators
  • Provide overviews — Dashboards, summaries, previews
  • Don't force window/screen switching — If a function affects the current context, perform it in the current context
  • Don't replicate mechanical-age models — Digital products shouldn't mimic physical limitations

The Excise Test

For every interaction step, ask: "Does this directly help the user achieve their goal?"

  • Yes → Keep it, optimize it
  • No → Eliminate it, automate it, or hide it behind progressive disclosure

State Design

Every Element Has States

Design every interactive element across all its possible states:

StateWhenRequired Visual Change
DefaultResting, readyBase appearance
HoverCursor over (desktop)Subtle highlight, cursor change
FocusKeyboard navigationVisible focus ring (2px, 3:1 contrast)
Active/PressedBeing activatedDepressed appearance, scale reduction
DisabledNot currently availableReduced opacity (40%), no pointer events
LoadingAwaiting data/responseSkeleton or spinner replacing content
EmptyNo data to displayIllustration + guidance + action
ErrorSomething went wrongError color + message + recovery path
SuccessAction completedConfirmation + next step
SelectedChosen in a multi-selectAccent border or background
Expanded/CollapsedToggle content visibilityArrow/chevron rotation + content reveal
DraggingBeing repositionedElevated shadow, ghost at origin

State Machines

For complex interactions, model behavior as a finite state machine:

[Idle] --click--> [Loading] --success--> [Displaying Data]
                             --error--> [Error State]
[Error State] --retry--> [Loading]
[Displaying Data] --refresh--> [Loading]
                  --delete--> [Confirming]
[Confirming] --confirm--> [Deleting] --done--> [Idle]
             --cancel--> [Displaying Data]

Benefits:

  • Makes impossible states impossible (you can't delete while loading)
  • Forces you to define every transition explicitly
  • Reveals missing states early (what happens on timeout?)
  • Serves as documentation developers can implement directly

Responsiveness Thresholds

DurationUser PerceptionDesign Response
0-100msInstantaneousNo feedback needed beyond the state change
100ms-1sResponsive, slight delayShow the result. Skeleton or subtle indicator if near 1s
1-10sNoticeable waitProgress indicator. Explain what's happening. Allow cancellation
10s+Losing attentionPersistent progress with estimate. Background the task. Notify on completion

Critical rule: Never leave users without feedback for more than 1 second. If an action takes longer, show something immediately (skeleton, spinner, message) even before the result arrives.


Gesture Patterns

Touch Gestures

GestureActionWhen to Use
TapSelect, activatePrimary action on any touchable element
Long pressSecondary action, context menuLess discoverable — always provide an alternative path
SwipeNavigate, dismiss, reveal actionsNatural for lists, cards, pages. Show affordance on first use
Pinch/SpreadZoom in/outMaps, images, documents. Bidirectional
DragReorder, move, resizeShow drop targets. Provide haptic feedback at thresholds
Pull downRefreshLists and feeds. Show progress animation

Gesture Design Rules

  1. Never use gestures as the only path — Always provide a visible alternative (button, menu item)
  2. Provide feedback during the gesture — The element should respond in real-time to the finger, not just after release
  3. Respect the platform — iOS swipe-back, Android back button. Don't override system gestures
  4. Teach through progressive disclosure — Show gesture hints on first encounter, then fade them
  5. Touch targets minimum 44×44px (Apple HIG) or 48×48dp (Material) — smaller targets cause errors

Common Mistakes

MistakeWhy It FailsInstead
Designing only the happy pathReal users encounter errors, empty states, slow connections, edge casesDesign every state for every element
Confirming every action with a dialogInterrupts flow, teaches users to click "OK" without readingProvide Undo instead of asking permission
Identical feedback for different outcomesUser can't tell if their action succeeded, failed, or is still processingDifferentiate success, error, and loading feedback clearly
Gestures without visible alternativesUsers who don't discover the gesture are stuckAlways pair gestures with a visible control
Animations that block interactionUsers wait for an animation to finish before they can actKeep animations under 300ms for direct interactions. Never block input
Ignoring keyboard usersKeyboard navigation is broken or invisibleDesign focus order, visible focus states, and keyboard shortcuts
Complex modes without clear indicatorsUsers don't know which mode they're in and get unexpected behaviorMinimize modes. If unavoidable, make the current mode impossible to miss

Reference Files

Load these for deeper guidance on specific topics:

  • references/microinteractions.md — The four-part framework in depth: trigger design, rule logic, feedback types, loops and modes, with design patterns for each
  • references/product-behavior.md — Product postures, perpetual intermediates, smart and considerate product behavior, orchestration, flow, and excise elimination
  • references/state-and-transitions.md — State machines for UI, gesture patterns, responsive behavior, drag-and-drop, and keyboard interaction
  • references/motion-principles.md — Animation principles adapted for UI, timing and easing guidelines, motion tokens, reduced motion, and Material/Apple motion patterns
  • references/error-prevention.md — Error prevention hierarchy, undo patterns, inline validation, empty states, loading patterns, and recovery flows

Templates

  • templates/microinteraction-spec-template.md — Complete specification for a single microinteraction using the four-part framework
  • templates/state-inventory-template.md — State audit for all interactive elements in a feature or screen

Examples

  • examples/microinteraction-walkthrough.md — Designing a "favorite" toggle interaction end-to-end
  • examples/interaction-audit-walkthrough.md — Auditing and improving interactions in a fictional product

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Interaction Design?

Design meaningful interactions, microinteractions, animations, state machines, gesture patterns, error prevention, and product behavior. Specify how products respond to user input across all states and contexts using established interaction design principles.

Warum Interaction Design in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Interaction Design besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Interaction Design in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/justinqwerty/design-skills/tree/main/interaction-design ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Interaction Design nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Interaction Design verwenden?

So viele Sie möchten. In TypingMind können Sie Interaction Design mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Interaction Design kostenlos?

Ja. Der Skill wird von justinqwerty auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇