corehaptics

Create and manage Core Haptics haptic patterns and engine states on iOS.

299|16|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Prisma-Labs-Dev/apple-skills --skill corehaptics-prisma-labs-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: corehaptics
Source: https://github.com/Prisma-Labs-Dev/apple-skills/tree/main/skills/corehaptics
Command: npx skills add https://github.com/Prisma-Labs-Dev/apple-skills --skill corehaptics-prisma-labs-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the implementation of complex haptic feedback, helping developers bridge the gap between visual UI and physical device interaction.

Core Features & Use Cases

  • Haptic Engine Management: Provides comprehensive guidance on initializing, starting, and stopping the CHHapticEngine.
  • Pattern Creation: Offers detailed references for defining transient and continuous haptic patterns, including audio-haptic synchronization.
  • Use Case: Use this Skill to design custom tactile responses for game events, such as collisions or weapon firing, or to provide subtle feedback for UI interactions like button presses or slider adjustments.

Quick Start

Use the corehaptics skill to provide a code example for initializing a haptic engine and playing a transient haptic pattern.

Frequently Asked Questions about corehaptics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add custom haptic feedback to my iOS app?

To add custom haptic feedback to an iOS app, initialize a CHHapticEngine, define transient or continuous haptic patterns, and schedule them for playback. This Skill provides API documentation for configuring and managing these haptic patterns.

What is the difference between transient and continuous haptic patterns in Core Haptics?

Transient haptic patterns are brief, punctuated events suitable for button presses or collisions, while continuous patterns provide sustained tactile feedback for ongoing interactions. The Core Haptics framework allows detailed configuration of both pattern types.

Can I synchronize audio with haptic feedback using Core Haptics?

Yes, Core Haptics supports audio-haptic synchronization by allowing you to register audio resources and play them alongside haptic patterns. This enables the creation of synchronized tactile and audio responses for game events or UI interactions.

How do I manage CHHapticEngine states and hardware capabilities in Swift?

You manage CHHapticEngine states by initializing, starting, and stopping the engine while querying hardware capabilities to ensure device support. The framework provides comprehensive guidance for advanced configuration and maintaining stable engine states during haptic playback.

Does Core Haptics work for both simple UI adjustments and complex game events?

Yes, Core Haptics works for both simple UI adjustments and complex game events. You can design subtle tactile feedback for slider adjustments or custom dynamic responses for game events like collisions using advanced parameter configuration.