Agent skill Web motion
Transitions UI Generation
Design, implement or review motion on the web.
Install the skill
Start from the publisher’s skill folder and read LICENSE.txt. The tested Skill CLI rejects the current SKILL.md metadata. The publisher’s documented runtime copy works directly in a project. Start the manual for that setup.
Open the publisher’s downloadView operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Task
- Reveal an original result card after data arrives.
- Setup
- Two JavaScript modules and two CSS files from the published folder. No runtime dependency.
- Card options
- variant: "ui" · mode: "skeleton"
- Skill name
transitions-ui-generation- Repository
Jakubantalik/transitions.dev
Trigger the drawing when the real content is ready
An underspecified request
Run an AI animation on every loading state across the app.
The runtime measures the actual rendered element. Before the font and size settle, the drawing can trace the wrong layout.
A verifiable use
- Pick one generated result and copy the runtime from the published folder.
- Call generate when the real card has rendered and fonts are ready.
- Check the reveal, cancellation, reduced motion and the first useful keyboard action.
Transitions UI Generation operation manual
Use the published runtime on your own result card and leave data loading truthful.
Prepare a local fixture that returns real card content with a known action.
Copy the published runtime into the project
The project has the original runtime and the normal card renders before effects are added.
Prompt · Step 1Read [result card and local test route] and the upstream SKILL.md and LICENSE.txt at https://github.com/Jakubantalik/transitions.dev/tree/fd4d62bf85fbea38ca2abc024f009648671ef9ce/skills/transitions-ui-generation. Use the folder’s documented file-copy installer. Add ui-generation.js, text-image-generation.js, ui-generation.css and text-image-generation.css together in the local project. Confirm no same-name files would be overwritten, keep both modules in the same directory, and load both styles once. Verify the unanimated card with real fixture data first.Wire the reveal to returned content
One call measures the rendered card and plays the default wireframe effect.
Prompt · Step 2In [result card component], wait until the real result has rendered, its size has settled and document.fonts.ready resolves. Then call generate on its element with variant: "ui" and mode: "skeleton". Use a client component if needed. Cancel the previous run on cleanup or when replacing the result. Keep loading feedback tied to the data request and let the runtime own opacity, clip-path and filter while it runs.Verify the final card and interrupted reveal
The content stays visible after completion or cancellation and the action can receive keyboard focus.
Prompt · Step 3On [local result preview], trigger the response and wait for run.finished. Confirm the final card shows its title, content and real action. Trigger another run and cancel or unmount it. Check that no old overlay lingers and the new card or next route is usable. Repeat in a browser context with reduced motion and test the real action by keyboard. Show the rendered evidence and any checks still missing.
Look up a generation variant
Choose the variant for the element being measured.
Generate a full card or panelvariant: "ui"
- Command or reference
mode: "skeleton"- Examples
- Generate after the result, layout and fonts are ready. Cancel the run when the element is removed.
Troubleshooting and FAQ
Does the Skill CLI install this specific folder?
The tested CLI skipped the published file because of its YAML description. Use the original runtime files and read the Skill document directly. The manual’s references link to the tested publisher revision.