homekit

Manage HomeKit accessories and commission Matter devices with extension handlers.

Updated May 10, 2026
One-click install
npx skills add https://github.com/FelixRauch/medat-figuren --skill homekit-felixrauch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: homekit
Source: https://github.com/FelixRauch/medat-figuren/tree/main/.agents/skills/homekit
Command: npx skills add https://github.com/FelixRauch/medat-figuren --skill homekit-felixrauch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you programmatically control and manage HomeKit smart-home accessories and commission Matter devices so your app can read and write device state reliably.

Core Features & Use Cases

  • Home/Room/Accessory Data Model: Build the correct hierarchy for homes, rooms, accessories, services, and characteristics.
  • Read/Write Characteristics with Updates: Access characteristic values, write new target values, and receive real-time updates via delegate callbacks.
  • Action Sets & Triggers: Create scenes (action sets) and run them using timer or event triggers.
  • Matter Commissioning via MatterSupport: Perform device pairing/commissioning into your ecosystem using the MatterSupport flow and an extension request handler.

Quick Start

Ask the AI to guide you to enable HomeKit and MatterSupport in Xcode, then implement authorization, create a HomeStore with HMHomeManagerDelegate, and add Matter commissioning using MatterAddDeviceRequest.

Frequently Asked Questions about homekit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I commission Matter devices into a HomeKit app?

To commission Matter devices, use MatterAddDeviceRequest to initiate pairing and implement a MatterAddDeviceExtensionRequestHandler to process the commissioning callbacks into your HomeKit ecosystem.

How do I read and write HomeKit characteristic values with real-time updates?

Read and write HomeKit characteristic values by accessing the characteristic object, setting target values, and receiving real-time state updates via properly wired delegate callbacks.

How do I create and run HomeKit scenes using action sets and triggers?

Create HomeKit scenes by building action sets with target characteristic values, then execute them using timer triggers or event triggers that evaluate conditions and run the sets automatically.

What authorization is required to manage HomeKit accessories in a SwiftUI app?

Managing HomeKit accessories requires HMHomeManager authorization handling, proper delegate wiring via HMHomeManagerDelegate, and enabling the HomeKit capability in your Xcode project configuration.

Can I use MatterSupport to pair smart home devices without a separate companion app?

Yes, MatterSupport enables device pairing and commissioning directly within your app's ecosystem by presenting the MatterAddDeviceRequest flow and handling the extension request callback.

How is the HomeKit data model structured for homes, rooms, and accessories?

The HomeKit data model builds a top-down hierarchy starting with homes, which contain rooms, accessories, services, and characteristics to organize and control your smart home devices.