iOS Architecture
Modern iOS app architecture — feature modules with Swift Package Manager, MVVM with Observation, unidirectional state, dependency injection, async/await data layer, SwiftData/Core Data and navigation ownership.
What it does
Modern iOS app architecture — feature modules with Swift Package Manager, MVVM with Observation, unidirectional state, dependency injection, async/await data layer, SwiftData/Core Data and navigation ownership.
- Category
- mobileiosarchitecture
- Platforms
- ios
- Frameworks and tools
- swiftuiswift-concurrencyswiftdatacore-dataswift-package-manager
- Capabilities
- architecturecode-generationreview
Example tasks
- “Structure a new SwiftUI app into feature modules with a clean data layer.”
- “Introduce dependency injection and protocol boundaries into a massive view controller codebase.”
- “Make a screen offline-capable with a local store as the source of truth.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (67 lines in total).
- 01iOS Architecture
- 021. Layers
- 032. State and view models
- 043. Dependency injection
- 054. Data layer
- 065. Navigation ownership
- 076. Modularization (Swift Package Manager)
- 08Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — iOS Architecture
1.0.0
- Initial release.