swiftui-integration
CommunityReactive SwiftUI UIs with Trebuchet remote actors
Software Engineering#state-management#swiftui#multi-server#reconnection#trebuchet#observed-actor#remote-actor
Authorbriannadoubt
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Trebuchet-powered SwiftUI apps often struggle to reliably connect to remote actors and reflect remote state in the UI. This Skill addresses that by providing declarative patterns to manage observable connections, automatic reconnection, and consistent state updates across views.
Core Features & Use Cases
- Declarative connection management: Observe and react to remote actor state with @RemoteActor, @ObservedActor, and RemoteActorView.
- Multi-server readiness: Seamlessly switch between named connections to support complex app architectures.
- Resilient UI updates: Automatic reconnection with configurable policies to keep the UI in sync during network disruptions.
Quick Start
Use this Skill to wire Trebuchet into your SwiftUI app and begin observing remote actor state.
- How do I connect a SwiftUI app to Trebuchet and display remote actor state?
- Focus on applying the .trebuchet() modifier at app root and declaring a @RemoteActor in your view.
- Additional setup: ensure Trebuchet is added as a Swift package and configure a reconnection policy if needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: swiftui-integration Download link: https://github.com/briannadoubt/trebuchet-plugin/archive/main.zip#swiftui-integration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.