Deconstruct

Break an animation into states and a timeline.

By

Raphael Salaja

Price

Free

Deconstruct is an agent skill by Raphael Salaja that takes an animation or interaction apart. It names every state and event, splits each transition into one track per property and puts it all on a page you can scrub and edit.

What it does

  • Reads the source code, the live page or a recording frame by frame instead of guessing from one viewing.
  • Writes a table of states with the events that move between them.
  • Lists from, to, delay, duration and easing for every animated property, and keeps springs as springs.
  • Builds a viewer with a scrubber, 0.25x playback and drag-to-edit segments, plus a side-by-side check against a recording.
  • Saves the result as a timeline.js file that your rebuild imports directly.

When to use it

Use it when you want to rebuild an interaction you admire, or find out exactly why your own animation feels wrong.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. You call it by name, as /deconstruct; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Deconstruct

Break an animation into states and a timeline.

By

Raphael Salaja

Price

Free

Deconstruct is an agent skill by Raphael Salaja that takes an animation or interaction apart. It names every state and event, splits each transition into one track per property and puts it all on a page you can scrub and edit.

What it does

  • Reads the source code, the live page or a recording frame by frame instead of guessing from one viewing.
  • Writes a table of states with the events that move between them.
  • Lists from, to, delay, duration and easing for every animated property, and keeps springs as springs.
  • Builds a viewer with a scrubber, 0.25x playback and drag-to-edit segments, plus a side-by-side check against a recording.
  • Saves the result as a timeline.js file that your rebuild imports directly.

When to use it

Use it when you want to rebuild an interaction you admire, or find out exactly why your own animation feels wrong.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. You call it by name, as /deconstruct; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Deconstruct

Break an animation into states and a timeline.

By

Raphael Salaja

Price

Free

Deconstruct is an agent skill by Raphael Salaja that takes an animation or interaction apart. It names every state and event, splits each transition into one track per property and puts it all on a page you can scrub and edit.

What it does

  • Reads the source code, the live page or a recording frame by frame instead of guessing from one viewing.
  • Writes a table of states with the events that move between them.
  • Lists from, to, delay, duration and easing for every animated property, and keeps springs as springs.
  • Builds a viewer with a scrubber, 0.25x playback and drag-to-edit segments, plus a side-by-side check against a recording.
  • Saves the result as a timeline.js file that your rebuild imports directly.

When to use it

Use it when you want to rebuild an interaction you admire, or find out exactly why your own animation feels wrong.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. You call it by name, as /deconstruct; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.