Agent skill · software engineering · dpearson2699

homekit

Control smart-home accessories and commission Matter devices using HomeKit and MatterSupport. Use when managing homes/rooms/accessories, creating action sets or triggers, reading accessory characteristics, onboarding Matter devices, or building a third-party smart-home ecosystem app.

Why this skill is useful

Provides specific commands and patterns for managing smart home accessories and Matter device commissioning that the AI wouldn't reliably generate on its own.

What it needs

About 6k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.

What this skill does

HomeKit Control home automation accessories and commission Matter devices. HomeKit manages the home/room/accessory model, action sets, and triggers. MatterSupport handles device commissioning into your ecosystem. Contents Setup HomeKit Data Model Managing Accessories Reading and Writing Characteristics Action Sets and Triggers Matter Commissioning MatterAddDeviceExtensionRequestHandler Common Mistakes Review Checklist References Setup HomeKit Configuration 1. Enable the HomeKit capability in Xcode (Signing & Capabilities) 2. Add NSHomeKitUsageDescription to Info.plist: MatterSupport Configuration For Matter commissioning into your own ecosystem: 1. Add a MatterSupport Extension target and set its principal class to a MatterAddDeviceExtensionRequestHandler subclass 2. Add NSBonjourServices entries for matter.tcp, matterc.udp, and matterd.udp 3. Add com.apple.developer.matter.allow-setup-payload only if the caller supplies a Matter setup payload programmatically Framework Boundary Need Framework --- --- Homes, rooms, accessories, characteristics, actions, triggers HomeKit Commission Matter into the app ecosystem MatterSupport Select and authorize a nearby Bluetooth or Wi-Fi accessory AccessorySetupKit Exchange Bluetooth GATT data after selection CoreBluetooth Join or configure an accessory's Wi-Fi network after selection NetworkExtension HomeKit Data Model HomeKit organizes home automation in a hierarchy: Initializing the Home Manager Create a single HMHomeManager and implement the delegate to know when data is loaded. HomeKit loads asynchronously -- do not access homes until the delegate fires. Accessing Rooms Managing Accessories Discovering and Adding Accessories Use the Framework Boundary table before adding an accessory; only HomeKit/MatterSupport work continues in this skill. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills dpearson2699/homekit

View the source on GitHub

Browse the @skills marketplace