What problem does it solve?
This Skill streamlines the process of creating and updating Matter clusters in C++, enabling developers to define, implement, and integrate new cluster functionalities efficiently.
Core Features & Use Cases
- Code-Driven Cluster Implementation: Write C++ classes that implement
ServerClusterInterface for new Matter clusters.
- XML Definition & Code Generation: Utilize XML definitions and run code generation scripts to build cluster logic.
- Build System Integration: Integrate new clusters into the project's build system using
BUILD.gn and CMake files.
- Migration Assistance: Provides guidance on migrating existing Ember-based clusters to the modern code-driven pattern.
- Use Case: When developing a new smart home device that requires custom functionality, use this Skill to define and implement the corresponding Matter cluster within the SDK.
Quick Start
Use the writing-clusters skill to create a new Matter cluster by defining its XML and implementing the C++ ServerClusterInterface.