/tapkit-ios-sdk:tapkit-build-an-appfrom tapkit-ios-sdk
Builds a complete iOS app controlled by a TAP wearable device. Covers connecting, handling finger taps/air gestures/motion, and providing visual or audio feedback via UIKit or SwiftUI.
Ships in tapkit-ios-sdk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user may not be a developer. Keep the project small, explain how to run it in Xcode in plain words, and test with the real device. There is no TAP simulator.
tapkit-getting-started. Confirm tapped prints a combination before building anything else.tapkit-tappingtapkit-air-gestures (TapXR / TapBand processed layer)tapkit-motiontapkit-knobtapkit-dpadtapkit-raw-sensorsvibrate(durations:) and something on screen, so the user knows the gesture was seen.Delegate methods already run on the main queue. Update UI in them. Do not parse, log, or compute a model there if it takes more than a moment; hop to a background queue and come back to the main queue to draw.
final class TapSession: TAPKitDelegate {
var onTap: ((UInt8) -> Void)?
func start() {
TAPKit.sharedKit.addDelegate(self)
TAPKit.sharedKit.setDefaultTAPInputMode(.controller(), immediate: true)
TAPKit.sharedKit.setDefaultTAPXRState(.tapping(), applyImmediate: true)
TAPKit.sharedKit.start()
}
func tapped(identifier: String, combination: UInt8, multitap: UInt8) {
onTap?(combination)
}
}
SwiftUI: own a TapSession on an ObservableObject, publish the latest event, and render from that. The delegate is still a class. Do not make the SwiftUI view itself the delegate unless it is a UIViewController.
| Output | How |
|---|---|
| On-screen UI | UIKit views or SwiftUI. Show "Waiting…", "Connected", "Disconnected". |
| The Tap types letters | TAPInputMode.text() while a text field is focused. The delegate will not see those taps. |
| System cursor | TAPInputMode.controllerWithMouseHID() and AssistiveTouch (iOS 13+). |
| Sound | AVAudioEngine or a short AVAudioPlayer in the app bundle. |
| Another app | Not from this SDK. iOS apps do not inject global key presses. |
Add on-screen buttons that perform the same actions as the taps, so the UI can be tried without a device.
README.md.TAPKit.framework (build the TAPKit scheme, then Embed & Sign). There is no Package.swift or podspec.tapkit-getting-started.TAPKitUnityBridge, which is a separate C callback surface. A normal iOS app should use TAPKitDelegate, not the Unity bridge.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tap-device, ios-app, wearable, gesture-control, xcode-project
npx claudepluginhub tapwithus/tap-ios-sdk --plugin tapkit-ios-sdk8 skills in this plugin
/tapkit-air-gesturesHandle TAPXRAirGesture (processed click, drag, drop, fist, swipe) on TapXR and TapBand, document raw firmware class indexes, switch tapping vs air-gesture models, and handle Tap Strap TAPAirGesture. Use for air gestures, pinch, swipe, fist, TAPXRState, or raw detections./tapkit-dpadBuild a D-Pad style controller on TapXR or TapBand. Swipes move, short clicks select, a pinch-hold locks into rotate or drag, and a fist hides. Use for menus, select and move, drag, rotate, or game controls./tapkit-getting-startedFirst skill for any TAP iOS app. The order is add TAPKit and NSBluetoothAlwaysUsageDescription, pair the Tap in Settings, addDelegate, setDefaultTAPInputMode (and setDefaultTAPXRState for TapXR), then start(). start() alone delivers no taps. Use for adding the SDK, pairing, connecting, setup, or no tap events./tapkit-knobBuild a virtual knob on TapXR or TapBand. A pinch-hold (DragIndex through DragPinky) grabs a value and wrist roll turns it up or down. Drop releases. Use for knob, dial, twist, volume, brightness, or continuous value control./tapkit-motionUse TAP hand motion from moused velocities and tapDidChangeOrientation roll, pitch, and yaw to move a cursor, tilt, or rotate. Use for air mouse, pointer, cursor, AssistiveTouch, or orientation./tapkit-raw-sensorsStream raw accelerometer and gyroscope samples with TAPInputMode.rawSensor or TAPInputMode.v2Debug(), and set sensitivity with named enums. Use for raw sensors, raw IMU, accelerometer, gyro, logging, or custom gesture recognition.Other plugins' skills for the same job