Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
xtone avatar

Swiftui Ssot

  • 10 installs
  • 3 repo stars
  • Updated June 5, 2026
  • xtone/ai_development_tools

Helps with ai & agent building tasks.

About

swiftui-ssot is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • swiftui-ssot
  • AI & Agent Building
  • AI-coding skill

Swiftui Ssot by the numbers

  • 10 all-time installs (skills.sh)
  • +1 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #11,937 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 27, 2026 (Skillselion catalog sync)
npx skills add https://github.com/xtone/ai_development_tools --skill swiftui-ssot

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs10
repo stars3
Last updatedJune 5, 2026
Repositoryxtone/ai_development_tools

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

SwiftUI SSOT (Single Source of Truth)

SwiftUIにおける状態管理とSSOT原則の包括的ガイド。

ディレクトリ構成

swiftui-ssot/
├── SKILL.md (このファイル)
└── references/
    └── ssot.md

リファレンスファイル

references/ssot.md

Single Source of Truth(SSOT)の包括的ガイド:

  • SSOTの3つの柱: 唯一の情報源、導出状態、単方向データフロー
  • Property Wrapper選択フローチャート: @State/@Binding/@StateObject/@ObservedObject/@EnvironmentObject
  • パターン別ガイド:
  • 状態重複の解消
  • 導出状態(Computed Property)
  • State Lifting(状態の持ち上げ)
  • 兄弟View間通信
  • EnvironmentObjectの適切な使用
  • 違反検出方法: コードスメル、検索パターン
  • iOS 17+ @ObservableでのSSO実装
  • レビューチェックリスト

使用方法

状態設計時

1. references/ssot.mdのProperty Wrapper選択フローチャートを参照 2. データの所有者を明確化 3. 導出可能な状態は持たない

状態関連の問題発生時

1. references/ssot.mdの違反パターンを確認 2. 該当するパターンの解決策を適用

PRレビュー時

1. references/ssot.mdのレビューチェックリストを使用

SSOT 3つの柱

1. 唯一の情報源: 各データは1箇所でのみ管理 2. 導出状態: 他の状態から計算可能なものは持たない 3. 単方向データフロー: 親→子へデータを渡し、子→親へはアクション

Property Wrapper 選択ガイド

状況推奨
View内のローカル状態@State
親から受け取る値(読み書き)@Binding
Viewが所有するObservableObject@StateObject
外部から注入されるObservableObject@ObservedObject
アプリ全体で共有@EnvironmentObject
iOS 17+@Observable + @Bindable

関連スキル

  • swiftui-coding-guidelines: 基本的なベストプラクティス
  • swift-ios-migration: iOS 17 @Observable移行

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.