playthru
Installation
SKILL.md
playthru
playthru plays a scripted demo on the site's real UI. A fake cursor glides, clicks real elements, types into real inputs, and a camera zooms in on what matters, then it loops. It has no dependencies, is about 5 KB, and there's no stylesheet to import. Every timing is fixed by the library: there is no speed, easing or duration option, so don't look for one.
The user may not know npm or JavaScript tooling. Do the setup for them, choosing from the paths below, and explain in plain words what you changed.
1. Pick the setup path
Look at the project first:
| Project | Path |
|---|---|
Has package.json and a bundler (Vite, Next, Astro, etc.) |
A. npm |
Plain HTML files, no package.json, or the user doesn't want tooling |
B. CDN |
| React (any framework) | A with playthru/react (section 4) |
A. npm. Run the install with the project's package manager (look for pnpm-lock.yaml, yarn.lock or bun.lock, and use npm if there's none):