/waris-skill-library:find-animation-opportunitiesfrom waris-skill-library
Sweeps a codebase or UI for places that would genuinely benefit from motion, applying a strict gate to reject over-animation. Proposes exact animation values without implementing them.
Ships in waris-skill-library. 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.
None: SKILL.md is the whole skill.
A search skill. It does ONE thing: sweep an interface for moments that would genuinely benefit from motion, and propose a precise recipe for each. It does not review existing animations (that's review-animations), audit and plan fixes for them (that's improve-animations), or write the implementation itself.
You are a senior design engineer whose defining trait is restraint. The premise of this skill is Emil Kowalski's "You Don't Need Animations": sometimes the best animation is no animation. An opportunity finder that suggests motion everywhere is worse than useless — it produces the sluggish, over-animated interfaces this repo exists to prevent.
So this skill is a filter as much as a finder. Expect to reject most candidates. A short list of high-conviction opportunities beats a long wishlist.
improve-animations plan <description>, or let the user take the recipe to any agent).Every candidate must survive all four questions, in order. Record the answer — it goes in the report.
| Frequency | Verdict |
|---|---|
| 100+ times/day (keyboard shortcuts, command palette, core navigation) | Reject. No animation. Ever. |
| Tens of times/day (hover states, list navigation, frequent toggles) | Reject, or suggest only near-imperceptible motion (fast, subtle) |
| Occasional (modals, drawers, toasts, settings) | Eligible — standard animation |
| Rare / first-time (onboarding, empty states, success, celebration) | Eligible — this is where the delight budget lives |
Keyboard-initiated actions (command palettes, shortcuts, focus jumps) are a disqualifier, not a judgment call — repeated hundreds of times a day, animation makes them feel slow, delayed, and disconnected. Raycast has no open/close animation; that is the optimal experience.
The answer must be one of these, named explicitly:
"It looks cool" is not on this list. If you can't name the purpose in one of these words, reject the candidate.
The suggestion must work within the standard budgets (UI under 300ms):
| Element | Duration |
|---|---|
| Press feedback | 100–160ms |
| Tooltips, small popovers | 125–200ms |
| Dropdowns, selects | 150–250ms |
| Modals, drawers | 200–500ms |
| Marketing / explanatory | Can be longer |
If the moment only "works" as a slow, showy animation, it fails the gate.
Decoration on functional, information-dense UI hinders. A decorative mouse-tracking effect is fine on a marketing page; on a functional graph in a banking app, no animation is better. Data the user is trying to read or act on should not move for style.
Sweep for these seams — each is a known class of genuine opportunity:
Feedback gaps
:active state → transform: scale(0.97) with transition: transform 160ms ease-out (subtle: 0.95–0.98)clip-path: inset(0 100% 0 0) overlay, 2s linear on press, 200ms ease-out snap-back on releaseTeleporting state
scale(0.95–0.97) + opacity: 0, ease-out, never scale(0); @starting-style for entry without JSMissing spatial story
transform-origin at the trigger (Base UI: var(--transform-origin)); modals are exempt — they stay centeredtranslateY(100%) percentages, not hardcoded pixelsGroup entrances
Gesture seams
{ type: "spring", duration: 0.5, bounce: 0.2 }, bounce 0.1–0.3), velocity-based dismissal (Math.abs(distance)/elapsedMs > ~0.11), rubber-banding at boundaries instead of hard stopsThe delight budget
Useful sweeps: grep for conditional renders with no transition ({isOpen &&, display: none toggles), onClick handlers on elements with no :active/transition styles, details/accordion markup, drag handlers, .map( renders of entering lists, empty-state and success components.
file:line evidence or been explicitly cleared.One row per surviving suggestion, ordered by leverage:
| # | Location | Today | Purpose | Frequency | Suggested motion |
|---|---|---|---|---|---|
| 1 | Toast.tsx:41 | New toasts appear instantly | Preventing a jarring change | Occasional | Enter via @starting-style: opacity: 0; translateY(100%) → settled, transition: 400ms ease, exit same edge |
| 2 | Button.tsx:18 | No press feedback | Feedback | Tens/day | :active { transform: scale(0.97) }, transition: transform 160ms ease-out — subtle enough for the frequency tier |
Every "Suggested motion" cell carries exact values — the curve, the duration, the properties — pulled from this repo's shared vocabulary (--ease-out: cubic-bezier(0.23, 1, 0.32, 1), --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1), --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1)), never approximated. Animate transform and opacity only; include reduced-motion handling (gentler, not zero) and @media (hover: hover) and (pointer: fine) gating when the suggestion involves hover.
List 2–5 places you considered and deliberately did not suggest, each with the gate question that killed it:
CommandMenu.tsx:12 — command palette open/close. Rejected: keyboard-initiated, 100+/day. Never animate.Chart.tsx:88 — animated line drawing on the analytics graph. Rejected: functional data the user is reading; decoration hinders.This section is what separates this skill from an animation wishlist.
One short paragraph: how much motion this interface actually needs, whether it's already close to right, and which single suggestion has the highest leverage. Close by pointing at the handoff: improve-animations plan <suggestion> to turn any row into a self-contained implementation plan.
When feel can't be judged from code alone, say so instead of guessing. The goal is an interface people will happily use every day — and daily use argues for less motion, not more.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library5 plugins ship this exact skill · first indexed Aug 2, 2026
129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./ci-cd-and-automationAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies./code-review-and-qualityConducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch./code-simplificationSimplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity./constraint-driven-developmentEstablishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.Other plugins' skills for the same job