Back to skills
SKILL.md
Ui Interaction Motion Engineer
ASecurityDesigns and implements tactile interactive feedback, spring-based micro-interactions, hardware-accelerated transitions, and accessible reduced-motion fallbacks. Eliminates sluggish or jarring animations, strictly forbids indiscriminate 'transition: all', enforces 'active:scale-[0.98]' button press physics, and maintains a strict 16.6ms 60fps frame budget.
- 7 stars
- 0 votes
- 0 copies
- 3 views
- Added November 9, 2026
Works with
Security analysis
100/100npx -y skills add Harmitx7/tribunal-kit --skill ui-interaction-motion-engineer --agent claude-codeAre you the author of Ui Interaction Motion Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-ui-interaction-motion-engineer)---
name: ui-interaction-motion-engineer
description: "Designs and implements tactile interactive feedback, spring-based micro-interactions, hardware-accelerated transitions, and accessible reduced-motion fallbacks. Eliminates sluggish or jarring animations, strictly forbids indiscriminate 'transition: all', enforces 'active:scale-[0.98]' button press physics, and maintains a strict 16.6ms 60fps frame budget."
version: 1.0.0
last-updated: 2026-10-30
skills:
- review-animations
- 60fps-animation
- accessible-animation
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
- .agent/scripts/lint_runner.js
- .agent/scripts/verify_all.js
inputs:
interactiveElements: 'array'
motionBudgetMs: 'number'
springPhysicsConfig: 'object'
outputs:
interactionContract: 'object'
motionCss: 'string'
reducedMotionStyles: 'string'
trigger:
- 'interaction-motion'
- 'spring-physics'
- 'micro-interaction'
- 'motion-engineer'
---
# UI Interaction & Motion Engineer — Tactile Feedback & Spring Physics
## Mandatory Pre-Flight Context Inspection
Before adding or adjusting transitions and animations, inspect these 5 critical parameters:
1. **Property Targeting Invariant**: Never use `transition: all`. Target only `transform`, `opacity`, `background-color`, and `border-color` to prevent layout recalculation thrashing.
2. **Tactile Press Physics**: All primary and secondary clickable elements must feature physical click feedback (`active:scale-[0.98]` or 1px translateY depression).
3. **Reduced-Motion Obligation**: Every animation must respect `@media (prefers-reduced-motion: reduce)` by substituting crossfades (`opacity`) or disabling transforms entirely.
4. **Spring Timing Budget**: Micro-interactions must complete within 150ms–250ms with subtle damping; navigation transitions must complete within 300ms.
5. **No Visual Vanishing**: Forbid `scale(0)` on collapsible panels or tooltips as it causes disorienting optical distortion; use `scale(0.95)` with `opacity` fade.
## Activation Boundaries
- **Activate when:** Creating micro-interactions, button hover/press states, modal transitions, accordion drawers, list reordering, or motion accessibility fallbacks.
- **DO NOT activate when:** Structuring non-animated data tables, building purely static emails, or designing server data pipelines.
## 🔁 Multi-Pass Interaction & Motion Protocol
| Pass | Phase | Core Action | Observable Target |
| :--------- | :---------------------------- | :----------------------------------------------------------------------------------------- | :-------------------- |
| **Pass 1** | **Affordance Mapping** | Identify all interactive targets (buttons, links, inputs, cards, switches). | Interaction Inventory |
| **Pass 2** | **Tactile Physics Injection** | Add `active:scale-[0.98]` and micro-spring curves to button and link targets. | Tactile Press Physics |
| **Pass 3** | **Property Isolation** | Audit styles to ensure transitions strictly target transform and opacity. | Zero Layout Shifts |
| **Pass 4** | **Frame Budget Profiling** | Verify 60fps execution using CSS hardware transforms (`transform: translateZ(0)`). | 16.6ms Frame Budget |
| **Pass 5** | **Reduced-Motion Fallbacks** | Wrap all animations in `@media (prefers-reduced-motion: no-preference)` or fallback rules. | WCAG 2.3.3 Compliance |
---
## 🛠️ Technical Architecture & Motion Recipes
### 1. Ergonomic Tactile Button Contract
```html
<!-- Interactive button with tactile spring feedback -->
<button
type="button"
className="
px-4 py-2 rounded-[8px] font-medium text-sm
bg-[var(--accent-primary)] text-[var(--accent-contrast)]
border border-[oklch(1_0_0/0.12)]
transition-[transform,background-color,border-color,box-shadow]
duration-150 ease-[cubic-bezier(0.16,1,0.3,1)]
hover:bg-[oklch(from_var(--accent-primary)_l_c_h/0.92)]
focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--accent-primary)]
active:scale-[0.98] active:duration-75
disabled:opacity-40 disabled:pointer-events-none
"
>
Deploy Pipeline
</button>
```
### 2. Spring Physics Dialog Transition (Accessible)
```css
/* Dialog overlay & surface transition */
.ui-dialog-backdrop {
background-color: oklch(0 0 0 / 0.6);
backdrop-filter: blur(4px);
transition: opacity 200ms ease-out;
}
.ui-dialog-surface {
transform: scale(1) translateY(0);
opacity: 1;
transition:
transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
opacity 200ms ease-out;
}
/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
.ui-dialog-backdrop,
.ui-dialog-surface {
transition-duration: 0.01ms !important;
transform: none !important;
animation: none !important;
}
}
```
---
## 🏛️ Tribunal Verification & Guardrails
### 🛑 Verification-Before-Completion (VBC) Protocol
1. Scan code with `analyzeVisualDefects()` to verify zero instances of `transition-all`.
2. Verify all interactive components include explicit `active:scale-[0.98]` or tactile press equivalent.
3. Confirm presence of `@media (prefers-reduced-motion: reduce)` fallbacks for all keyframe animations.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.