swift-app-structure

Design iOS/watchOS app architecture with SwiftUI, SPM, and dependency injection.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill swift-app-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swift-app-structure
Source: https://github.com/ai-enhanced-engineer/aiee-skills/tree/main/skills/swift-app-structure
Command: npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill swift-app-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit addresses the challenges of designing and implementing complex iOS/watchOS applications by providing guidance on navigation, dependency injection, modularization with SPM, and the choice between TCA and vanilla SwiftUI.

Core Features & Use Cases

  • Navigation Architecture: Implementing navigation with NavigationStack and coordinators.
  • Dependency Injection: Setting up dependency injection without third-party frameworks.
  • Modularization: Organizing multi-target projects with Swift Package Manager (SPM).
  • TCA vs. Vanilla SwiftUI: Choosing the right architecture for state management.
  • Use Case: A developer designing an iOS app that requires a robust navigation structure and efficient state management.

Quick Start

To begin, review the swift-app-structure skill for strategies on structuring your iOS/watchOS app.

Frequently Asked Questions about swift-app-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure iOS app architecture with Swift Package Manager for multi-target projects?

Structuring iOS app architecture with Swift Package Manager involves organizing multi-target projects into modular packages, enabling efficient dependency injection and separation of concerns. This Skill guides you through implementing modularization strategies for iOS/watchOS targets.

What is the best way to implement SwiftUI navigation with coordinators and NavigationStack?

SwiftUI navigation with coordinators and NavigationStack provides a robust architecture for managing complex view hierarchies. This Skill offers strategies to implement navigation structures that scale effectively across iOS and watchOS applications.

Should I choose The Composable Architecture or vanilla SwiftUI for state management?

Choosing between The Composable Architecture and vanilla SwiftUI depends on your state management complexity. This Skill provides guidance on evaluating both approaches to select the right architecture for your iOS application requirements.

Can I set up dependency injection in SwiftUI without third-party frameworks?

Setting up dependency injection in SwiftUI without third-party frameworks is possible using modern Swift features. This Skill demonstrates how to configure dependency injection natively, reducing external dependencies in your iOS app architecture.

How do I modularize an iOS and watchOS app with Swift Package Manager?

Modularizing an iOS and watchOS app with Swift Package Manager requires breaking your codebase into separate, reusable packages. This Skill provides implementation patterns for organizing multi-target projects using SPM.