Sota Mobile 标志

Sota Mobile

社区
martinholovsky
sota-mobile

适用于构建和审计 iOS 与 Android 应用的前沿移动工程规范。任务涉及任何形式的移动应用时均可使用,包括原生开发(Swift、SwiftUI、Kotlin、Jetpack Compose)、跨平台开发(React Native、Flutter、Kotlin Multiplatform)、应用商店提交与审核(App Store、Google Play、隐私清单、数据安全)、推送通知(APNs、FCM)、离线优先架构与同步、移动安全(Keychain、Keystore、证书固定、应用证明、OWASP MASVS)、移动性能(启动、卡顿、电池、应用大小)或移动发布运维(分阶段推出、功能开关、强制更新、崩溃报告、OTA 更新)。触发关键词:mobile、iOS、Android、Swift、SwiftUI、Kotlin、Jetpack Compose、React Native、Flutter、app store、push notifications、offline-first。Swift 语言无论用于哪个目标平台,都应使用 `sota-swift`。

概览

发布者martinholovsky
代码仓库SOTA-skills
技能名称sota-mobile
星标数
28
复刻数
3
附带文件
7
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 martinholovsky 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Sota Mobile AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/martinholovsky/SOTA-skills/tree/main/skills/sota-mobile
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/martinholovsky/SOTA-skills.git /tmp/SOTA-skills
mkdir -p .claude/skills
cp -r /tmp/SOTA-skills/skills/sota-mobile .claude/skills/sota-mobile
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Sota Mobile,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Sota Mobile。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Sota Mobile 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

SOTA Mobile Engineering

Purpose

Expert-level rules for building new mobile apps and auditing existing ones. Mobile is unlike web or backend in three load-bearing ways, and every rule in this skill flows from them:

  1. You cannot roll back a shipped binary. Users update on their own schedule; some never do. Every release is permanent for some cohort. Design for kill switches, forced updates, and servers that tolerate ancient clients.
  2. The device is hostile territory. The attacker owns the hardware, can decompile the binary, and can read anything you store insecurely. Client-side checks are deterrents, not controls; enforcement lives on the server.
  3. Resources are budgeted, not abundant. Main thread, battery, memory, radio, and background execution time are all rationed by the OS. Apps that overspend get janked, killed, or throttled.

Facts in this skill (OS versions, store policies, framework status) were verified against primary sources in June 2026. Mobile platforms move fast — when a specific deadline or version matters, re-verify against Apple/Google developer docs before relying on it.

BUILD mode

When creating or extending a mobile app:

  1. Settle the platform decision first. Stack choice (native vs cross-platform), minimum OS floor, and target SDK are one-way doors. Use rules/01 decision factors; record the decision and its rationale in the repo. Native iOS in Swift: rules/07 for the language layer of app code.
  2. Establish architecture before features. Unidirectional data flow, DI seams, module boundaries, and navigation pattern from day one (rules/02). Retrofitting UDF onto a ball of mutable state is a rewrite.
  3. Decide the offline posture explicitly. "Online-only with graceful errors" is a valid choice; "accidentally breaks offline" is not. If offline-first: local DB is the source of truth, mutations queue, sync is a background concern (rules/03).
  4. Wire operational survival kit before v1.0 ships: crash reporting with symbol upload, forced-update mechanism, remote kill switches for risky features, API version header on every request (rules/06). These cannot be added retroactively for already-shipped binaries.
  5. Security defaults from the start: secrets in Keychain/Keystore only, TLS everywhere, deep links validated, WebView locked down (rules/04).
  6. Budget performance up front: cold start, frame time, and app size budgets in CI, not as a post-launch rescue (rules/05).
  7. Comply with current store requirements before first submission: privacy manifest + required-reason APIs (iOS), Data safety form + target API level + 16 KB page support + developer verification (Android) (rules/01, rules/06).

AUDIT mode

Coverage: every rules/ file's Audit checklist applies in AUDIT mode. Mark one not applicable only with its reason in the report — never skip a file because the thing it checks for is absent, since that absence may be the finding.

When auditing an existing mobile app, work through the rules files in order and report findings using this convention.

Severity levels

  • CRITICAL — Exploitable security flaw or guaranteed user-facing breakage: secrets in SharedPreferences/UserDefaults/NSUserDefaults, tokens in deep-link URLs, unvalidated deep links reaching auth-sensitive screens, javaScriptEnabled WebView loading untrusted content with a JS bridge, no forced-update mechanism plus a known-bad shipped version, biometric auth gating a boolean instead of a key.
  • HIGH — Likely production incident or store rejection: missing crash reporting/symbolication, blocking main thread on I/O, no kill switch for a server-dependent feature, store policy violations (missing privacy manifest entries, stale target API), unbounded silent-push reliance, sync without conflict resolution.
  • MEDIUM — Degrades quality or future velocity: no DI seams (untestable), monolithic module (slow builds), missing list virtualization, no startup budget, permission prompts fired at launch, no staged rollout process.
  • LOW — Hygiene: missing snapshot tests, inconsistent navigation patterns, unbatched analytics, image caching misconfiguration.

Finding format

[SEVERITY] <rule-file>#<rule> — <one-line title>
Location: <file:line or module>
Evidence: <the offending code/config, quoted>
Impact: <what breaks, who exploits it, or what it costs>
Fix: <concrete change, with code where non-obvious>

Order the report by severity, then by blast radius. An audit that returns only style nits has failed — check the CRITICAL list above explicitly and state "verified absent" for each.

Rules index

FileCovers
rules/01-platform-and-stack.mdNative vs cross-platform decision, React Native new architecture, Flutter, KMP/CMP status, when web/PWA suffices, minimum OS floors, target SDK policy, current platform baselines
rules/02-architecture-and-state.mdUnidirectional data flow (MVVM/MVI/TCA), state modeling, dependency injection, modularization for build times, navigation patterns
rules/03-offline-background-push.mdOffline-first design, local DB as source of truth, sync engines, conflict resolution, mutation queues, optimistic UI, iOS background modes, WorkManager/Doze, APNs/FCM, token lifecycle, permission timing UX
rules/04-security.mdKeychain/Keystore, certificate pinning tradeoffs and trust anchors, biometrics gating keys, App Attest/Play Integrity (device and app verdicts), token handling, deep link validation, root/jailbreak detection honesty, WebView hardening, obfuscation reality and non-debuggable releases, store-submission permissions/entitlements and privacy manifests, app-private vs shared storage and file protection classes, integrity of locally stored data, clipboard leakage and UI masking, overlays/task hijacking, intents/broadcasts, ContentProvider/FileProvider exposure, biometric fallback and lock-screen checks, pinning mechanics and audit stance, anti-dynamic-analysis checks, native-library hardening, keyboards/extensions/App Intents/widgets, device identifiers, OWASP MASVS
rules/05-performance.mdStartup budgets, main-thread discipline, jank/frame budgets, list virtualization, image loading, memory pressure, battery, app size, ANR avoidance, MetricKit/Android vitals
rules/06-release-and-operations.mdStore submission requirements, phased rollouts, feature flags/kill switches, forced updates, crash reporting, OTA updates policy, API versioning for old clients, testing strategy
rules/07-swift-in-apps.mdSwift in an iOS/macOS app: main-actor isolation for UI modules, SwiftUI task lifetimes, UI leaks, suites that stay on XCTest. The language itself — concurrency, errors, ARC, unsafe code, SwiftPM — is sota-swift

Top 10 non-negotiables

  1. Secrets live in Keychain (iOS) or Keystore-backed encrypted storage (Android) — never in UserDefaults, SharedPreferences, plist files, or hardcoded in the binary. The binary is public; assume it is decompiled the day you ship.
  2. The server enforces; the client suggests. Any authorization, entitlement, price, or integrity decision made only client-side is a finding. Root detection, pinning, and obfuscation are deterrents that raise cost — never the control.
  3. Never block the main thread on I/O, parsing, or crypto. Main thread is for UI. Violations are jank on iOS and ANRs (and Play Store visibility penalties) on Android.
  4. Ship a forced-update mechanism in v1.0. A version-check endpoint plus a blocking upgrade screen. The release where you discover you need it is the release you cannot fix.
  5. Every risky or server-dependent feature ships behind a remotely controllable kill switch. You cannot roll back a binary; you can flip a flag.
  6. The API must tolerate every app version still in the wild. Version every client request; never remove or repurpose fields a shipped binary reads; test the oldest supported client in CI against new server releases.
  7. Offline is a designed state, not an error state. Local database as source of truth, queued mutations with idempotency keys, explicit conflict resolution. If you choose online-only, fail with designed UX, not spinners.
  8. Biometric auth must gate a cryptographic key, not a boolean. if (authenticated) { unlock() } is patchable with one Frida hook; a key released by the secure enclave/StrongBox is not.
  9. Crash reporting with symbol upload (dSYM/mapping) wired into CI before first release, with crash-free-session rate monitored per release and gates on staged rollout promotion.
  10. Meet current store requirements proactively: iOS — privacy manifests and required-reason API declarations (mandatory since May 2024), built with the latest required SDK (iOS 26 SDK as of April 28, 2026); Android — target API 36 by Aug 31, 2026, Data safety form accuracy, 16 KB page-size support (required for apps targeting Android 15+; Play blocks updates without it from Feb 1, 2027).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Sota Mobile AI 技能有什么作用?

适用于构建和审计 iOS 与 Android 应用的前沿移动工程规范。任务涉及任何形式的移动应用时均可使用,包括原生开发(Swift、SwiftUI、Kotlin、Jetpack Compose)、跨平台开发(React Native、Flutter、Kotlin Multiplatform)、应用商店提交与审核(App Store、Google Play、隐私清单、数据安全)、推送通知(APNs、FCM)、离线优先架构与同步、移动安全(Keychain、Keystore、证书固定、应用证明、OWASP MASVS)、移动性能(启动、卡顿、电池、应用大小)或移动发布运维(分阶段推出、功能开关、强制更新、崩溃报告、OTA 更新)。触发关键词:mobile、iOS、Android、Swift、SwiftUI、Kotlin、Jetpack Compose、React Native、Flutter、app store、push notifications、offline-first。Swift 语言无论用于哪个目标平台,都应使用 `sota-swift`。

为什么在 TypingMind 中使用 Sota Mobile?

因为您只需安装一次,就能搭配任何模型使用。Sota Mobile 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Sota Mobile?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/martinholovsky/SOTA-skills/tree/main/skills/sota-mobile。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Sota Mobile?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Sota Mobile 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Sota Mobile 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Sota Mobile AI 技能免费吗?

是的。martinholovsky 已在 GitHub 上根据 CC-BY-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇