Index of every page on this site: llms.txt
All skills
fajarhide avatar

/no-janky-motion

@82a0a7f
Run it yourself

Use when adding, reviewing or fixing motion on a web interface (transitions, micro-interactions, menus, dialogs, page intros, scroll animation), or when a page "feels slow", "janky", "laggy", "too animated" or "jumps", or before shipping a change that adds animation. Not for promo videos or rendered motion graphics.

Use this Skill: https://skilld.dev/gh/fajarhide/no-fake-done/no-janky-motion

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈657 tokens on demand. Your agent reads this file only when SKILL.md points to it.

no-janky-motion

The menu takes 600 ms to open, and people open it forty times a day. On a cheap phone it stutters. With reduced motion switched on, the spinner still spins, and the headline that fades in on load stays invisible when the script fails.

no-janky-motion measures the motion the browser runs and tells you which of it to cut.

Checks the motion a page runs in a browser. scripts/motion_probe.py loads the page four times (normal, reduced motion, JavaScript off, CPU slowed 4x), performs one action, and records every animation and transition that starts, with its selector, properties, duration, easing and first keyframe, plus frame gaps and layout shift. The skill then has the agent reverse motions halfway, trigger them fast and use the keyboard, and report at most ten findings, each with its proof.

npx skills add fajarhide/no-fake-done --skill no-janky-motion -g
pip install playwright && playwright install chromium
Why does this menu feel slow?
Check the animations on http://localhost:3000 before we ship
Does this page respect reduced motion?

The rules

Interface motion under 300 ms, nothing grows from scale(0), no ease-in on entrances, only cheap properties, and reduced motion means less movement while keeping the meaning. Where two reasonable numbers exist, the skill takes the looser one and calls it a lead. Layout shift uses the Core Web Vitals line of 0.1. Taste rules, such as one reveal per page, are left out, because no script can check them and they would push every page towards one style.

What has been tested

scripts/test_motion_probe.py builds a page with seven planted problems and one control that is fine:

Planted Caught
Width animated over 600 ms with ease-in layout property, slow, ease-in
A menu popping from scale(0) grows from nothing
An infinite spinner below the first screen loop out of view
The same spinner with reduced motion on ignores reduced motion
An intro that shows text only after a script runs hidden without JavaScript
An opacity fade of 150 ms with ease-out not flagged, as it should be

The first version of the probe failed this test twice: it flagged transition: all on every element, because the browser default is all 0s, and it missed the spinner because it scrolled before looking. Both are fixed and the test passes.

This skill has not been measured against agents working without it. The fixture was written by the same author as the probe, so it shows that the probe sees what it claims to see, not that the skill finds more real problems.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill measures web interface motion and animations to detect jank, accessibility issues (reduced motion support), and layout shifts. It uses Playwright to drive a browser and analyze animation keyframes and timing.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

Signed by skilld at 82a0a7f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for fajarhide/no-fake-done/no-janky-motion