This skill helps Swift developers model observable state with @Observable and manage change tracking for SwiftUI and async observers.
npx playbooks add skill nonameplum/agent-skills --skill swift-observation
swift-observation/observation.md for full API details and examples.@Observable, withObservationTracking, ObservationRegistrar, Observations, and ObservationIgnored.swift-observation/observations_pre_iOS_26_backport.md for availability notes and backport discussion.swift-observation/Observation/ source files to inspect the Observations implementation and any supporting runtime pieces when evaluating backport feasibility.@Observable to make models observable; do not conform to Observable manually.withObservationTracking to define the dependency set.ObservationIgnored for properties that should not trigger updates.Observations when you need async change streams.@Observable models as the source of truth and let the view read the properties it needs.withObservationTracking for non-SwiftUI rendering or custom observers.Observations is available on iOS 26+; plan for fallbacks on earlier OSes.swift-observation/observations_pre_iOS_26_backport.md for options and caveats.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.