Use when adding haptic feedback for user confirmations (button presses, toggles, purchases), error notifications, or custom tactile patterns (Core Haptics). Covers UIFeedbackGenerator and CHHapticEngine patterns.
npx playbooks add skill johnrogers/claude-swift-engineering --skill haptics
Haptic feedback provides tactile confirmation of user actions and system events. When designed thoughtfully, haptics transform interfaces from functional to delightful.
Haptics should enhance interactions, not dominate them. The core principle: haptic feedback is like sound design—every haptic should have purpose (confirmation, error, warning), timing (immediate or delayed), and restraint (less is more).
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Reference | Load When |
|-----------|-----------|
| [UIFeedbackGenerator](references/uifeedbackgenerator.md) | Using simple impact/selection/notification haptics |
| [Core Haptics](references/core-haptics.md) | Creating custom patterns with CHHapticEngine |
| [AHAP Patterns](references/ahap-patterns.md) | Working with Apple Haptic Audio Pattern files |
| [Design Principles](references/design-principles.md) | Applying Causality, Harmony, Utility framework |
prepare() to reduce latencyprepare() calls to prevent jank.UIFeedbackGenerator.isHapticFeedbackEnabled before triggering. Graceful degradation is required.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.