← ClaudeAtlas

arch-modular-tmalisted

Modular / TMA (The Modular Architecture) — each feature is a Tuist or SPM module with Interface, Sources, Tests, Example targets. Orthogonal to in-module pattern (MVVM, TCA, etc.). Use for medium-to-large teams (≥5 devs or ≥30 screens).
kbelasheuski/ios-architecture-skills · ★ 0 · Web & Frontend · score 72
Install: claude install-skill kbelasheuski/ios-architecture-skills
# Modular / TMA (The Modular Architecture) **Source references:** - Tuist, *The Modular Architecture* — https://docs.tuist.dev/en/guides/develop/projects/tma-architecture - tuist/microfeatures-example — https://github.com/tuist/microfeatures-example - ronanociosoig/Tuist-Pokedex — https://github.com/ronanociosoig/Tuist-Pokedex - Apple, *Bundling Resources with a Swift Package* — https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package This pattern is **orthogonal** to in-module pattern. Inside each module pick MVVM, Clean, TCA, etc. ## When to use - Team ≥ 5 engineers, or codebase ≥ 30 screens. - Builds slowing past 2 min per incremental change. - Multiple teams owning distinct verticals. - LLM-agent-heavy workflow (small files, predictable boundaries). ## Folder structure (Tuist) ``` Workspace.swift Tuist/ Config.swift ProjectDescriptionHelpers/ Project+Templates.swift Projects/ App/ Sources/UsersApp.swift Project.swift Core/ Networking/ Interface/Sources/NetworkingInterface.swift Sources/Networking.swift Tests/NetworkingTests/NetworkingTests.swift Project.swift DesignSystem/ Sources/DSColors.swift Sources/DSButtons.swift Project.swift Domain/ UserDomain/ Sources/User.swift Sources/UserRepository.swift Sources/UseCases/FetchUsersUseCase.swift Sources/UseCases/FetchUserUseCase.swift Sources/UseCases/UpdateUserUseCase.swift Tests/