[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KCKWZNT8P6K5SYXE1YAT9E":3,"skill-same:01M6KCKWZNT8P6K5SYXE1YAT9E":70},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6KCKWZNT8P6K5SYXE1YAT9E","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.","ArisGuimera\u002FMobiAI-Core","ArisGuimera","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16361358?v=4","01M6KC5MVGRKDA14DWT98445V9","AristiDevs","01M6KC5MZKRFFHFFD340B21YN3",493,"MIT","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"mobiai ios architecture","architecture","ios","ios architecture","patterns","features","Existing","codebase","changes","understand","project","structure","codex","use","cursor","find","refactoring","code","copilot","project structure","2026-11-10 10:12:30",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":44,"description":7,"compatibility":45},[21],[46,33,37,31],"claude-code","main","2edc6ac1cde2cc280ae0388aa8072902d2e230d5","skills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture",14,"https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core","https:\u002F\u002Fgithub.com\u002FArisGuimera","https:\u002F\u002Faristi.dev","⭐️ GitHub Star\r\n📲 Mobile developer\r\n🎥 Te enseño a programar apps en Youtube (AristiDevs)\r\n✍🏻 Y por escrito en CursoKotlin.com\r\n❤️ Kotlin Fanboy\r\n👇👇👇👇","2026-11-13 22:28:09",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-ios-architecture",{"tool":62,"command":63},"bunx","bunx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-ios-architecture",{"tool":65,"command":66},"pnpm","pnpm dlx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-ios-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture\u002FSKILL.md",true,[],[71,89,101,118,136,150],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":39},"01M6KCMR2WVBEC7T0YY4J2SCAR","mobiai-react-native","Use when working on a React Native project — building, testing, debugging, understanding navigation and state management.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Freact-native\u002Fskills\u002Fmobiai-react-native\u002FSKILL.md",[],[78,79,80,81,82,31,37,83,84,36,85,86,33,32,87,88,46,29],"react","react native","native","mobiai react native","testing","debugging","state management","state","management","navigation","react-native",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"01M6KCMKFC3DKFW5B2208SM59W","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\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fkmp\u002Fskills\u002Fmobiai-kmp\u002FSKILL.md",[],[96,82,31,37,36,97,98,33,32,46,99,29,100],"mobiai kmp","kotlin","kotlin multiplatform","shared","platform",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6KCMEC4YP1FFAX4ZX80Q10R","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\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-testing\u002FSKILL.md",[],[82,21,108,109,110,31,111,37,36,112,113,114,33,115,32,46,29,116,117],"ios testing","mobiai ios testing","writing","unit tests","framework","running tests","ui","snapshot","tests","unit",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"01M6KCM78C8P9R6X78EZCQ0YF9","mobiai-ios-device","Use when interacting with an iOS Simulator — run simctl commands, capture screenshots, read device logs, manage simulators.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-device\u002FSKILL.md",[],[21,125,126,127,31,37,128,36,129,130,131,33,32,132,133,46,134,135],"device","mobiai ios device","screenshots","run","logs","capture","read","manage","ios simulator","commands","with",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M6KCM2HE6Z1B7WREJ9DTKKWA","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\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-build\u002FSKILL.md",[],[21,143,144,145,31,37,36,146,33,32,147,46,29,135,148,149],"build","ios build","mobiai ios build","troubleshooting","dependencies","spm","cocoapods",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M6KCKBZ4CGTMW6GCAZW54QRM","mobiai-flutter","Use when working on a Flutter or Dart project — building, testing, debugging, understanding state management and project structure.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fflutter\u002Fskills\u002Fmobiai-flutter\u002FSKILL.md",[],[157,158,82,31,38,37,83,84,36,85,159,86,33,32,30,46,29],"flutter","mobiai flutter","dart"]