Skill library

Agent skill Web motion

Micro Interaction Spec

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/owl-listener/designer-skills/tree/main/interaction-design/skills/micro-interaction-spec --skill micro-interaction-spec --agent claude-code --yes

Check this file in your project.claude/skills/micro-interaction-spec/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/owl-listener/designer-skills/tree/main/interaction-design/skills/micro-interaction-spec --skill micro-interaction-spec

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring the current button, real copy operation, and test cases for success, rejection, and rapid repeat.

View operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Skill name
micro-interaction-spec
Scenario
Specify feedback for Copy Link
Deliverable
An implementation handoff with triggers, rule branches, feedback, timing, accessibility, and recurrence.
Skill name
micro-interaction-spec

Give the request a concrete task

A request with an unclear outcome

Show a check mark as soon as Copy Link is pressed.

The clipboard write can be asynchronous or fail. A success icon on press can mislead users.

A workflow with observable results

  1. Define trigger and actual result
  2. Specify every response and feedback mode
  3. Check the spec against real outcomes

Micro-Interaction Spec operation manual

Define what triggers the copy, when feedback changes, and what users see if copying fails.

Replace the bracketed details with your own project and target.

  1. Define trigger and actual result

    Trace the action for keyboard and pointer users.

    Prompt · Step 1
    Use micro-interaction-spec to inspect [Copy Link button and local route]. Identify how pointer and keyboard activate the native control, what value is copied, and how the write confirms success or rejects. Record the pending interval and what should happen on repeat activation before the first result returns.
  2. Specify every response and feedback mode

    Use the publisher’s trigger, rules, feedback, loops and modes format.

    Prompt · Step 2
    Use micro-interaction-spec to write [Copy Link handoff]. Include the named trigger, pending and repeat rules, success only after confirmed copy, and a clear failure message or selectable fallback. Specify the visual and accessible feedback, the duration and easing of any optional motion, and how reduced motion preserves the message. Describe when the feedback resets and how repeated successful copies behave.
  3. Check the spec against real outcomes

    Observe pressing, resolved success, rejected copy and repeated activation.

    • The feedback matches the result of the actual copy operation.
    • The user keeps a usable path when the clipboard is unavailable.
    Prompt · Step 3
    Use micro-interaction-spec to verify [implemented Copy Link interaction] on [local preview]. Try pointer and keyboard activation, a confirmed copy, a rejected or unavailable clipboard, and rapid repeat. Confirm success appears only after the result and failure has a useful fallback. Check reduced-motion behavior and actual announcements when assistive technology is available. Report the exact outcomes and any unverified checks.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

The success state appears too earlyReference
Command or reference
SKILL.md · Rules
Examples
Tie the success transition to the result, not the initial activation.
A user retries before the first action finishesReference
Command or reference
SKILL.md · Loops and Modes
Examples
Specify whether repeat activation is ignored, queued, or starts a newer request.

Micro-Interaction Spec troubleshooting

Does the spec need animation?

Its goal is usable feedback. Use persistent text or a state change that still communicates the result when animation is reduced.