implement-service-state

Community

Add reactive state for Sonos services.

Authortatimblin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of integrating new Sonos services into the reactive state management system, ensuring properties are correctly defined, decoded, and stored.

Core Features & Use Cases

  • Property Definition: Define Rust structs for service properties, implementing necessary traits for state management.
  • Event Decoding: Implement logic to translate raw Sonos event data into typed property changes.
  • State Integration: Wire decoded property changes into the sonos-state system for real-time updates.
  • Use Case: When a new Sonos service like 'MusicServices' is added, this Skill helps define its properties (e.g., 'service_status', 'available_features'), create decoders for incoming events, and integrate them into the speaker's state.

Quick Start

Use the implement-service-state skill to define property types and implement decoders for a new Sonos service.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: implement-service-state
Download link: https://github.com/tatimblin/sonos-sdk/archive/main.zip#implement-service-state

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.