iOS Knowledge Skill – Architecture & Patterns
This skill equips agents with high-level iOS knowledge for the OS 7.0 iOS lane
without bloating individual agent prompts.
It is intended for:
ios-grand-architect
ios-architect
- Core iOS specialists (SwiftUI/UIKit/persistence/networking/testing/perf/security)
when they need architectural context.
Context7 Libraries
When you load this skill, you MAY use context7 MCP tools to read from:
os2-ios-architecture
- SwiftUI vs UIKit vs mixed stack guidance,
- MVVM/TCA/Clean patterns for iOS,
- Navigation, modularization, and dependency injection strategies.
os2-ios-standards
- Coding standards for the iOS lane,
- Error handling and logging patterns,
- Guidelines for concurrency, testing, and app structure.
/websites/developer_apple_swiftdata (via Context7)
- SwiftData models with @Model, @Relationship, cascade deletes
- Preferred over Core Data for iOS 17.0+ projects
- In-memory testing with ModelContainer
- Native, zero-dependency persistence
/ra1028/swiftui-atom-properties (via Context7)
- Atomic state management for complex cross-feature coordination
- StateAtom, ValueAtom, ObservableObjectAtom patterns
- Testing with AtomTestContext
- Compile-safe dependency injection
/pointfreeco/swift-navigation (via Context7)
- State-driven navigation with @CasePathable enums
- Sheet/modal presentation tied to model state
- Deep linking and state restoration
- Two-way bindings for navigation state
You SHOULD:
- Read only the sections relevant to the current task,
- Summarize 3–7 key constraints or patterns into your own working context,
- Avoid loading large example sections unless explicitly needed.
Usage Pattern
When planning an iOS task:
- Load
ios-knowledge-skill and skim the relevant context7 docs.
- Extract:
- Recommended UI stack (SwiftUI vs UIKit/TCA/MVVM),
- Data strategy hints (SwiftData vs Core Data/GRDB),
- Lane-specific constraints (design DNA/tokens, concurrency rules).
When writing phase_state.planning:
- Reflect these decisions in:
architecture_path,
data_strategy,
plan_summary.
When delegating to implementers/gates:
- Ensure the plan and assignment reflect the chosen patterns,
- Reference this skill implicitly (do not restate everything in agent prompts).
When planning data persistence (iOS 17.0+):
- Prefer SwiftData with @Model macro for new projects
- Use @Relationship(.cascade) for parent-child relationships
- Plan ModelContainer with isStoredInMemoryOnly for testing
- Consider SwiftData Query for reactive UI updates
When planning complex state management:
- Consider SwiftUI Atom Properties for cross-feature state coordination
- Use StateAtom for mutable state (replaces @State for shared state)
- Use ValueAtom for computed/derived values
- Use ObservableObjectAtom for complex objects
- Plan AtomTestContext tests for state logic
When planning navigation architecture:
- Consider Swift Navigation for state-driven navigation
- Model destinations as @CasePathable enums
- Tie sheet/modal/alert presentation to model state
- Plan for deep linking via URL → destination state mapping
- Use navigationDestination(item:) for push navigation
This skill is about progressive disclosure: give agents just enough iOS
architecture knowledge to make good decisions, while leaving detailed examples
and recipes in context7 where they can be fetched on demand.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: adilkalam-orca-ios-knowledge-skill3description: iOS Knowledge Skill – Architecture & Patterns4---56# iOS Knowledge Skill – Architecture & Patterns78This skill equips agents with high-level iOS knowledge for the OS 7.0 iOS lane9without bloating individual agent prompts.1011It is intended for:12- `ios-grand-architect`13- `ios-architect`14- Core iOS specialists (SwiftUI/UIKit/persistence/networking/testing/perf/security)15 when they need architectural context.1617## Context7 Libraries1819When you load this skill, you MAY use context7 MCP tools to read from:2021- `os2-ios-architecture`22 - SwiftUI vs UIKit vs mixed stack guidance,23 - MVVM/TCA/Clean patterns for iOS,24 - Navigation, modularization, and dependency injection strategies.2526- `os2-ios-standards`27 - Coding standards for the iOS lane,28 - Error handling and logging patterns,29 - Guidelines for concurrency, testing, and app structure.3031- `/websites/developer_apple_swiftdata` (via Context7)32 - SwiftData models with @Model, @Relationship, cascade deletes33 - Preferred over Core Data for iOS 17.0+ projects34 - In-memory testing with ModelContainer35 - Native, zero-dependency persistence3637- `/ra1028/swiftui-atom-properties` (via Context7)38 - Atomic state management for complex cross-feature coordination39 - StateAtom, ValueAtom, ObservableObjectAtom patterns40 - Testing with AtomTestContext41 - Compile-safe dependency injection4243- `/pointfreeco/swift-navigation` (via Context7)44 - State-driven navigation with @CasePathable enums45 - Sheet/modal presentation tied to model state46 - Deep linking and state restoration47 - Two-way bindings for navigation state4849You SHOULD:50- Read only the sections relevant to the current task,51- Summarize 3–7 key constraints or patterns into your own working context,52- Avoid loading large example sections unless explicitly needed.5354## Usage Pattern55561. When planning an iOS task:57 - Load `ios-knowledge-skill` and skim the relevant context7 docs.58 - Extract:59 - Recommended UI stack (SwiftUI vs UIKit/TCA/MVVM),60 - Data strategy hints (SwiftData vs Core Data/GRDB),61 - Lane-specific constraints (design DNA/tokens, concurrency rules).62632. When writing `phase_state.planning`:64 - Reflect these decisions in:65 - `architecture_path`,66 - `data_strategy`,67 - `plan_summary`.68693. When delegating to implementers/gates:70 - Ensure the plan and assignment reflect the chosen patterns,71 - Reference this skill implicitly (do not restate everything in agent prompts).72734. When planning data persistence (iOS 17.0+):74 - **Prefer SwiftData** with @Model macro for new projects75 - Use @Relationship(.cascade) for parent-child relationships76 - Plan ModelContainer with isStoredInMemoryOnly for testing77 - Consider SwiftData Query for reactive UI updates78795. When planning complex state management:80 - **Consider SwiftUI Atom Properties** for cross-feature state coordination81 - Use StateAtom for mutable state (replaces @State for shared state)82 - Use ValueAtom for computed/derived values83 - Use ObservableObjectAtom for complex objects84 - Plan AtomTestContext tests for state logic85866. When planning navigation architecture:87 - **Consider Swift Navigation** for state-driven navigation88 - Model destinations as @CasePathable enums89 - Tie sheet/modal/alert presentation to model state90 - Plan for deep linking via URL → destination state mapping91 - Use navigationDestination(item:) for push navigation9293This skill is about **progressive disclosure**: give agents just enough iOS94architecture knowledge to make good decisions, while leaving detailed examples95and recipes in context7 where they can be fetched on demand.9697---98> Converted and distributed by [TomeVault](https://tomevault.io/claim/adilkalam) — claim your Tome and manage your conversions.99<!-- tomevault:4.0:skill_md:2026-04-13 -->