Agent Skills: Modern SwiftUI Architecture

WHEN building SwiftUI views, managing state, setting up shared services, or making architectural decisions; NOT for UIKit or legacy patterns; provides pure SwiftUI data flow without ViewModels using @State, @Binding, @Observable, and @Environment.

UncategorizedID: mintuz/claude-plugins/swiftui-architecture

Install this agent skill to your local

pnpm dlx add-skill https://github.com/mintuz/claude-plugins/tree/HEAD/plugins/app/skills/swiftui-architecture

Skill Files

Browse the full folder contents for swiftui-architecture.

Download Skill

Loading file tree…

plugins/app/skills/swiftui-architecture/SKILL.md

Skill Metadata

Name
swiftui-architecture
Description
WHEN building SwiftUI views, managing state, setting up shared services, or making architectural decisions; NOT for UIKit or legacy patterns; provides pure SwiftUI data flow without ViewModels using @State, @Binding, @Observable, and @Environment.

Modern SwiftUI Architecture

Concise entry point for pure SwiftUI architecture without ViewModels. Use the references for patterns, examples, and edge cases.

Start Here

  • State management: references/state-management.md
  • Observable services: references/observable-patterns.md
  • Async work: references/async-patterns.md
  • Navigation: references/navigation-patterns.md
  • UI components: references/lists.md, references/scrollview.md, references/forms.md, references/grids.md, references/sheets.md, references/tabs.md
  • Anti-patterns: references/anti-patterns.md

Typical Flow

  1. Choose state ownership and data flow (references/state-management.md).
  2. Model shared logic as @Observable services (references/observable-patterns.md).
  3. Wire navigation with AppRouter (references/navigation-patterns.md).
  4. Build UI using component guides.
  5. Audit against anti-patterns (references/anti-patterns.md).