Skip to content
SkillModel-led1,909 tokens in use

gestures

Builds drag, swipe and sheet interactions that track the finger one to one, carry release speed and can be caught mid-animation.

58,388 stars on the repository MIT Licenseemilkowalski/skills · skills/gestures
npx skills@latest add emilkowalski/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing gestures costs

162tokens idle
1,909tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure11/25
  • Examples15/15
  • Output10/15
  • Size13/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity80
  • Maintenance40
  • Community52
  • Maturity28
  • Momentum40

Gestures covers anything a user drags, swipes, flings, holds or dismisses: drawers, sheets, swipe-to-dismiss toasts and cards, drag-to-reorder, pull-to-refresh and hold-to-confirm. It starts by deciding whether to build the gesture or use an existing solution, splits every gesture into a track phase and a release phase, and treats interruptibility as required. It also helps when a gesture feels laggy, jumps on release or cannot be grabbed mid-animation.

What You Get

  • A build-or-reuse decision before any code
  • Track-phase and release-phase rules
  • Interruptible gestures that can be caught mid-animation
  • A touch checklist and reduced-motion handling

Common Use Cases

  • Building a bottom sheet with snap points
  • Adding swipe-to-dismiss to a toast or card
  • Fixing a gesture that jumps when released

What Makes It Unique

It treats the finger as the source of truth: during tracking the element follows one to one, and on release the speed carries into the animation. Interruptibility is required, and the skill names Vaul and Motion drag props as the existing solutions to check first.

Under The Hood

A single SKILL.md with no scripts and no network access. The model reads the component, decides whether an existing library fits, and writes or edits gesture code with Motion drag props or Vaul when they apply.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers