swiftui-ssot

Official

SSOT guidelines for SwiftUI state management.

Authorxtone
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SwiftUI apps often suffer from duplicated or inconsistent state across views. This Skill provides a structured SSOT (Single Source of Truth) framework to centralize state ownership, ensure unidirectional data flow, and guide architects and reviewers in selecting the right property wrappers and patterns.

Core Features & Use Cases

  • SSOT framework for state ownership, derived state, and one-way data flow in SwiftUI.
  • Guidance on selecting property wrappers (@State, @Binding, @StateObject, @ObservedObject, @EnvironmentObject) based on ownership.
  • Review checklists and anti-patterns to fix state duplication and promote maintainable architectures.
  • Reference material in references/ssot.md with practical examples and edge cases.

Quick Start

Review references/ssot.md to understand the SSOT pillars, then apply the recommended patterns by lifting shared state to a common owner and preferring bindings over duplicate local state.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-ssot
Download link: https://github.com/xtone/ai_development_tools/archive/main.zip#swiftui-ssot

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.