gestures SKILL.md skillA

gestures from emilkowalski/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add emilkowalski/skills/gestures@git:20261108.5206a95

Pins git:20261108.5206a95 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
emilkowalski/skills
Path
skills/gestures/SKILL.md
Versions recorded
1
Latest version
git:20261108.5206a95, committed Nov 8, 2026
Size
8,740 bytes
Repository stars
54,854
License
MIT

Build drag, swipe, and sheet interactions that track the finger 1:1 and stay interruptible. Use when building or fixing anything the user drags, swipes, flings, holds, or dismisses with a gesture — drawers, sheets, swipe-to-dismiss toasts and cards, drag-to-reorder, pull-to-refresh, hold-to-confirm — or when a gesture feels laggy, disconnected from the finger, jumps on release, or can't be caught mid-animation. Triggers on — gesture, drag, draggable, swipe, swipe to dismiss, fling, momentum…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Gesture-Driven UI

How to build gestures that feel physical. A gesture is direct manipulation: while the finger is down, the UI is the finger; the moment it lifts, physics takes over. Every rule below follows from that split.

## First decision: build it, or use a solution that exists?

Doing a drawer gesture *right* means momentum-based dragging, overlay opacity matched to drag progress, velocity-aware dismissal, focus trapping, and Escape-to-close. That is weeks of edge cases, not an afternoon. **For a bottom sheet / drawer, default to [Vaul](https://vaul.emilkowal.ski/)** — it exists precisely because this is hard to hand-roll. Build the gesture yourself only when no library covers the interaction (custom swipe cards, bespoke drag interactions). Use the `pick-ui-library` skill when unsure.

## The two phases of every gesture

Walk this split for any gesture you build. Mixing the phases up is the #1 cause of gestures that feel wrong.

```
Is the pointer currently down?
├── Yes → TRACK phase: position maps 1:1 to the pointer.
│         No easing. No duration. No spring. The element IS the finger.
└── No  → RELEASE phase: physics finishes the motion.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add emilkowalski/skills/gestures@sha256:3301a3528632e7b6

The line at the top of this page pins the label git:20261108.5206a95, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_buyucmqlhyshgtke.svg)](https://markdownregistry.com/a/art_buyucmqlhyshgtke)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 8, 2026.

versioncommittedcommitsizeaudit
git:20261108.5206a95 latest2026-11-08 5206a95 8,740 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8740 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

emilkowalski/skills · 54,854 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_buyucmqlhyshgtke
GET https://markdownregistry.com/api/v1/resolve?ref=emilkowalski/skills/gestures
GET https://markdownregistry.com/api/v1/blob/3301a3528632e7b6e980e79f2708f2faa60340e833ce5816b5b081e8cfe83e7f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from emilkowalski/skills

animate-expo SKILL.md skill
emilkowalski/skills · skills/animate-expo/SKILL.md · Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right —…
git:20260915.85e8e23 · audit A · 54,854 stars
animate SKILL.md skill
emilkowalski/skills · skills/animate/SKILL.md · Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it…
git:20261102.f1090be · audit A · 54,854 stars
animation-performance SKILL.md skill
emilkowalski/skills · skills/animation-performance/SKILL.md · Keep web animations inside the frame budget — animate composite-only properties, keep motion off the main thread when…
git:20261102.f1090be · audit A · 54,854 stars
animation-vocabulary SKILL.md skill
emilkowalski/skills · skills/animation-vocabulary/SKILL.md · Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the…
git:20260915.85e8e23 · audit A · 54,854 stars
apple-design SKILL.md skill
emilkowalski/skills · skills/apple-design/SKILL.md · Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing…
git:20260915.85e8e23 · audit A · 54,854 stars
ask-sonner SKILL.md skill
emilkowalski/skills · skills/ask-sonner/SKILL.md · Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and…
git:20260915.85e8e23 · audit A · 54,854 stars
break-ui SKILL.md skill
emilkowalski/skills · skills/break-ui/SKILL.md · Try to break a piece of UI by feeding it worst-case data — long names, unbreakable emails, one-letter names, missing…
git:20261002.e8a175d · audit B · 54,854 stars
choreograph SKILL.md skill
emilkowalski/skills · skills/choreograph/SKILL.md · Coordinate several elements that animate together — decide what moves, in what order, how much they overlap, and what…
git:20261104.c8a7962 · audit B · 54,854 stars
emil-design-eng SKILL.md skill
emilkowalski/skills · skills/emil-design-eng/SKILL.md · This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible…
git:20261102.f1090be · audit A · 54,854 stars
find-animation-opportunities SKILL.md skill
emilkowalski/skills · skills/find-animation-opportunities/SKILL.md · Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it…
git:20260915.85e8e23 · audit B · 54,854 stars
improve-animations SKILL.md skill
emilkowalski/skills · skills/improve-animations/SKILL.md · Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and…
git:20260915.85e8e23 · audit B · 54,854 stars
mobile-native SKILL.md skill
emilkowalski/skills · skills/mobile-native/SKILL.md · Make a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from…
git:20260915.85e8e23 · audit A · 54,854 stars

Every file in emilkowalski/skills

Browse by kind, by grade A, or by owner.