axiom-haptics

Design and implement haptic feedback for iOS apps using UIFeedbackGenerator, Core Haptics, and AHAP patterns.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-haptics-pradeepmouli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-haptics
Source: https://github.com/pradeepmouli/swift-template/tree/main/.agents/skills/axiom-haptics
Command: npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-haptics-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps developers design and implement tactile feedback across iOS apps using UIFeedbackGenerator, Core Haptics, and AHAP patterns to create cohesive user experiences.

Core Features & Use Cases

  • UIFeedbackGenerator for simple, immediate feedback on taps, selections, and controls.
  • Core Haptics for custom patterns, looping textures, and dynamic parameter updates.
  • AHAP files and audio-haptic synchronization to ensure harmony between touch, sound, and visuals.
  • Testing, debugging, and troubleshooting tips to ensure reliable haptics across devices.

Quick Start

Create a coordinated haptic pattern that synchronizes with a 0.5s shield animation to achieve harmony with audio.

Frequently Asked Questions about axiom-haptics

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

FAQPage Schema
How do I implement custom haptic feedback in iOS using Core Haptics?

Implement custom haptic feedback in iOS using Core Haptics by designing CHHapticEngine patterns with looping textures, dynamic parameter updates, and AHAP files for complex tactile responses. You can create coordinated patterns that synchronize with animations and audio for cohesive user experiences.

What is the difference between UIFeedbackGenerator and Core Haptics on iOS?

UIFeedbackGenerator provides simple, immediate feedback for taps and selections, while Core Haptics enables custom patterns, looping textures, and dynamic parameter updates. Use UIFeedbackGenerator for standard controls and Core Haptics for audio synchronization and complex haptic sequences.

How do I synchronize haptic feedback with audio and animations in an iOS app?

Synchronize haptic feedback with audio and animations using AHAP files and the CHHapticEngine in iOS. This ensures harmony between touch, sound, and visuals by creating coordinated haptic patterns timed precisely with your 0.5s shield animations and audio tracks.

Why are my iOS haptics not working on physical devices?

iOS haptics may not work due to improper CHHapticEngine initialization, unsupported device hardware, or incorrect AHAP pattern syntax. Debug haptic issues by testing on physical iOS devices, verifying Core Haptics availability, and troubleshooting your dynamic parameter updates.

Can I use AHAP files for audio-haptic synchronization in Swift?

Yes, you can use AHAP files in Swift to achieve audio-haptic synchronization. AHAP patterns integrate with the CHHapticEngine to ensure harmony between touch, sound, and visuals by defining precise haptic and audio events within your iOS application.

When should I use Core Haptics instead of UIFeedbackGenerator for UI interactions?

Use Core Haptics instead of UIFeedbackGenerator when you need custom patterns, looping textures, or audio synchronization. UIFeedbackGenerator is sufficient for simple, immediate feedback on taps and selections, while Core Haptics handles complex, dynamic parameter updates.