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.
npx skills add dpearson2699/swift-ios-skills --skill homekit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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](#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. Add a **MatterSupport Extension** target and set its principal class to a `MatterAddDeviceExtensionRequestHandler` subclass 2. Add `NSBonj
- Contents
- Setup
- HomeKit Configuration
- MatterSupport Configuration
- Framework Boundary
- HomeKit Data Model
- Initializing the Home Manager
- Accessing Rooms
- Managing Accessories
- Discovering and Adding Accessories
- Listing Accessories and Services
- Moving an Accessory to a Room
- Reading and Writing Characteristics
- Reading a Value
What does the homekit skill do?
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.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill homekit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.