corehaptics — Claude Code skill: Core Haptics API reference
A skill that hands your agent the Core Haptics docs, so questions about haptic feedback get answered from local reference files.
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a claude-codeWhat corehaptics does
Two files ship with the skill: corehaptics-index.md covers the framework, its patterns and events, while chhapticengine.md walks through engine setup and playback. Ask about CHHapticEngine or a haptic pattern and the agent reads those files instead of guessing.
The answer format is fixed. You get a short summary first, then the file paths holding the full details. Handy when you need to know which API to call and want the long version one click away.
The skill is marked user-invocable and runs in a forked context through the Explore subagent, so the docs stay out of your main session. Worth installing if you build for iOS or macOS and touch haptics at all — otherwise the agent answers from memory.
What it helps with
- set up
CHHapticEngineand start playback - look up Core Haptics patterns and events
- get a short answer plus the file with full details
- keep framework docs out of the main session
Example prompts for the agent
- How do I create and start a CHHapticEngine?
- Which haptic patterns does Core Haptics support?
- Show me how to play a haptic event on a button tap
How to install corehaptics
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a claude-code2Manually: put the files in place
~/.claude/skills/corehaptics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/corehaptics/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a codex2Manually: put the files in place
.agents/skills/corehaptics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a cursor2Manually: put the files in place
.cursor/skills/corehaptics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills corehaptics2Manually: put the files in place
.github/skills/corehaptics/SKILL.md1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a gemini-cli2Platform CLI
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/corehapticsManually: put the files in place
.devin/skills/corehaptics/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about corehaptics
How do I install corehaptics in Claude?
Run npx skills add Prisma-Labs-Dev/apple-skills --skill corehaptics -a claude-code. The skill lands at ~/.claude/skills/corehaptics/SKILL.md.
What does corehaptics do?
It is a Core Haptics reference: the agent searches two doc files for CHHapticEngine, patterns and tactile feedback, then returns a summary with file paths.
How does the skill return answers?
A concise summary comes first, followed by the paths to files with full details. It runs in a forked context via the Explore subagent.
Source text
SKILL.md · MIT
--- name: corehaptics user-invocable: true description: "API reference: Core Haptics. Query for CHHapticEngine, haptic patterns, tactile feedback." context: fork agent: Explore --- # Core Haptics Documentation Search these docs to answer questions about haptic feedback APIs. ## Return Format Always include: 1. **Summary** - Answer the question concisely 2. **File paths** - List relevant files for full details ## Files - `corehaptics-index.md` - Framework overview, patterns, events - `chhapticengine.md` - Haptic engine setup and playback
© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills