/design-engine:micro-interactions-and-feedbackfrom design-engine
Designs per-control feedback, trigger rules, and feedback loops for presses, toggles, inputs, selections, loading, success, rollback, optimistic actions, haptics, and reduced-motion alternatives.
Ships in design-engine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
prefers-reduced-motion strategy. That is ../motion-design/SKILL.md (this skill defers to it and never restates it).../motion-design (§4.3–4.4, View Transitions).../../10-content-design-and-ux-writing/.../../04-web-and-ui-design/ or the token/theming group.| Input | Source | Required? | Evidence |
|---|---|---|---|
| Control, task, and complete state set | Product flow and component spec | yes | Reachable-state inventory |
| Motion tokens and platform channels | motion-design and platform guidance | yes | Approved timing, haptic, and reduced-motion rules |
| Server authority and failure behaviour | Engineering contract | when remote | Success, latency, rejection, and rollback cases |
motion-design (timing scale, spring presets, easing curves).references/micro-interaction-anatomy.md. If you cannot name the trigger and the rule, you are decorating, not designing feedback.../motion-design/SKILL.md. Feedback sits in the 100–150 ms band (press/toggle/hover); settle/confirm uses a spring with ζ ≥ 0.7 (no visible bounce), default ζ = 1.0. Animate transform + opacity only.focus-visible (keyboard) and disabled (no motion). Feedback must never be colour-alone — pair it with shape/icon/position/text (WCAG 1.4.1).doctrine/references/wcag-2.2-criteria.md).examples/). Run the acceptance checklist.| Condition | Feedback design | Wrong-choice failure |
|---|---|---|
| Local authoritative action | Immediate visual state change | Artificial delay makes a reliable action feel broken |
| Reversible server-backed action | Optimistic feedback with visible rollback | Premature success silently diverges from server truth |
| Irreversible or high-risk action | Confirm before action; do not optimise success | Optimism creates harmful false confirmation |
| Haptics unavailable or inappropriate | Visual plus semantic state feedback | Haptic-only feedback excludes users and platforms |
Read and search are required for component states, motion tokens, and service behaviour. Editing is allowed only when implementation is requested. Rendering or execution is required to claim timing, haptic, assistive-technology, or rollback success.
If required evidence or tooling is unavailable, use the scoped fallback below and mark the result unverified. Without a runnable control, produce a state-and-timeline specification and mark tactile, timing, and assistive checks unverified. Without server failure semantics, do not prescribe optimistic success; use pending feedback until authority is known.
ease-*-back / bouncy overshoot interpolators (the App Design Apprentice habit). They violate the engine's ζ ≥ 0.7 no-bounce rule and are the #1 AI animation fingerprint (doctrine/references/ai-slop-taxonomy.md). Use a spring in the no-bounce band; if you want a "pop", cap it at ζ≈0.7–0.75 (barely perceptible), never elastic.| Artefact | Consumer | Evidence and acceptance condition |
|---|---|---|
| Per-control feedback specification | Component designers and engineers | Every reachable state has honest visual and semantic feedback |
| Optimistic/rollback contract | Frontend and service owners | Latency, success, rejection, and restoration paths are explicit |
| Accessibility and platform evidence | QA and release owner | Reduced-motion, non-colour cues, and supported haptics are verified |
examples/toggle-switch-feedback-spec.md — a worked notification-toggle spec: full anatomy, every state, spring settle (ζ≈0.75, no bounce), optimistic update with rollback, haptic pairing, and a considered prefers-reduced-motion replacement. Never lorem.references/micro-interaction-anatomy.md — the trigger → rules → feedback → loops model, the feedback-channel decision, signifier rules, optimistic-feedback contract, and the haptic-pairing table.../motion-design/SKILL.md — the owning motion law: timing (100/300/500), easing vs spring, ζ ≥ 0.7 no-bounce, GPU-only properties, and the canonical prefers-reduced-motion strategy. This skill defers to it.doctrine/design-doctrine.md — the anti-slop charter; over-animated or bouncy feedback is a slop tell.doctrine/references/ai-slop-taxonomy.md — ease-*-back/overshoot and animation-fatigue tells to inoculate against.doctrine/references/wcag-2.2-criteria.md — accessibility floor: 2.3.3 (reduced motion), 2.3.1 (≤3 flashes/s), 1.4.1 (never colour-alone), 2.5.8 (target size), 4.1.2 (state exposed to AT).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-design-engine --plugin design-engine110 skills in this plugin
/accessibility-wcag-2-2-complianceUse when designing or auditing an interactive UI for WCAG 2.2 AA, keyboard and focus behaviour, accessible names, screen readers, target size, reflow, authentication, or reduced motion. Use inclusive-and-assistive-design for needs beyond the compliance floor./accessible-color-and-contrastUse when verifying or fixing text, UI, focus, border, status, or data colours for contrast and colour-vision accessibility. Unlike color-system-and-palette, this is the focused WCAG/APCA and non-colour-cue gate, not palette creation./advertising-creative-art-directionOther plugins' skills for the same job