[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77K2RMDB69MRJZA5V9EBJGQ":3,"skill-same:01M77K2RMDB69MRJZA5V9EBJGQ":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M77K2RMDB69MRJZA5V9EBJGQ","mobiai-ios-architecture",null,"Use when creating features, refactoring, or navigating an iOS codebase — understand project structure, find where to make changes, follow existing patterns.","AdriaanAt\u002FEcosystem-Manager","AdriaanAt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F170892248?v=4","01M77JXW5RB9W9WXQ7RS8ERQ6T","Adriaan","01M77JXW6V5MNR0P0F7D401Y7D",0,"MIT","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mobiai-ios-architecture\ndescription: Use when creating features, refactoring, or navigating an iOS codebase — understand project structure, find where to make changes, follow existing patterns.\nlicense: MIT\ncompatibility: [claude-code, cursor, copilot, codex]\nplatforms: [ios]\n---\n\n# iOS Architecture\n\n> **Community contribution welcome!** Help improve this skill with your architecture insights, patterns, and real-world examples.\n\nCommon architecture patterns in iOS apps.\n\n## When to Use\n\n- Navigating an unfamiliar iOS codebase\n- Understanding where to make changes\n- Writing code that follows existing patterns\n\n## Detecting the Architecture\n\n```bash\n# Check for SwiftUI vs UIKit\ngrep -r \"import SwiftUI\" --include=\"*.swift\" -l | wc -l\ngrep -r \"import UIKit\" --include=\"*.swift\" -l | wc -l\n\n# Check for architecture indicators\ngrep -r \"ViewModel\\|UseCase\\|Repository\\|Interactor\\|Presenter\\|Store\\|Reducer\" --include=\"*.swift\" -l | head -20\n\n# Check for Combine usage\ngrep -r \"import Combine\\|@Published\\|AnyPublisher\" --include=\"*.swift\" -l | wc -l\n\n# Check for TCA (The Composable Architecture)\ngrep -r \"import ComposableArchitecture\\|ReducerOf\\|Store\u003C\" --include=\"*.swift\" -l | head -10\n```\n\n## MVVM + SwiftUI (Most Common Modern Pattern)\n\n### Structure\n```\nFeature\u002F\n  Views\u002F\n    MyView.swift              # SwiftUI View\n    MyDetailView.swift\n  ViewModels\u002F\n    MyViewModel.swift         # ObservableObject with @Published\n  Models\u002F\n    MyModel.swift             # Data models\n  Services\u002F\n    MyService.swift           # API\u002Fdata access\n```\n\n### Patterns\n\n```swift\n\u002F\u002F ViewModel\n@MainActor\nclass MyViewModel: ObservableObject {\n    @Published var items: [Item] = []\n    @Published var isLoading = false\n    @Published var error: Error?\n\n    private let repository: ItemRepository\n\n    init(repository: ItemRepository) {\n        self.repository = repository\n    }\n\n    func loadItems() async {\n        isLoading = true\n        defer { isLoading = false }\n        do {\n            items = try await repository.fetchItems()\n        } catch {\n            self.error = error\n        }\n    }\n}\n\n\u002F\u002F View\nstruct MyView: View {\n    @StateObject private var viewModel = MyViewModel(repository: .live)\n\n    var body: some View {\n        List(viewModel.items) { item in\n            Text(item.name)\n        }\n        .task { await viewModel.loadItems() }\n    }\n}\n```\n\n## MVVM + UIKit + Combine\n\n### Structure\n```\nFeature\u002F\n  MyViewController.swift      # UIViewController\n  MyViewModel.swift           # ViewModel with Combine publishers\n  MyCoordinator.swift         # Navigation coordinator (optional)\n```\n\n### Patterns\n\n```swift\nclass MyViewModel {\n    @Published var items: [Item] = []\n\n    private let repository: ItemRepository\n    private var cancellables = Set\u003CAnyCancellable>()\n\n    func loadItems() {\n        repository.fetchItems()\n            .receive(on: DispatchQueue.main)\n            .sink(\n                receiveCompletion: { _ in },\n                receiveValue: { [weak self] items in\n                    self?.items = items\n                }\n            )\n            .store(in: &cancellables)\n    }\n}\n```\n\n## The Composable Architecture (TCA)\n\n### Structure\n```\nFeature\u002F\n  MyFeature.swift             # Reducer + State + Action\n  MyView.swift                # View with Store\n```\n\n### Patterns\n\n```swift\n@Reducer\nstruct MyFeature {\n    @ObservableState\n    struct State: Equatable {\n        var items: [Item] = []\n        var isLoading = false\n    }\n\n    enum Action {\n        case loadItems\n        case itemsLoaded([Item])\n    }\n\n    @Dependency(\\.itemClient) var itemClient\n\n    var body: some ReducerOf\u003CSelf> {\n        Reduce { state, action in\n            switch action {\n            case .loadItems:\n                state.isLoading = true\n                return .run { send in\n                    let items = try await itemClient.fetch()\n                    await send(.itemsLoaded(items))\n                }\n            case .itemsLoaded(let items):\n                state.isLoading = false\n                state.items = items\n                return .none\n            }\n        }\n    }\n}\n```\n\n## Clean Architecture (iOS)\n\n### Layer Structure\n```\nDomain\u002F\n  Entities\u002FItem.swift          # Business models\n  UseCases\u002FGetItemsUseCase.swift\n  Repositories\u002FItemRepository.swift  # Protocol\nData\u002F\n  Repositories\u002FItemRepositoryImpl.swift\n  Network\u002FItemAPI.swift\n  Persistence\u002FItemStore.swift\nPresentation\u002F\n  Scenes\u002FItemList\u002F\n    ItemListView.swift\n    ItemListViewModel.swift\n```\n\n## Navigation Patterns\n\n### NavigationStack (SwiftUI)\n```bash\ngrep -r \"NavigationStack\\|NavigationLink\\|navigationDestination\" --include=\"*.swift\" -l | head -10\n```\n\n### Coordinator Pattern (UIKit)\n```bash\ngrep -r \"Coordinator\\|protocol.*Coordinator\" --include=\"*.swift\" -l | head -10\n```\n\n### Router\n```bash\ngrep -r \"Router\\|protocol.*Router\" --include=\"*.swift\" -l | head -10\n```\n\n## Quick Code Navigation\n\n```bash\n# Find all ViewModels\ngrep -r \"class.*ViewModel\\|struct.*ViewModel\" --include=\"*.swift\" -l\n\n# Find all Views\u002FViewControllers\ngrep -r \"struct.*View.*:.*View\\|class.*ViewController\" --include=\"*.swift\" -l\n\n# Find dependency injection setup\ngrep -r \"@Environment\\|@EnvironmentObject\\|container.register\" --include=\"*.swift\" -l\n```\n\n---\n\n**Want to improve this skill?** Share your architecture patterns, navigation strategies, and real-world iOS expertise via a PR.\n","# iOS Architecture\n\n> **Community contribution welcome!** Help improve this skill with your architecture insights, patterns, and real-world examples.\n\nCommon architecture patterns in iOS apps.\n\n## When to Use\n\n- Navigating an unfamiliar iOS codebase\n- Understanding where to make changes\n- Writing code that follows existing patterns\n\n## Detecting the Architecture\n\n```bash\n# Check for SwiftUI vs UIKit\ngrep -r \"import SwiftUI\" --include=\"*.swift\" -l | wc -l\ngrep -r \"import UIKit\" --include=\"*.swift\" -l | wc -l\n\n# Check for architecture indicators\ngrep -r \"ViewModel\\|UseCase\\|Repository\\|Interactor\\|Presenter\\|Store\\|Reducer\" --include=\"*.swift\" -l | head -20\n\n# Check for Combine usage\ngrep -r \"import Combine\\|@Published\\|AnyPublisher\" --include=\"*.swift\" -l | wc -l\n\n# Check for TCA (The Composable Architecture)\ngrep -r \"import ComposableArchitecture\\|ReducerOf\\|Store\u003C\" --include=\"*.swift\" -l | head -10\n```\n\n## MVVM + SwiftUI (Most Common Modern Pattern)\n\n### Structure\n```\nFeature\u002F\n  Views\u002F\n    MyView.swift              # SwiftUI View\n    MyDetailView.swift\n  ViewModels\u002F\n    MyViewModel.swift         # ObservableObject with @Published\n  Models\u002F\n    MyModel.swift             # Data models\n  Services\u002F\n    MyService.swift           # API\u002Fdata access\n```\n\n### Patterns\n\n```swift\n\u002F\u002F ViewModel\n@MainActor\nclass MyViewModel: ObservableObject {\n    @Published var items: [Item] = []\n    @Published var isLoading = false\n    @Published var error: Error?\n\n    private let repository: ItemRepository\n\n    init(repository: ItemRepository) {\n        self.repository = repository\n    }\n\n    func loadItems() async {\n        isLoading = true\n        defer { isLoading = false }\n        do {\n            items = try await repository.fetchItems()\n        } catch {\n            self.error = error\n        }\n    }\n}\n\n\u002F\u002F View\nstruct MyView: View {\n    @StateObject private var viewModel = MyViewModel(repository: .live)\n\n    var body: some View {\n        List(viewModel.items) { item in\n            Text(item.name)\n        }\n        .task { await viewModel.loadItems() }\n    }\n}\n```\n\n## MVVM + UIKit + Combine\n\n### Structure\n```\nFeature\u002F\n  MyViewController.swift      # UIViewController\n  MyViewModel.swift           # ViewModel with Combine publishers\n  MyCoordinator.swift         # Navigation coordinator (optional)\n```\n\n### Patterns\n\n```swift\nclass MyViewModel {\n    @Published var items: [Item] = []\n\n    private let repository: ItemRepository\n    private var cancellables = Set\u003CAnyCancellable>()\n\n    func loadItems() {\n        repository.fetchItems()\n            .receive(on: DispatchQueue.main)\n            .sink(\n                receiveCompletion: { _ in },\n                receiveValue: { [weak self] items in\n                    self?.items = items\n                }\n            )\n            .store(in: &cancellables)\n    }\n}\n```\n\n## The Composable Architecture (TCA)\n\n### Structure\n```\nFeature\u002F\n  MyFeature.swift             # Reducer + State + Action\n  MyView.swift                # View with Store\n```\n\n### Patterns\n\n```swift\n@Reducer\nstruct MyFeature {\n    @ObservableState\n    struct State: Equatable {\n        var items: [Item] = []\n        var isLoading = false\n    }\n\n    enum Action {\n        case loadItems\n        case itemsLoaded([Item])\n    }\n\n    @Dependency(\\.itemClient) var itemClient\n\n    var body: some ReducerOf\u003CSelf> {\n        Reduce { state, action in\n            switch action {\n            case .loadItems:\n                state.isLoading = true\n                return .run { send in\n                    let items = try await itemClient.fetch()\n                    await send(.itemsLoaded(items))\n                }\n            case .itemsLoaded(let items):\n                state.isLoading = false\n                state.items = items\n                return .none\n            }\n        }\n    }\n}\n```\n\n## Clean Architecture (iOS)\n\n### Layer Structure\n```\nDomain\u002F\n  Entities\u002FItem.swift          # Business models\n  UseCases\u002FGetItemsUseCase.swift\n  Repositories\u002FItemRepository.swift  # Protocol\nData\u002F\n  Repositories\u002FItemRepositoryImpl.swift\n  Network\u002FItemAPI.swift\n  Persistence\u002FItemStore.swift\nPresentation\u002F\n  Scenes\u002FItemList\u002F\n    ItemListView.swift\n    ItemListViewModel.swift\n```\n\n## Navigation Patterns\n\n### NavigationStack (SwiftUI)\n```bash\ngrep -r \"NavigationStack\\|NavigationLink\\|navigationDestination\" --include=\"*.swift\" -l | head -10\n```\n\n### Coordinator Pattern (UIKit)\n```bash\ngrep -r \"Coordinator\\|protocol.*Coordinator\" --include=\"*.swift\" -l | head -10\n```\n\n### Router\n```bash\ngrep -r \"Router\\|protocol.*Router\" --include=\"*.swift\" -l | head -10\n```\n\n## Quick Code Navigation\n\n```bash\n# Find all ViewModels\ngrep -r \"class.*ViewModel\\|struct.*ViewModel\" --include=\"*.swift\" -l\n\n# Find all Views\u002FViewControllers\ngrep -r \"struct.*View.*:.*View\\|class.*ViewController\" --include=\"*.swift\" -l\n\n# Find dependency injection setup\ngrep -r \"@Environment\\|@EnvironmentObject\\|container.register\" --include=\"*.swift\" -l\n```\n\n---\n\n**Want to improve this skill?** Share your architecture patterns, navigation strategies, and real-world iOS expertise via a PR.\n",{"name":5,"license":15,"platforms":24,"description":7,"compatibility":26},[25],"ios",[27,28,29,30],"claude-code","cursor","copilot","codex","main","22db61fe1bb777d1dbf1c3bce1003b60399be288","skills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager","https:\u002F\u002Fgithub.com\u002FAdriaanAt","Fun Funny and Insane.","2026-07-10 13:36:44",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add AdriaanAt\u002FEcosystem-Manager --skill mobiai-ios-architecture",{"tool":44,"command":45},"bunx","bunx skills add AdriaanAt\u002FEcosystem-Manager --skill mobiai-ios-architecture",{"tool":47,"command":48},"pnpm","pnpm dlx skills add AdriaanAt\u002FEcosystem-Manager --skill mobiai-ios-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture\u002FSKILL.md",true,[],[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M77K38CDKWPD7Q6G1DQ0CXBX","mobiai-react-native","Use when working on a React Native project — building, testing, debugging, understanding navigation and state management.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Freact-native\u002Fskills\u002Fmobiai-react-native\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M77K35JEE16T3ED4GRTVBRFY","mobiai-kmp","Use when working on a Kotlin Multiplatform project — shared code, expect\u002Factual declarations, platform-specific implementations, building and testing.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fkmp\u002Fskills\u002Fmobiai-kmp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77K31WB8FTX6MH5J9X7HDD8","mobiai-ios-testing","Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-testing\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M77K2XYFPQ48R3Z31F3W6RRK","mobiai-ios-device","Use when interacting with an iOS Simulator — run simctl commands, capture screenshots, read device logs, manage simulators.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-device\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M77K2VGTE59KQDMBVRAQ22CN","mobiai-ios-build","Use when building an iOS project, configuring schemes, troubleshooting build failures, or managing dependencies with CocoaPods or SPM.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-build\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M77K2MQKKCJJ3AZH3BR7ES84","mobiai-flutter","Use when working on a Flutter or Dart project — building, testing, debugging, understanding state management and project structure.","https:\u002F\u002Fgithub.com\u002FAdriaanAt\u002FEcosystem-Manager\u002Fblob\u002Fmain\u002Fskills\u002Fflutter\u002Fskills\u002Fmobiai-flutter\u002FSKILL.md",[],[]]