AGENT SKILL
mobile-stack-patterns
Apply mobile implementation patterns for React Native, Expo, Flutter, SwiftUI, Jetpack Compose, native modules, routing, state, data fetching, storage, offline behavior, and platform-specific code. Use when coding or reviewing mobile app architecture.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-14
- Stars
- ★ 19
- Forks
- 2
01 前言 Front Matter
- name
- mobile-stack-patterns
- description
- Apply mobile implementation patterns for React Native, Expo, Flutter, SwiftUI, Jetpack Compose, native modules, routing, state, data fetching, storage, offline behavior, and platform-specific code. Use when coding or reviewing mobile app architecture.
03 SKILL.md 正文
Mobile Stack Patterns
Use this skill when implementing or reviewing code in a mobile app repository.
Read references/mobile-platform-and-stack-guide.md for stack selection and
framework source notes. Read project files before recommending packages or APIs.
Workflow
- Detect the stack:
- Expo or React Native:
package.json,app.json,app.config.*,ios/,android/, Metro, Expo Router, React Navigation. - Flutter:
pubspec.yaml,lib/, platform folders, Flutter tests. - iOS native: Xcode project/workspace, Swift packages, SwiftUI/UIKit files.
- Android native: Gradle, Kotlin, Compose, AndroidManifest, modules.
- Expo or React Native:
- Respect existing conventions:
- routing/navigation;
- state management;
- styling/theming;
- data fetching and cache;
- error handling;
- test style.
- Design for mobile constraints:
- app lifecycle;
- background/foreground transitions;
- permissions;
- offline and retry;
- deep links;
- push notifications;
- storage and secure storage.
- Keep architecture practical:
- feature folders or platform modules where local style supports it;
- shared domain logic separated from view code when useful;
- native bridges isolated and tested;
- no broad rewrites for narrow UI tasks.
- Verify with available project checks.
Output
Return:
- detected stack and assumptions
- implementation changes or review findings
- platform-specific branches
- tests/checks run or missing
- remaining risks
04 同仓库更多 Skills
example-skill
暂无简介
★ 19
su-status
从 docs 人读真相源与 .ccb 协调件读取当前项目、Requirement 或子任务状态。
★ 19
su-revise-breakdown
根据用户反馈重写 Requirement breakdown draft。
★ 19
su-review
审查执行回执、diff 和验证证据,决定通过、返工、replan 或升级用户。
★ 19
su-resume
从 docs 人读真相源与 .ccb 协调件恢复 paused/deferred/in-progress 主体的上下文。
★ 19
su-reconcile
AI-native 自检 docs 人读真相源、.ccb 协调件与 Console 投影漂移,并按审批结果执行修复。
★ 19