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-codeInstalls 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 Data Model
- Managing Accessories
- Reading and Writing Characteristics
- Action Sets and Triggers
- Matter Commissioning
- MatterAddDeviceExtensionRequestHandler
- Common Mistakes
- Review Checklist
- References
Setup
HomeKit Configuration
- Enable the HomeKit capability in Xcode (Signing & Capabilities)
- Add
NSHomeKitUsageDescriptionto 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- Accessorysetupkit3.2K
- Callkit3.2K
- Cryptotokenkit3.2K
- Financekit3.2K
- Adattributionkit3.2K
- Paperkit3.2K
- Passkit3.2K
- Audioaccessorykit3.2K
- Dockkit3.2K
- Browserenginekit3.2K
- Appmigrationkit3.2K
- Relevancekit3.2K
- Sensorkit3.2K
- Swift Security3.2K
- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- Swiftlint2.9K
- Swift Formatstyle2.8K
- Core Data2.8K
- Focus Engine2.8K
- Ios Security1.1K
- Live Activities465
- Mapkit Location461
