If you're building a HomeKit app or integrating Matter devices, this gets you through the setup fast. It covers the full hierarchy from HMHomeManager down to characteristics, shows how to read and write accessory values, and walks through action sets and triggers for automation. The Matter commissioning section is especially helpful since that's usually where documentation gets thin. One thing to watch: HomeKit loads asynchronously, so you need to wait for the delegate callback before touching any data. The common mistakes section would have been useful to see, but the code samples are clean and the examples cover the real use cases like moving accessories between rooms and enabling notifications for live updates.

skills.sh installs
3.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill homekit --agent claude-code

Installs into .claude/skills of the current project.

Files

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 Configuration

  1. Enable the HomeKit capability in Xcode (Signing & Capabilities)
  2. Add NSHomeKitUsageDescription to Info.plist:
<key>NSHomeKitUsageDescription</key>
<string>This app controls your smart home accessories.</string>

MatterSupport Configuration

For Matter commissioning into your own ecosystem:

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1dpearson2699 avataraccessorysetupkitdpearson2699/swift-ios-skillsDiscover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving accessory picker, defining discovery de3.2Kskills.sh installs
2dpearson2699 avatarcallkitdpearson2699/swift-ios-skillsImplement VoIP calling with CallKit and PushKit. Use when building incoming/outgoing call flows, registering for VoIP push notifications, configuring CXProvider3.2Kskills.sh installs
3dpearson2699 avatarcryptotokenkitdpearson2699/swift-ios-skillsAccess security tokens and smart cards using CryptoTokenKit. Use when building TKTokenDriver or TKSmartCardTokenDriver extensions, communicating with smart card3.2Kskills.sh installs
4dpearson2699 avatarfinancekitdpearson2699/swift-ios-skillsAccess eligible Wallet financial data using FinanceKit and FinanceKitUI. Use when querying transactions or balances, reading Apple Card, Apple Cash, Savings, or3.2Kskills.sh installs
5dpearson2699 avataraudioaccessorykitdpearson2699/swift-ios-skillsSupport automatic audio switching for paired third-party Bluetooth headphones or earbuds with AudioAccessoryKit. Use when a companion app registers an audio acc3.2Kskills.sh installs
6dpearson2699 avatardockkitdpearson2699/swift-ios-skillsControl motorized camera docks and enable intelligent subject tracking using DockKit. Use when discovering DockKit-compatible accessories, implementing camera s3.2Kskills.sh installs