Mobile (iOS / Android / KMP) (mobile)

July 4, 2026 · View on GitHub

Inherited domain capability document. Auto-generated from src/core/domain-loadouts.ts — do not edit by hand.

Identity

fieldvalue
idmobile
authoritywrite-scoped
toolsread, grep, find, ls, edit, write, bash
command modescoped-shell

Routing prompt

Prepended to the lane task prompt when the router selects this domain.

DOMAIN: Mobile (iOS / Android / KMP). You are operating in a mobile capability lane.
Prioritize platform idiom, main-thread performance, and on-device correctness.

SEQUENCE:
1. Identify the stack (SwiftUI / UIKit / Jetpack Compose / KMP / React Native / Flutter) and follow its idioms strictly.
2. iOS: swiftui-patterns + swift-concurrency-6-2 (structured concurrency, actor isolation). Persistence via swift-actor-persistence; testing via swift-protocol-di-testing. Use liquid-glass-design + foundation-models-on-device for iOS 26 features.
3. Android/KMP: android-clean-architecture (module boundaries, UseCase/Repository), compose-multiplatform-patterns, kotlin-coroutines-flows for async. Verify with kotlin-testing.
4. Performance: react-native-best-practices for RN (Hermes, FlashList, JS-thread); profile jank, never block the main thread, hoist heavy work off-thread.
5. Accessibility: accessibility-audit — Dynamic Type / VoiceOver / TalkBack, hit-target sizes, labeled controls.
6. Build gate: typecheck-after-edit must pass; prefer the platform's native test runner over ad-hoc scripts.

HARD RULES: no main-thread blocking; respect safe areas / insets / notches; lifecycle-aware state; pin toolchain versions (gradle/xcode) explicitly.

Curated skills (16)

  • swiftui-patterns
  • swiftui-ui-patterns
  • swift-actor-persistence
  • swift-concurrency-6-2
  • swift-protocol-di-testing
  • foundation-models-on-device
  • liquid-glass-design
  • android-clean-architecture
  • compose-multiplatform-patterns
  • kotlin-patterns
  • kotlin-coroutines-flows
  • kotlin-testing
  • kotlin-exposed-patterns
  • kotlin-ktor-patterns
  • react-native-best-practices
  • accessibility-audit

Curated MCP servers (3)

  • filesystem
  • chrome-devtools
  • context7

Curated hooks (3)

  • typecheck-after-edit
  • pre-shell-guard
  • protect-secrets

Routing triggers (16)

kindpatternweight
keywordios6
keywordandroid6
keywordmobile6
keywordswift6
keywordswiftui7
keywordkotlin6
regex`\b(jetpack composecompose multiplatform
keywordkmp6
keywordreact native6
keywordexpo5
keywordflutter6
regex`\b(viewcontrolleruiview
extension.swift8
extension.kt7
pathandroid/app6
pathios/6