Agent skill

Gesture Patterns Skill: Design Swipe, Drag and Long-Press

The gesture-patterns skill has an AI coding agent design touch and pointer gestures, with discoverability, feedback, thresholds, conflict resolution and non-gesture alternatives.

Install
/plugin marketplace add Owl-Listener/designer-skills
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the gesture-patterns skill?

The gesture-patterns skill is a SKILL.md in the interaction-design plugin of Owl-Listener's designer-skills repository. It has an AI coding agent design eight core gestures with rules for discoverability, feedback, thresholds, conflicts and accessibility, including a non-gesture alternative for each, plus undo for destructive actions.

The gesture-patterns skill is part of the interaction-design plugin in Owl-Listener's designer-skills pack. It casts the agent as an expert in intuitive gesture-based interactions that feel natural and discoverable across touch and pointer devices.

Its description applies the skill when input is gestural. For OS-standard gestures on iOS and Android, it points to platform-conventions in the ui-design plugin, so this skill covers swipe, drag and long-press interactions and their discoverability.

The eight core gestures

  • Tap: select, activate, toggle.
  • Double tap: zoom, like or favorite.
  • Long press: context menu, reorder mode, preview.
  • Swipe: navigate, dismiss, reveal actions.
  • Pinch: zoom in and out.
  • Rotate: rotate content such as maps and images.
  • Drag: move, reorder, adjust values.
  • Pull: refresh content.

Design rules

Discoverability pairs each gesture with a visible affordance and a hint on first use. Feedback starts immediately and shows progress, snap points or rubber-banding, then confirms completion. Thresholds cover minimum distance, velocity, direction lock and a cancel zone.

Conflict resolution

  • Scroll against swipe: lock direction after the initial movement.
  • Tap against long press: a time threshold, typically 500ms.
  • Pinch against drag: distinguish by the number of touch points.
  • System gestures take priority, such as the back swipe and notification pull.

Who the gesture-patterns skill is for

Best for

  • Mobile and touch interfaces with swipe actions, reordering or pull to refresh.
  • Designers who need every gesture to have a button or menu alternative, a rule the skill states in both its discoverability and accessibility sections.
  • Teams tuning how gesture feedback animates while respecting reduced motion preferences.

Not for

  • OS-standard gestures on iOS and Android. The description points to platform-conventions for those, and the iOS design and Android design skills cover platform patterns.