← Back to articles

NewsBy: agentsskillsui

Your app's swipes are about to feel buttery: AI agents learned gestures

The Gestures skill teaches AI agents to build drawers, swipes and cards that behave like a well made native app.

AI news faster than on the site — on Telegram KARMAZIN MEDIA

Your app's swipes are about to feel buttery: AI agents learned gestures
Photo: KARMAZIN MEDIA
Media: KARMAZIN MEDIA

Design engineer Emil Kowalski has released Gestures, a skill for AI agents. It teaches the model to build anything people drag, swipe, fling or hold: drawers, bottom sheets, swipeable cards, modals.

Left alone, an agent writes dragging the naive way: pull the drawer past a threshold and it closes, stop short and it snaps back. With the skill, things behave like a well made native app. The element tracks your finger one to one and rubber-bands at the edges, and dismissal depends on velocity, not just distance. Flick it fast and the drawer goes away before reaching the threshold, carrying its momentum. Linked values such as the overlay's opacity are derived from how far you've dragged the sheet.

Install takes one command: npx skills@latest add emilkowalski/skills --skill gestures. No special wording needed, you describe the problem like you would to a teammate: "/gestures add drag to this notification so I can swipe it away" or "/gestures the drawer jumps when I let go halfway". It also helps when gestures stutter. The skill was last updated on November 8 and grew out of the author's course on AI for UI.

A small thing, but small things like this are what stop an app from feeling homemade.

original