← ClaudeAtlas

homekitlisted

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.
dpearson2699/swift-ios-skills · ★ 730 · AI & Automation · score 80
Install: claude install-skill dpearson2699/swift-ios-skills
# 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. Targets Swift 6.3 / iOS 26+. ## Contents - [Setup](#setup) - [HomeKit Data Model](#homekit-data-model) - [Managing Accessories](#managing-accessories) - [Reading and Writing Characteristics](#reading-and-writing-characteristics) - [Action Sets and Triggers](#action-sets-and-triggers) - [Matter Commissioning](#matter-commissioning) - [MatterAddDeviceExtensionRequestHandler](#matteradddeviceextensionrequesthandler) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### HomeKit Configuration 1. Enable the **HomeKit** capability in Xcode (Signing & Capabilities) 2. Add `NSHomeKitUsageDescription` to Info.plist: ```xml <key>NSHomeKitUsageDescription</key> <string>This app controls your smart home accessories.</string> ``` ### MatterSupport Configuration For Matter commissioning into your own ecosystem: 1. Enable the **MatterSupport** capability 2. Add a **MatterSupport Extension** target to your project 3. Add the `com.apple.developer.matter.allow-setup-payload` entitlement if your app provides the setup code directly ### Availability Check ```swift import HomeKit let homeManager = HMHomeManager() // HomeKit is available on iPhone, iPad, Apple TV, Apple Watch, Mac, and Vision Pro. // Author