Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

microinteractions

БесплатноБез исполняемых скриптовНе проверен

Design the small details — triggers, rules, feedback, loops and modes — that separate good products from great ones. Use when the user mentions…

onfire7777от onfire7777★ 17 звёзд на GitHub

Об этом скилле

Microinteractions Framework

A systematic approach to designing the tiny, contained product moments that users interact with every day -- toggles, password fields, loading indicators, pull-to-refresh, like buttons. Based on Dan Saffer's four-part structure (Trigger, Rules, Feedback, Loops & Modes), this framework turns invisible details into the polish that separates forgettable products from beloved ones.

Core Principle

The difference between a product you tolerate and a product you love is almost always in the microinteractions. A microinteraction is a contained product moment built around a single use case: changing a setting, syncing data, setting an alarm, picking a password. They are so small that users rarely think about them consciously -- but they feel them. Every microinteraction follows the same four-part structure: a Trigger initiates it, Rules determine what happens, Feedback shows what is happening, and Loops & Modes define its long-term behavior.

Scoring

Goal: 10/10. When reviewing or creating microinteractions, rate them 0-10 based on adherence to the principles below. A 10/10 means every interactive moment has a deliberate trigger, clear rules, immediate feedback, and thoughtful loop/mode behavior. Lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10/10.

The Microinteraction Structure

Six areas of focus for designing world-class microinteractions:

1. Triggers

Core concept: The trigger is what initiates a microinteraction. It can be manual (user-initiated -- a tap, click, swipe, voice command) or system-initiated (a condition is met -- time, location, incoming data, error state). The trigger is the front door of every microinteraction.

Why it works: Without a clear trigger, users cannot discover or initiate the interaction. Without a system trigger, the product cannot respond to changing conditions. Well-designed triggers make functionality discoverable and set accurate expectations for what will happen next.

Key insights:

  • Manual triggers live inside existing UI controls: buttons, switches, icons, form fields, gestures
  • System triggers fire automatically when conditions are met: time elapsed, threshold reached, data received
  • A trigger must communicate three things: that it exists, what it does, and what state it is in
  • Trigger affordance should match the importance of the action -- high-stakes actions need prominent triggers
  • Invisible triggers (gestures, shake, proximity) must be paired with a visible alternative for discoverability
  • Trigger states -- default, hover, active, disabled, loading -- must be visually distinct

Product applications:

Context Application Example
Toggle controls Manual trigger with binary state iOS Wi-Fi switch: tap to toggle, position shows state
Pull-to-refresh Hidden gesture trigger with visible affordance Pulling down past threshold triggers refresh animation
System alerts System trigger on condition met Low battery notification at 20% threshold
Search fields Manual trigger with auto-suggest system trigger Typing initiates search; results appear as system trigger
Hover reveals Manual trigger using proximity Toolbar actions appear on card hover

Ethical boundary: Never hide critical triggers behind gestures or invisible interactions without a visible fallback. Users should always be able to discover essential functionality.

See: references/trigger-design.md

2. Rules

Core concept: Rules determine what happens once a microinteraction is triggered. They define the sequence of events, the constraints on what can and cannot happen, the algorithm that processes input, and when the microinteraction ends. Rules are the invisible logic -- users never see them directly, but they feel when rules are wrong.

Why it works: Rules create the mental model users build about how the interaction works. When rules are consistent and match expectations, the interaction feels natural. When rules violate expectations -- a toggle that does not toggle, a slider that jumps in value -- users lose trust.

Key insights:

  • Define the goal of the microinteraction first, then derive rules from it
  • Rules should feel natural -- match existing mental models and platform conventions
  • Constrain inputs to prevent errors: limit character counts, set value ranges, enforce formats
  • Handle edge cases explicitly: what happens at zero, at maximum, on repeated triggers, on interruption
  • Simple rules produce complex-feeling interactions; complex rules produce confusing interactions
  • The best rules are invisible -- users do not think about them, they just work

Product applications:

Context Application Example
Password strength Rules evaluate input in real-time Meter upd
Полный SKILL.md на GitHub

Установить microinteractions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/case-studies.mdreferences/feedback-patterns.mdreferences/loops-modes.mdreferences/rules-and-state.mdreferences/signature-moments.mdreferences/trigger-design.md

FAQ

Что делает скилл microinteractions?

Design the small details — triggers, rules, feedback, loops and modes — that separate good products from great ones. Use when the user mentions "microinteraction", "button feedback", "loading state", "toggle design", "animation detail", or "interaction polish". Covers trigger design, state rules, feedback mechanisms, and progressive loops. For overall UI polish, see refactoring-ui. For affordance design, see design-everyday-things.

Как установить скилл microinteractions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл microinteractions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить microinteractions с